Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1671939 > unrolled thread

[tip:perf/core] perf tools: Fix message because cpu list option is -C not -c

Started bytip-bot for Adrian Hunter <tipbot@zytor.com>
First post2017-06-21 20:40 +0200
Last post2017-06-21 20:40 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [tip:perf/core] perf tools: Fix message because cpu list option is  -C not -c tip-bot for Adrian Hunter <tipbot@zytor.com> - 2017-06-21 20:40 +0200

#1671939 — [tip:perf/core] perf tools: Fix message because cpu list option is -C not -c

Fromtip-bot for Adrian Hunter <tipbot@zytor.com>
Date2017-06-21 20:40 +0200
Subject[tip:perf/core] perf tools: Fix message because cpu list option is -C not -c
Message-ID<tUSHN-1ub-23@gated-at.bofh.it>
Commit-ID:  30795467e54f3fe0d00f2dba4e58e6475b8fd2e7
Gitweb:     http://git.kernel.org/tip/30795467e54f3fe0d00f2dba4e58e6475b8fd2e7
Author:     Adrian Hunter <adrian.hunter@intel.com>
AuthorDate: Fri, 26 May 2017 11:17:19 +0300
Committer:  Arnaldo Carvalho de Melo <acme@redhat.com>
CommitDate: Wed, 21 Jun 2017 11:35:53 -0300

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>
---
 tools/perf/util/session.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/perf/util/session.c b/tools/perf/util/session.c
index 7dc1096..d19c40a 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,
 
 		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;
 		}
 	}

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web