perf script: Fix incorrect python db-export error message
authorChris Phlipot <cphlipot0@gmail.com>
Sat, 7 May 2016 09:17:00 +0000 (02:17 -0700)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 9 May 2016 17:08:39 +0000 (14:08 -0300)
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>
tools/perf/util/scripting-engines/trace-event-python.c

index 091bce6..1546b74 100644 (file)
@@ -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;