diff options
author | Adrian Hunter <adrian.hunter@intel.com> | 2021-06-27 15:18:10 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2021-07-01 21:14:37 +0200 |
commit | 9bde93a79a897719f829225d0b541b4b11af2c24 (patch) | |
tree | b8088b61a24ddb216715ea727e8380951a814c64 /tools/perf/builtin-inject.c | |
parent | perf script: Add API for filtering via dynamically loaded shared object (diff) | |
download | linux-9bde93a79a897719f829225d0b541b4b11af2c24.tar.xz linux-9bde93a79a897719f829225d0b541b4b11af2c24.zip |
perf script: Add dlfilter__filter_event_early()
filter_event_early() can be more than 30% faster than filter_event()
because it is called before internal filtering. In other respects it
is the same as filter_event(), except that it will be passed events
that have yet to be filtered out.
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-3-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin-inject.c')
0 files changed, 0 insertions, 0 deletions