aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <[email protected]>2012-09-26 13:23:10 -0300
committerArnaldo Carvalho de Melo <[email protected]>2012-09-26 13:42:01 -0300
commiteb2f270338461a4de659a21946739748160c0816 (patch)
tree77e330fba386ef9b977afdac6c79fe14fcb19a80 /tools/perf/util/scripting-engines/trace-event-python.c
parente6b6f6795265ec19ff35572f527bb74c07ff9399 (diff)
perf test: Add test to check we correctly parse and match syscall open parms
It will set up a syscall open tracepoint event, generate an open with invalid flags, then check those flags were the ones reported in the tracepoint fired. For the filename we need vfs:getname, but that will go thru some more iterations as the vfs getname codebase is going thru changes lately. When that is in I'll just check that the perf_evsel__newtp constructor is not bailing out and then add it to the evlist, catch the event and check the filename against the one used in the 'open' call used to trigger the event. Cc: David Ahern <[email protected]> Cc: Eric Paris <[email protected]> Cc: Frederic Weisbecker <[email protected]> Cc: Jeff Layton <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Mike Galbraith <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Stephane Eranian <[email protected]> Link: http://lkml.kernel.org/n/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions