]> git.baikalelectronics.ru Git - kernel.git/commit
perf stat: Fix recort_usage typo
authorJiri Olsa <jolsa@kernel.org>
Tue, 12 Jan 2016 09:35:29 +0000 (10:35 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 12 Jan 2016 14:13:52 +0000 (11:13 -0300)
commit62fdbd15ab764878abb62641ff230d11fa22528f
tree60cf633a15d1460b20f52f9ec254ce21f5d4e762
parent6d6c3e990fd067134563869eac865099c3473ebf
perf stat: Fix recort_usage typo

Markus reported gcc 6 complains when compiling perf stat command:

  builtin-stat.c:1591:27: error: ‘recort_usage’ defined but not used
  [-Werror=unused-const-variable]
   static const char * const recort_usage[] = {
                             ^~~~~~~~~~~~

I fixed the typo and realized we already export record_usage, so I also
prefixed it with stat (and included report_usage).

Reported-by: Markus Trippelsdorf <markus@trippelsdorf.de>
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1452591329-27620-1-git-send-email-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-stat.c