perf dlfilter: Add srcline() to perf_dlfilter_fns
authorAdrian Hunter <adrian.hunter@intel.com>
Sun, 27 Jun 2021 13:18:16 +0000 (16:18 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 1 Jul 2021 19:14:38 +0000 (16:14 -0300)
commit244afc0c93205fa144c782562ad3f9435ae4ea93
tree8b90901bc6f1f0a79da40afefdd312f1603a8032
parente35995effdd3815cad7f0db8360c23d60479122a
perf dlfilter: Add srcline() to perf_dlfilter_fns

Add a function, for use by dlfilters, to return source code file name and
line number.

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-9-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Documentation/perf-dlfilter.txt
tools/perf/util/dlfilter.c
tools/perf/util/perf_dlfilter.h