diff options
author | 2022-08-18 17:36:43 -0700 | |
---|---|---|
committer | 2022-08-19 15:56:44 -0300 | |
commit | 6d395a513556e61dc22c6abdf9b419deb46f1908 (patch) | |
tree | d054e9fe2430d3b6dce883afbaefa82563509427 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | libperf: Handle read format in perf_evsel__read() (diff) | |
download | wireguard-linux-6d395a513556e61dc22c6abdf9b419deb46f1908.tar.xz wireguard-linux-6d395a513556e61dc22c6abdf9b419deb46f1908.zip |
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>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions