Thread (32 messages) flat view 32 messages, 5 authors, 2020-09-12

Re: [PATCH v2 2/5] perf record: Prevent override of attr->sample_period for libpfm4 events

From: Arnaldo Carvalho de Melo <acme@kernel.org>
Date: 2020-09-04 18:48:08
Also in: bpf, lkml

Em Fri, Sep 04, 2020 at 09:22:10AM -0700, Ian Rogers escreveu:
On Fri, Sep 4, 2020 at 9:03 AM Jiri Olsa [off-list ref] wrote:
quoted
On Thu, Sep 03, 2020 at 10:41:14PM -0700, Ian Rogers wrote:
quoted
On Wed, Jul 29, 2020 at 4:24 PM Ian Rogers [off-list ref] wrote:
quoted
On Tue, Jul 28, 2020 at 9:10 AM Jiri Olsa [off-list ref] wrote:
quoted
On Tue, Jul 28, 2020 at 05:59:46PM +0200, Jiri Olsa wrote:
quoted
On Tue, Jul 28, 2020 at 01:57:31AM -0700, Ian Rogers wrote:
[jolsa@krava perf]$ sudo ./perf test 17 -v
17: Setup struct perf_event_attr                          :
quoted
quoted
quoted
quoted
running './tests/attr/test-record-C0'
expected sample_period=4000, got 3000
FAILED './tests/attr/test-record-C0' - match failure
quoted
quoted
quoted
I'm not able to reproduce this. Do you have a build configuration or
something else to look at? The test doesn't seem obviously connected
with this patch.
quoted
quoted
Jiri, any update? Thanks,
quoted
sorry, I rebased and ran it again and it passes for me now,
so it got fixed along the way
No worries, thanks for the update! It'd be nice to land this and the
other libpfm fixes.
I applied it and it generated this regression:

FAILED '/home/acme/libexec/perf-core/tests/attr/test-record-pfm-period' - match failure

I'll look at the other patches that are pending in this regard to see
what needs to be squashed so that we don't break bisect.

- Arnaldo
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help