aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@redhat.com>2014-01-07 07:47:27 -0500
committerArnaldo Carvalho de Melo <acme@redhat.com>2014-02-18 07:34:48 -0500
commitea3da69df959dfa1c807586c061bfcc4ec7e5e17 (patch)
tree1a006572a5037afac34d4ebfbef0b26e02289570 /tools/perf/util
parent436aa749bb193385f6a3b741ddc6bfba61770a6e (diff)
perf callchain: Rename unwind__arch_reg_id into libunwind__arch_reg_id
Renaming unwind__arch_reg_id into libunwind__arch_reg_id, so it's clear it's specific to libunwind. Signed-off-by: Jiri Olsa <jolsa@redhat.com> Acked-by: Jean Pihet <jean.pihet@linaro.org> Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com> Cc: David Ahern <dsahern@gmail.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Ingo Molnar <mingo@kernel.org> Cc: Jean Pihet <jean.pihet@linaro.org> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/r/1389098853-14466-11-git-send-email-jolsa@redhat.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util')
-rw-r--r--tools/perf/util/unwind-libunwind.c2
-rw-r--r--tools/perf/util/unwind.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/util/unwind-libunwind.c b/tools/perf/util/unwind-libunwind.c
index 720a4cae6004..79dbfbbeb5ed 100644
--- a/tools/perf/util/unwind-libunwind.c
+++ b/tools/perf/util/unwind-libunwind.c
@@ -469,7 +469,7 @@ static int access_reg(unw_addr_space_t __maybe_unused as,
469 return 0; 469 return 0;
470 } 470 }
471 471
472 id = unwind__arch_reg_id(regnum); 472 id = libunwind__arch_reg_id(regnum);
473 if (id < 0) 473 if (id < 0)
474 return -EINVAL; 474 return -EINVAL;
475 475
diff --git a/tools/perf/util/unwind.h b/tools/perf/util/unwind.h
index 356e1d642f9d..18f33b475c46 100644
--- a/tools/perf/util/unwind.h
+++ b/tools/perf/util/unwind.h
@@ -18,7 +18,7 @@ int unwind__get_entries(unwind_entry_cb_t cb, void *arg,
18 struct machine *machine, 18 struct machine *machine,
19 struct thread *thread, 19 struct thread *thread,
20 struct perf_sample *data, int max_stack); 20 struct perf_sample *data, int max_stack);
21int unwind__arch_reg_id(int regnum); 21int libunwind__arch_reg_id(int regnum);
22#else 22#else
23static inline int 23static inline int
24unwind__get_entries(unwind_entry_cb_t cb __maybe_unused, 24unwind__get_entries(unwind_entry_cb_t cb __maybe_unused,