linux_dsm_epyc7002/tools/perf
Arnaldo Carvalho de Melo 8ff9daf3c1 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 <adrian.hunter@intel.com>
Cc: Borislav Petkov <bp@suse.de>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-wi6l6qtomqlywwr6005jvs05@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2015-07-20 14:44:59 -03:00
..
arch
bench
config perf tools: Create config.detected into OUTPUT directory 2015-07-01 17:53:49 -03:00
Documentation perf record: Document setting '-e pmu/period=N/' in man page 2015-07-14 07:52:00 -03:00
python
scripts
tests perf stat: Make stats work over the thread dimension 2015-06-26 11:20:02 -03:00
ui
util perf strlist: Allow substitutions from file contents in a given directory 2015-07-20 14:44:59 -03:00
.gitignore
Build
builtin-annotate.c
builtin-bench.c
builtin-buildid-cache.c perf strlist: Make dupstr be the default and part of an extensible config parm 2015-07-20 12:13:34 -03:00
builtin-buildid-list.c
builtin-data.c
builtin-diff.c
builtin-evlist.c
builtin-help.c
builtin-inject.c perf inject: Fill in the missing session freeing after an error occurs 2015-07-01 17:53:49 -03:00
builtin-kmem.c perf kmem: Fill in the missing session freeing after an error occurs 2015-07-01 17:53:49 -03:00
builtin-kvm.c perf kvm: Fill in the missing session freeing after an error occurs 2015-07-01 17:53:49 -03:00
builtin-list.c
builtin-lock.c
builtin-mem.c perf mem: Fill in the missing session freeing after an error occurs 2015-07-01 17:53:49 -03:00
builtin-probe.c perf probe: Delete an unnecessary check before the function call "strfilter__delete" 2015-07-06 08:58:36 -03:00
builtin-record.c perf record: Let user have timestamps with per-thread recording 2015-07-06 08:58:36 -03:00
builtin-report.c perf report: Fill in the missing session freeing after an error occurs 2015-07-01 17:53:49 -03:00
builtin-sched.c
builtin-script.c
builtin-stat.c perf stat: Introduce --per-thread option 2015-06-26 12:05:04 -03:00
builtin-timechart.c
builtin-top.c
builtin-trace.c perf strlist: Make dupstr be the default and part of an extensible config parm 2015-07-20 12:13:34 -03:00
builtin.h
command-list.txt
CREDITS
design.txt
Makefile
Makefile.perf perf tools: Allow to specify custom linker command 2015-07-01 17:53:50 -03:00
MANIFEST tools: Copy rbtree_augmented.h from the kernel 2015-07-05 22:59:05 -03:00
perf-archive.sh
perf-completion.sh
perf-read-vdso.c
perf-sys.h
perf-with-kcore.sh
perf.c
perf.h perf record: Let user have timestamps with per-thread recording 2015-07-06 08:58:36 -03:00