aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf
diff options
context:
space:
mode:
authorAdrian Hunter <adrian.hunter@intel.com>2017-05-26 04:17:19 -0400
committerArnaldo Carvalho de Melo <acme@redhat.com>2017-06-21 10:35:53 -0400
commit30795467e54f3fe0d00f2dba4e58e6475b8fd2e7 (patch)
treeed8cb63bae2d41ee6292f8779b66f9006f69d0ef /tools/perf
parent2116074898ff9ff093963adc0fefcabbbbd7ec41 (diff)
perf tools: Fix message because cpu list option is -C not -c
Fix message because cpu list option is -C not -c Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Cc: Andi Kleen <ak@linux.intel.com> Link: http://lkml.kernel.org/r/1495786658-18063-19-git-send-email-adrian.hunter@intel.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf')
-rw-r--r--tools/perf/util/session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/session.c b/tools/perf/util/session.c
index 7dc1096264c5..d19c40a81040 100644
--- a/tools/perf/util/session.c
+++ b/tools/perf/util/session.c
@@ -2035,7 +2035,7 @@ int perf_session__cpu_bitmap(struct perf_session *session,
2035 2035
2036 if (!(evsel->attr.sample_type & PERF_SAMPLE_CPU)) { 2036 if (!(evsel->attr.sample_type & PERF_SAMPLE_CPU)) {
2037 pr_err("File does not contain CPU events. " 2037 pr_err("File does not contain CPU events. "
2038 "Remove -c option to proceed.\n"); 2038 "Remove -C option to proceed.\n");
2039 return -1; 2039 return -1;
2040 } 2040 }
2041 } 2041 }