Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752256AbbHTJzT (ORCPT ); Thu, 20 Aug 2015 05:55:19 -0400 Received: from terminus.zytor.com ([198.137.202.10]:35042 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752222AbbHTJzR (ORCPT ); Thu, 20 Aug 2015 05:55:17 -0400 Date: Thu, 20 Aug 2015 02:55:02 -0700 From: tip-bot for Masami Hiramatsu Message-ID: Cc: dsahern@gmail.com, acme@redhat.com, tglx@linutronix.de, jolsa@redhat.com, hpa@zytor.com, mingo@kernel.org, linux-kernel@vger.kernel.org, masami.hiramatsu.pt@hitachi.com, namhyung@kernel.org Reply-To: linux-kernel@vger.kernel.org, hpa@zytor.com, jolsa@redhat.com, mingo@kernel.org, dsahern@gmail.com, acme@redhat.com, tglx@linutronix.de, namhyung@kernel.org, masami.hiramatsu.pt@hitachi.com In-Reply-To: <20150812215541.9088.62425.stgit@localhost.localdomain> References: <20150812215541.9088.62425.stgit@localhost.localdomain> To: linux-tip-commits@vger.kernel.org Subject: [tip:perf/core] perf probe: Fix to add missed brace around if block Git-Commit-ID: 86a76027457633488b0a83d5e2bb944159885605 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 Content-Length: 1992 Lines: 50 Commit-ID: 86a76027457633488b0a83d5e2bb944159885605 Gitweb: http://git.kernel.org/tip/86a76027457633488b0a83d5e2bb944159885605 Author: Masami Hiramatsu AuthorDate: Thu, 13 Aug 2015 06:55:41 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 13 Aug 2015 14:51:26 -0300 perf probe: Fix to add missed brace around if block The commit 75186a9b09e4 (perf probe: Fix to show lines of sys_ functions correctly) introduced a bug by a missed brace around if block. This fixes to add it. Signed-off-by: Masami Hiramatsu Cc: David Ahern Cc: Jiri Olsa Cc: Namhyung Kim Fixes: 75186a9b09e4 ("perf probe: Fix to show lines of sys_ functions correctly") Link: http://lkml.kernel.org/r/20150812215541.9088.62425.stgit@localhost.localdomain Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/util/dwarf-aux.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/perf/util/dwarf-aux.c b/tools/perf/util/dwarf-aux.c index 445f455..a509aa84 100644 --- a/tools/perf/util/dwarf-aux.c +++ b/tools/perf/util/dwarf-aux.c @@ -770,7 +770,7 @@ int die_walk_lines(Dwarf_Die *rt_die, line_walk_callback_t callback, void *data) continue; } /* Filter lines based on address */ - if (rt_die != cu_die) + if (rt_die != cu_die) { /* * Address filtering * The line is included in given function, and @@ -784,6 +784,7 @@ int die_walk_lines(Dwarf_Die *rt_die, line_walk_callback_t callback, void *data) decf != dwarf_decl_file(&die_mem)) continue; } + } /* Get source line */ fname = dwarf_linesrc(line, NULL, NULL); -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/