RE: [RFC PATCH v2 0/7] libperf: Add interface for overflow check of sampling events
From: nakamura.shun@xxxxxxxxxxx
Date: Mon Apr 11 2022 - 04:25:11 EST
Hi jirka
Sorry for the late reply.
> >
> > Shunsuke Nakamura (7):
> > libperf tests: Fix typo in the error message
> > libperf: Move 'open_flags' from tools/perf to evsel::open_flags
> > libperf: Add perf_evsel__{refresh, period}() functions
> > libperf: Introduce perf_{evsel, evlist}__open_opt with extensible
> > struct opts
> > libperf: Add perf_evsel__check_overflow() functions
> > libperf test: Add test_stat_overflow()
> > libperf test: Add test_stat_overflow_event()
>
> I'm getting:
>
> [root@krava perf]# make tests
> running static:
> - running tests/test-cpumap.c...OK
> - running tests/test-threadmap.c...OK
> - running tests/test-evlist.c...OK
> - running tests/test-evsel.c...FAILED tests/test-evsel.c:286 failed to overflow
> count FAILED tests/test-evsel.c:286 failed to overflow count
> FAILED (2)
> FAILED tests/main.c:13 test evsel
> make: *** [Makefile:162: tests] Error 255
>
Thanks for telling me.
However, we could not reproduce the test failure in our environment.
Could you please tell me the results of your test with the addition of V=1?
Best Regards
Shunsuke