Simon Que
a93f0e551a
perf symbols: Get kernel start address by symbol name
...
The function machine__get_kernel_start_addr() was taking the first symbol
of kallsyms as the start address. This is incorrect in certain cases
where the first symbol is something at 0, while the actual kernel
functions begin at a later point (e.g. 0x80200000).
This patch fixes machine__get_kernel_start_addr() to search for the
symbol "_text" or "_stext", which marks the beginning of kernel mapping.
This was already being done in machine__create_kernel_maps(). Thus, this
patch is just a refactor, to move that code into
machine__get_kernel_start_addr().
Signed-off-by: Simon Que <[email protected] >
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Jiri Olsa <[email protected] >
2014-06-20 09:34:22 +02:00
..
arch
perf tools: Add libdw DWARF post unwind support for ARM
2014-05-16 11:39:29 +02:00
bench
config
perf tools: Emit more precise message for missing glibc static library
2014-06-09 12:14:08 -03:00
Documentation
perf/core improvements:
2014-06-12 13:54:42 +02:00
python
scripts
tests
perf tests: Add test for closing dso objects on EMFILE error
2014-06-12 16:53:23 +02:00
ui
perf tools: Fix segfault in cumulative.callchain report
2014-06-20 09:34:18 +02:00
util
perf symbols: Get kernel start address by symbol name
2014-06-20 09:34:22 +02:00
.gitignore
builtin-annotate.c
perf hists: Check if accumulated when adding a hist entry
2014-06-01 14:34:56 +02:00
builtin-bench.c
builtin-buildid-cache.c
builtin-buildid-list.c
builtin-diff.c
perf hists: Check if accumulated when adding a hist entry
2014-06-01 14:34:56 +02:00
builtin-evlist.c
builtin-help.c
builtin-inject.c
perf tools: Fix pipe check regression in attr event callback
2014-06-09 12:20:34 +02:00
builtin-kmem.c
perf tools: Use tid for finding thread
2014-05-12 11:09:50 +02:00
builtin-kvm.c
builtin-list.c
builtin-lock.c
builtin-mem.c
builtin-probe.c
perf probe: Show error code and description in verbose mode
2014-06-09 14:34:09 -03:00
builtin-record.c
perf/tool: Add conditional branch filter 'cond' to perf record
2014-06-05 12:30:19 +02:00
builtin-report.c
perf tools: Add callback function to hist_entry_iter
2014-06-01 14:35:05 +02:00
builtin-sched.c
perf tools: Introduce hists__inc_nr_samples()
2014-06-01 14:34:55 +02:00
builtin-script.c
builtin-stat.c
builtin-timechart.c
builtin-top.c
perf top: Add top.children config option
2014-06-01 14:35:07 +02:00
builtin-trace.c
builtin.h
command-list.txt
CREDITS
design.txt
Makefile
Makefile.perf
perf tools: Prettify the tags/TAGS/cscope targets output
2014-06-09 12:21:02 +02:00
MANIFEST
tools: Consolidate types.h
2014-05-01 21:22:39 +02:00
perf-archive.sh
perf-completion.sh
perf-sys.h
perf tools: Move sys_perf_event_open function from perf.h
2014-05-05 17:48:51 +02:00
perf.c
perf tools: Add support to dynamically get cacheline size
2014-06-09 13:34:48 +02:00
perf.h
perf tools: Move ACCESS_ONCE from perf.h header
2014-05-05 17:49:07 +02:00