diff options
author | Jiri Olsa <jolsa@redhat.com> | 2014-01-07 07:47:29 -0500 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2014-02-18 07:34:49 -0500 |
commit | c9b951c4d12f0b2e9a07dd459c554bc05628d092 (patch) | |
tree | caa1bbe8ea8ccf5490589bf366215218068f0a4f /tools/perf/Makefile.perf | |
parent | 9ff125d132001c02d32a193a9423be0690526e11 (diff) |
perf callchain: Separate perf_reg_value function in perf_regs object
Making perf_reg_value function global (formely reg_value), because it's
going to be used globaly across all code providing the dwarf post unwind
feature.
Changing its prototype to be generic:
-int reg_value(unw_word_t *valp, struct regs_dump *regs, int id)
+int perf_reg_value(u64 *valp, struct regs_dump *regs, int id);
Changing the valp type from libunwind specific 'unw_word_t' to u64.
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-13-git-send-email-jolsa@redhat.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/Makefile.perf')
-rw-r--r-- | tools/perf/Makefile.perf | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/Makefile.perf b/tools/perf/Makefile.perf index 9ef6b33bcfe3..f99a392d20be 100644 --- a/tools/perf/Makefile.perf +++ b/tools/perf/Makefile.perf | |||
@@ -538,6 +538,7 @@ ifeq ($(NO_PERF_REGS),0) | |||
538 | ifeq ($(ARCH),x86) | 538 | ifeq ($(ARCH),x86) |
539 | LIB_H += arch/x86/include/perf_regs.h | 539 | LIB_H += arch/x86/include/perf_regs.h |
540 | endif | 540 | endif |
541 | LIB_OBJS += $(OUTPUT)util/perf_regs.o | ||
541 | endif | 542 | endif |
542 | 543 | ||
543 | ifndef NO_LIBNUMA | 544 | ifndef NO_LIBNUMA |