Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Signed-off-by: Taeung Song <[email protected]>
---
 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

Reply via email to