From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752576AbcEJUcK (ORCPT ); Tue, 10 May 2016 16:32:10 -0400 Received: from terminus.zytor.com ([198.137.202.10]:58170 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751076AbcEJUcH (ORCPT ); Tue, 10 May 2016 16:32:07 -0400 Date: Tue, 10 May 2016 13:31:22 -0700 From: tip-bot for Chris Phlipot Message-ID: Cc: cphlipot0@gmail.com, mingo@kernel.org, tglx@linutronix.de, hpa@zytor.com, linux-kernel@vger.kernel.org, adrian.hunter@intel.com, acme@redhat.com, peterz@infradead.org Reply-To: linux-kernel@vger.kernel.org, tglx@linutronix.de, hpa@zytor.com, peterz@infradead.org, acme@redhat.com, adrian.hunter@intel.com, mingo@kernel.org, cphlipot0@gmail.com In-Reply-To: <1462612620-25008-2-git-send-email-cphlipot0@gmail.com> References: <1462612620-25008-2-git-send-email-cphlipot0@gmail.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:perf/core] perf script: Fix incorrect python db-export error message Git-Commit-ID: aff633406ca2772554bad7b37f2dfbc409b6ea74 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: aff633406ca2772554bad7b37f2dfbc409b6ea74 Gitweb: http://git.kernel.org/tip/aff633406ca2772554bad7b37f2dfbc409b6ea74 Author: Chris Phlipot AuthorDate: Sat, 7 May 2016 02:17:00 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 9 May 2016 14:08:39 -0300 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 Cc: Adrian Hunter Cc: Peter Zijlstra Link: http://lkml.kernel.org/r/1462612620-25008-2-git-send-email-cphlipot0@gmail.com Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/util/scripting-engines/trace-event-python.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/util/scripting-engines/trace-event-python.c b/tools/perf/util/scripting-engines/trace-event-python.c index 091bce6..1546b74 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;