linux/tools/perf
Jin Yao 8b8ef2d74d perf report: Enable finding kernel inline functions
Currently perf supports a mode to query inline stack. It works well for
finding user space inline functions but it doesn't work for kernel ones,
due to some unnecessary check.

This patch removes these unnecessary checks. Now kernel inline functions
can be reported.

For example:

  perf report --inline -g func --stdio

  |--46.19%--do_huge_pmd_anonymous_page
  |          do_huge_pmd_anonymous_page (inline)
  |          __do_huge_pmd_anonymous_page (inline)
  |          __SetPageUptodate (inline)
  |          __set_bit (inline)

  The result is compared with the output of addr2line. They match.

Signed-off-by: Yao Jin <yao.jin@linux.intel.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Kan Liang <kan.liang@intel.com>
Cc: Milian Wolff <milian.wolff@kdab.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1500409892-15904-1-git-send-email-yao.jin@linux.intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2017-07-18 23:14:27 -03:00
..
arch perf probe: Allow placing uprobes in alternate namespaces. 2017-07-18 23:14:10 -03:00
bench
Documentation perf buildid-cache: Support binary objects from other namespaces 2017-07-18 23:14:11 -03:00
jvmti
pmu-events perf vendor events: Add POWER9 PVRs to mapfile 2017-07-18 23:14:06 -03:00
python
scripts
tests perf tests attr: Add optional term 2017-07-18 23:14:22 -03:00
trace perf trace beauty fcntl: Beautify the 'arg' for DUPFD 2017-07-18 23:14:26 -03:00
ui perf report: Enable finding kernel inline functions 2017-07-18 23:14:27 -03:00
util perf tests attr: Add test_attr__ready function 2017-07-18 23:14:15 -03:00
.gitignore
Build perf trace: Only build tools/perf/trace/beauty/ when building 'perf trace' 2017-07-18 23:13:52 -03:00
builtin-annotate.c
builtin-bench.c
builtin-buildid-cache.c perf buildid-cache: Cache debuginfo 2017-07-18 23:14:11 -03:00
builtin-buildid-list.c
builtin-c2c.c
builtin-config.c
builtin-data.c
builtin-diff.c
builtin-evlist.c
builtin-ftrace.c
builtin-help.c
builtin-inject.c
builtin-kallsyms.c
builtin-kmem.c
builtin-kvm.c
builtin-list.c
builtin-lock.c
builtin-mem.c
builtin-probe.c perf buildid-cache: Support binary objects from other namespaces 2017-07-18 23:14:11 -03:00
builtin-record.c perf record: Do not ask for precise_ip with --no-samples 2017-07-18 23:14:13 -03:00
builtin-report.c
builtin-sched.c
builtin-script.c
builtin-stat.c
builtin-timechart.c
builtin-top.c perf annotate: Check for fused instructions 2017-07-18 23:11:25 -03:00
builtin-trace.c perf trace beauty: Simplify syscall return formatting 2017-07-18 23:14:26 -03:00
builtin-version.c
builtin.h
check-headers.sh tools include uapi x86: Grab a copy of unistd.h 2017-07-18 23:14:07 -03:00
command-list.txt
CREDITS
design.txt
Makefile
Makefile.config tools build: Add test for setns() 2017-07-18 23:14:08 -03:00
Makefile.perf
MANIFEST
perf-archive.sh
perf-completion.sh
perf-read-vdso.c
perf-sys.h
perf-with-kcore.sh
perf.c
perf.h perf tests attr: Add test_attr__ready function 2017-07-18 23:14:15 -03:00