aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/thread.c
diff options
context:
space:
mode:
authorEric Engestrom <eric.engestrom@imgtec.com>2016-04-25 05:47:54 -0400
committerArnaldo Carvalho de Melo <acme@redhat.com>2016-04-25 17:12:25 -0400
commit3b556bced46aa6b1873da7faa18eff235e896adc (patch)
tree6b56d259c4f0262f75e669ccb558f7fc8f865592 /tools/perf/util/thread.c
parentab362f5a95ff72a895c446e9d5ef548cac2fea07 (diff)
perf tools: Remove duplicate const qualifier
Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com> Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: David Ahern <dsahern@gmail.com> Cc: Peter Zijlstra <peterz@infradead.org> Link: http://lkml.kernel.org/r/1461577678-29517-1-git-send-email-eric.engestrom@imgtec.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/thread.c')
-rw-r--r--tools/perf/util/thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/thread.c b/tools/perf/util/thread.c
index dfd00c6dad6e..de2036d1251b 100644
--- a/tools/perf/util/thread.c
+++ b/tools/perf/util/thread.c
@@ -233,7 +233,7 @@ void thread__find_cpumode_addr_location(struct thread *thread,
233 struct addr_location *al) 233 struct addr_location *al)
234{ 234{
235 size_t i; 235 size_t i;
236 const u8 const cpumodes[] = { 236 const u8 cpumodes[] = {
237 PERF_RECORD_MISC_USER, 237 PERF_RECORD_MISC_USER,
238 PERF_RECORD_MISC_KERNEL, 238 PERF_RECORD_MISC_KERNEL,
239 PERF_RECORD_MISC_GUEST_USER, 239 PERF_RECORD_MISC_GUEST_USER,