commit | 9b0d2d875d57d85fdfb35ac27f89951520a8b473 | [log] [tgz] |
---|---|---|
author | Adrian Hunter <[email protected]> | Tue Jul 22 16:17:39 2014 +0300 |
committer | Arnaldo Carvalho de Melo <[email protected]> | Fri Jul 25 12:08:34 2014 -0300 |
tree | 2b5007f4e01912ee107f28fa8e4fc16e4448db7f | |
parent | f1dd1460a40894b00bbeacd753025e9251ec11bd [diff] |
perf tools: Expose 'addr' functions so they can be reused Move some functions and functionality related to the use of 'addr' out of builtin-script so they can be reused. The moved functions are: is_bts_event() and sample_addr_correlates_sym() and a new function perf_event__preprocess_sample_addr() is created from bits of print_sample_addr(). perf_event__preprocess_sample_addr() is the equivalent of perf_event__preprocess_sample() but for 'addr' instead of 'ip'. Signed-off-by: Adrian Hunter <[email protected]> Cc: David Ahern <[email protected]> Cc: Frederic Weisbecker <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Stephane Eranian <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>