[PATCH 04/31] perf tools: Add machine__kernel_ip()

2014-07-31 Thread Adrian Hunter
Add a function to determine if an address is in the kernel. This is based on the kernel function kernel_ip(). Signed-off-by: Adrian Hunter --- tools/perf/util/event.c | 6 +++--- tools/perf/util/machine.c | 23 +++ tools/perf/util/machine.h | 17 + 3

[PATCH 04/31] perf tools: Add machine__kernel_ip()

2014-07-31 Thread Adrian Hunter
Add a function to determine if an address is in the kernel. This is based on the kernel function kernel_ip(). Signed-off-by: Adrian Hunter adrian.hun...@intel.com --- tools/perf/util/event.c | 6 +++--- tools/perf/util/machine.c | 23 +++ tools/perf/util/machine.h | 17