perf script: Add option to list dlfilters
authorAdrian Hunter <adrian.hunter@intel.com>
Sun, 27 Jun 2021 13:18:11 +0000 (16:18 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 1 Jul 2021 19:14:37 +0000 (16:14 -0300)
commit638e2b9984ee1b8d485366f74d579467880283b4
tree94d5d8af773b1674d8122ef73d453b2466d3c419
parent9bde93a79a897719f829225d0b541b4b11af2c24
perf script: Add option to list dlfilters

Add option --list-dlfilters to list dlfilters in the current directory or
the exec-path e.g. ~/libexec/perf-core/dlfilters. Use with option -v (must
come before option --list-dlfilters) to show long descriptions.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Kan Liang <kan.liang@linux.intel.com>
Cc: Leo Yan <leo.yan@linaro.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/r/20210627131818.810-4-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Documentation/perf-dlfilter.txt
tools/perf/Documentation/perf-script.txt
tools/perf/builtin-script.c
tools/perf/util/dlfilter.c
tools/perf/util/dlfilter.h
tools/perf/util/perf_dlfilter.h