summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Phlipot <cphlipot0@gmail.com>2016-05-07 11:17:00 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2016-05-09 19:08:39 +0200
commitaff633406ca2772554bad7b37f2dfbc409b6ea74 (patch)
treeeff8e5a79c4d70c203d1145bcb37de5803bc7c43
parentperf stat: Scale values by unit before metrics (diff)
downloadlinux-aff633406ca2772554bad7b37f2dfbc409b6ea74.tar.xz
linux-aff633406ca2772554bad7b37f2dfbc409b6ea74.zip
perf script: Fix incorrect python db-export error message
Fix the error message printed when attempting and failing to create the call path root incorrectly references the call return process. This change fixes the message to properly reference the failure to create the call path root. Signed-off-by: Chris Phlipot <cphlipot0@gmail.com> Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Peter Zijlstra <peterz@infradead.org> Link: http://lkml.kernel.org/r/1462612620-25008-2-git-send-email-cphlipot0@gmail.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
-rw-r--r--tools/perf/util/scripting-engines/trace-event-python.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/scripting-engines/trace-event-python.c b/tools/perf/util/scripting-engines/trace-event-python.c
index 091bce67844c..1546b749a3a3 100644
--- a/tools/perf/util/scripting-engines/trace-event-python.c
+++ b/tools/perf/util/scripting-engines/trace-event-python.c
@@ -1062,7 +1062,7 @@ static void set_table_handlers(struct tables *tables)
tables->dbe.cpr = call_path_root__new();
if (!tables->dbe.cpr)
- Py_FatalError("failed to create calls processor");
+ Py_FatalError("failed to create call path root");
}
tables->db_export_mode = true;