linux-sg2042/tools/perf
Arnaldo Carvalho de Melo eb2f270338 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 <dsahern@gmail.com>
Cc: Eric Paris <eparis@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jeff Layton <jlayton@redhat.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Namhyung Kim <namhyung@gmail.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-p5w9aq0jcbb91ghzqomowm16@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2012-09-26 13:42:01 -03:00
..
Documentation perf kvm: Events analysis tool 2012-09-21 12:51:22 -03:00
arch perf tools: Support for DWARF CFI unwinding on post processing 2012-08-11 15:06:56 -03:00
bench perf tools: Use __maybe_used for unused variables 2012-09-11 12:19:15 -03:00
config perf tools: add NO_BACKTRACE for application self-debugging 2012-09-07 22:12:30 -03:00
python perf python: Use attr.watermark in twatch.py 2012-01-30 18:38:23 -02:00
scripts perf scripts: Add event_analyzing_sample-record/report 2012-09-17 13:11:15 -03:00
ui perf hists browser: Fix first column printing 2012-09-14 15:50:14 -03:00
util perf evsel: Handle endianity in intval method 2012-09-26 13:41:47 -03:00
.gitignore perf tools: Ignore compiled python binaries 2012-09-07 12:10:58 -03:00
CREDITS perf_counter tools: Add CREDITS file for Git contributors 2009-06-24 19:54:29 +02:00
MANIFEST perf kvm: Events analysis tool 2012-09-21 12:51:22 -03:00
Makefile perf tools: bfd.h/libbfd detection fails with recent binutils 2012-09-24 12:05:02 -03:00
bash_completion perf tools: Support for events bash completion 2012-08-09 15:59:26 -03:00
builtin-annotate.c perf tools: Use __maybe_used for unused variables 2012-09-11 12:19:15 -03:00
builtin-bench.c perf tools: Use __maybe_used for unused variables 2012-09-11 12:19:15 -03:00
builtin-buildid-cache.c perf tools: Use __maybe_used for unused variables 2012-09-11 12:19:15 -03:00
builtin-buildid-list.c perf tools: Use __maybe_used for unused variables 2012-09-11 12:19:15 -03:00
builtin-diff.c perf tools: Use __maybe_used for unused variables 2012-09-11 12:19:15 -03:00
builtin-evlist.c perf tools: Use __maybe_used for unused variables 2012-09-11 12:19:15 -03:00
builtin-help.c perf tools: Use __maybe_used for unused variables 2012-09-11 12:19:15 -03:00
builtin-inject.c perf tools: Use __maybe_used for unused variables 2012-09-11 12:19:15 -03:00
builtin-kmem.c perf kmem: Use perf_evsel__intval and perf_session__set_tracepoints_handlers 2012-09-24 10:52:03 -03:00
builtin-kvm.c perf kvm: Use perf_session_env for reading cpuid 2012-09-24 11:47:27 -03:00
builtin-list.c perf tools: Use __maybe_used for unused variables 2012-09-11 12:19:15 -03:00
builtin-lock.c perf lock: Use perf_evsel__intval and perf_session__set_tracepoints_handlers 2012-09-24 10:52:12 -03:00
builtin-probe.c perf tools: Use __maybe_used for unused variables 2012-09-11 12:19:15 -03:00
builtin-record.c perf record: Print event causing perf_event_open() to fail 2012-09-20 14:44:17 -03:00
builtin-report.c perf report: Add missing perf_hpp__init for pipe-mode 2012-09-17 13:11:33 -03:00
builtin-sched.c perf sched: Fixup for the die() removal 2012-09-14 15:48:38 -03:00
builtin-script.c perf scripts: Export a find_scripts() function 2012-09-17 13:11:26 -03:00
builtin-stat.c perf stat: Check PMU cpumask file 2012-09-17 13:12:02 -03:00
builtin-test.c perf test: Add test to check we correctly parse and match syscall open parms 2012-09-26 13:42:01 -03:00
builtin-timechart.c perf timechart: Use zalloc and fix a couple leaks 2012-09-24 11:43:38 -03:00
builtin-top.c perf evsel: Know if byte swap is needed 2012-09-26 12:48:18 -03:00
builtin.h perf scripts: Export a find_scripts() function 2012-09-17 13:11:26 -03:00
command-list.txt perf symbols: Support minimal build without libelf 2012-08-09 16:26:38 -03:00
design.txt perf tools: Update ioctl documentation for PERF_IOC_FLAG_GROUP 2012-05-31 11:38:42 -03:00
perf-archive.sh perf archive: Make 'f' the last parameter for tar 2012-09-17 13:10:42 -03:00
perf.c perf tools: include missing pthread.h header 2012-09-07 22:08:09 -03:00
perf.h perf tools: Support for DWARF mode callchain 2012-08-11 15:07:18 -03:00