[PATCH 9/9] perf symbols: Get kernel start address by symbol name

2014-06-19 Thread Jiri Olsa
From: Simon Que 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. 0x8020). This patch fixes

[PATCH 9/9] perf symbols: Get kernel start address by symbol name

2014-06-19 Thread Jiri Olsa
From: Simon Que s...@chromium.org 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. 0x8020).