]> git.baikalelectronics.ru Git - kernel.git/commit
perf script: Add API for filtering via dynamically loaded shared object
authorAdrian Hunter <adrian.hunter@intel.com>
Sun, 27 Jun 2021 13:18:09 +0000 (16:18 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 1 Jul 2021 19:14:37 +0000 (16:14 -0300)
commit7a8d954a27e4d4bd1e690b97f8414fe313aeb138
treedd2653c0fb8d0a619e7ccdc72382d0e58560a2ba
parent4c5a58c5a70384b94020fd7eaf8dde009a39f645
perf script: Add API for filtering via dynamically loaded shared object

In some cases, users want to filter very large amounts of data (e.g.
from AUX area tracing like Intel PT) looking for something specific.
While scripting such as Python can be used, Python is 10 to 20 times
slower than C. So define a C API so that custom filters can be written
and loaded.

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-2-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Documentation/perf-dlfilter.txt [new file with mode: 0644]
tools/perf/Documentation/perf-script.txt
tools/perf/builtin-script.c
tools/perf/util/Build
tools/perf/util/dlfilter.c [new file with mode: 0644]
tools/perf/util/dlfilter.h [new file with mode: 0644]
tools/perf/util/perf_dlfilter.h [new file with mode: 0644]