perf tools: Fix message because cpu list option is -C not -c
authorAdrian Hunter <adrian.hunter@intel.com>
Fri, 26 May 2017 08:17:19 +0000 (11:17 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 21 Jun 2017 14:35:53 +0000 (11:35 -0300)
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>
tools/perf/util/session.c

index 7dc1096264c575cbbd1cd41d07f041585a997453..d19c40a8104027117a2d30ad2a6aad6af8207025 100644 (file)
@@ -2035,7 +2035,7 @@ int perf_session__cpu_bitmap(struct perf_session *session,
 
                if (!(evsel->attr.sample_type & PERF_SAMPLE_CPU)) {
                        pr_err("File does not contain CPU events. "
-                              "Remove -c option to proceed.\n");
+                              "Remove -C option to proceed.\n");
                        return -1;
                }
        }