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


Groups > linux.kernel > #1638040 > unrolled thread

[PATCH v3 4/7] perf config: Add a error message when perf_config_set__new() failed in cmd_config()

Started byTaeung Song <treeze.taeung@gmail.com>
First post2017-05-09 13:10 +0200
Last post2017-05-09 13:10 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH v3 4/7] perf config: Add a error message when perf_config_set__new() failed in cmd_config() Taeung Song <treeze.taeung@gmail.com> - 2017-05-09 13:10 +0200

#1638040 — [PATCH v3 4/7] perf config: Add a error message when perf_config_set__new() failed in cmd_config()

FromTaeung Song <treeze.taeung@gmail.com>
Date2017-05-09 13:10 +0200
Subject[PATCH v3 4/7] perf config: Add a error message when perf_config_set__new() failed in cmd_config()
Message-ID<tFbbI-TA-3@gated-at.bofh.it>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Taeung Song <treeze.taeung@gmail.com>
---
 tools/perf/builtin-config.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tools/perf/builtin-config.c b/tools/perf/builtin-config.c
index 6a4d8cd..e9fe673 100644
--- a/tools/perf/builtin-config.c
+++ b/tools/perf/builtin-config.c
@@ -186,8 +186,10 @@ int cmd_config(int argc, const char **argv)
 	 * because of reinitializing with options config file location.
 	 */
 	set = perf_config_set__new();
-	if (!set)
+	if (!set) {
+		pr_err("Failed to load configs from %s\n", config_filename);
 		goto out_err;
+	}
 
 	switch (actions) {
 	case ACTION_LIST:
-- 
2.7.4

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web