linux-stable/tools/lib/perf/tests
Namhyung Kim 6d395a5135 libperf: Add a test case for read formats
It checks a various combination of the read format settings and verify
it return the value in a proper position.  The test uses task-clock
software events to guarantee it's always active and sets enabled/running
time.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Cc: Ian Rogers <irogers@google.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/r/20220819003644.508916-4-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2022-08-19 15:56:44 -03:00
..
Build libperf: Change tests to single static and shared binaries 2021-07-07 11:41:58 -03:00
main.c libperf: Change tests to single static and shared binaries 2021-07-07 11:41:58 -03:00
test-cpumap.c libperf: Fix perf_cpu_map__for_each_cpu macro 2022-02-16 13:49:25 -03:00
test-evlist.c libperf tests: Fix typo in perf_evlist__open() failure error messages 2022-03-26 10:55:57 -03:00
test-evsel.c libperf: Add a test case for read formats 2022-08-19 15:56:44 -03:00
test-threadmap.c libperf: Add API for allocating new thread map array 2022-02-23 14:40:23 -03:00
tests.h libperf: Change tests to single static and shared binaries 2021-07-07 11:41:58 -03:00