aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <[email protected]>2015-07-17 12:07:25 -0300
committerArnaldo Carvalho de Melo <[email protected]>2015-07-20 14:44:59 -0300
commit8ff9daf3c16769817d0eaf16154d9e9198ec1bda (patch)
tree6855397d115ef614648ce42456b6c5f59682cef7 /tools/perf/scripts/python/event_analyzing_sample.py
parent4a77e2183fc0260c0efc7adeccf933fef893ad5f (diff)
perf strlist: Allow substitutions from file contents in a given directory
So, if we have an strlist equal to: "file,close" And we call it as: struct strlist_config *config = { .dirname = "~/strace/groups", }; struct strlist *slist = strlist__new("file, close", &config); And we have: $ cat ~/strace/groups/file access open openat statfs Then the resulting strlist will have these contents: [ "access", "open", "openat", "statfs", "close" ] This will be used to implement strace syscall groups in 'perf trace', but can be used in some other tool, thus being implemented in 'strlist'. Cc: Adrian Hunter <[email protected]> Cc: Borislav Petkov <[email protected]> Cc: David Ahern <[email protected]> Cc: Frederic Weisbecker <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Namhyung Kim <[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/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions