diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2017-08-17 22:58:21 +0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2017-08-17 22:58:21 +0300 |
commit | 9a57eaf1d2443d34cce0562f425228c37a8ec019 (patch) | |
tree | 1a34d2c6e0d65ca5c7e62c32084ff0a22fa1597a /tools/perf/util/header.c | |
parent | 4717e03cc7e826818c3f9bd60e9c304a3309c3ad (diff) | |
download | linux-9a57eaf1d2443d34cce0562f425228c37a8ec019.tar.xz |
perf tools: Use default CPUINFO_PROC where it fits
Several architectures don't need to define it since the string is the
same as the default one, so nuke them.
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-v1e1jr1u474w9xcelpaoxamu@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/header.c')
-rw-r--r-- | tools/perf/util/header.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tools/perf/util/header.c b/tools/perf/util/header.c index 28bf4442d577..605bbd5404fb 100644 --- a/tools/perf/util/header.c +++ b/tools/perf/util/header.c @@ -380,9 +380,6 @@ done: static int write_cpudesc(struct feat_fd *ff, struct perf_evlist *evlist __maybe_unused) { -#ifndef CPUINFO_PROC -#define CPUINFO_PROC {"model name", } -#endif const char *cpuinfo_procs[] = CPUINFO_PROC; unsigned int i; |