diff options
Diffstat (limited to 'tools/perf')
| -rw-r--r-- | tools/perf/arch/common.c | 2 | ||||
| -rw-r--r-- | tools/perf/arch/common.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/tools/perf/arch/common.c b/tools/perf/arch/common.c index e83c8ce24303..fa090a9eaa38 100644 --- a/tools/perf/arch/common.c +++ b/tools/perf/arch/common.c | |||
| @@ -102,7 +102,7 @@ static int lookup_triplets(const char *const *triplets, const char *name) | |||
| 102 | * Return architecture name in a normalized form. | 102 | * Return architecture name in a normalized form. |
| 103 | * The conversion logic comes from the Makefile. | 103 | * The conversion logic comes from the Makefile. |
| 104 | */ | 104 | */ |
| 105 | static const char *normalize_arch(char *arch) | 105 | const char *normalize_arch(char *arch) |
| 106 | { | 106 | { |
| 107 | if (!strcmp(arch, "x86_64")) | 107 | if (!strcmp(arch, "x86_64")) |
| 108 | return "x86"; | 108 | return "x86"; |
diff --git a/tools/perf/arch/common.h b/tools/perf/arch/common.h index 7529cfb143ce..6b01c736b7d9 100644 --- a/tools/perf/arch/common.h +++ b/tools/perf/arch/common.h | |||
| @@ -6,5 +6,6 @@ | |||
| 6 | extern const char *objdump_path; | 6 | extern const char *objdump_path; |
| 7 | 7 | ||
| 8 | int perf_env__lookup_objdump(struct perf_env *env); | 8 | int perf_env__lookup_objdump(struct perf_env *env); |
| 9 | const char *normalize_arch(char *arch); | ||
| 9 | 10 | ||
| 10 | #endif /* ARCH_PERF_COMMON_H */ | 11 | #endif /* ARCH_PERF_COMMON_H */ |
