diff options
author | Jiri Olsa <[email protected]> | 2018-06-11 11:34:22 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2018-06-25 11:59:36 -0300 |
commit | 16ddcfbf7f3d07aa781e26b39f2c28636a4ed2fd (patch) | |
tree | 43a1bfc176a8681639f56b5058e4975f4fba9926 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 933ccf2002aaef1037cb676622a694f5390c3d59 (diff) |
perf tests: Add valid callback for parse-events test
Adding optional 'valid' callback for events tests in parse-events
object, so we don't try to parse PMUs, which are not supported.
Following line is displayed for skipped test:
running test 52 'intel_pt//u'... SKIP
Committer note:
Use named initializers in the struct evlist_test variable to avoid
breaking the build on centos:5, 6 and others with a similar gcc:
cc1: warnings being treated as errors
tests/parse-events.c: In function 'test_pmu_events':
tests/parse-events.c:1817: error: missing initializer
tests/parse-events.c:1817: error: (near initialization for 'e.type')
Signed-off-by: Jiri Olsa <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Heiko Carstens <[email protected]>
Cc: Hendrik Brueckner <[email protected]>
Cc: Kim Phillips <[email protected]>
Cc: Martin Schwidefsky <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Richter <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions