From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751297AbdGQGDY (ORCPT ); Mon, 17 Jul 2017 02:03:24 -0400 Received: from mail-pg0-f44.google.com ([74.125.83.44]:36795 "EHLO mail-pg0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751249AbdGQGDW (ORCPT ); Mon, 17 Jul 2017 02:03:22 -0400 From: David Carrillo-Cisneros To: linux-kernel@vger.kernel.org Cc: Peter Zijlstra , Krister Johansen , Alexander Shishkin , Brendan Gregg , Thomas-Mich Richter , Stephane Eranian , Paul Turner , David Carrillo-Cisneros Subject: [PATCH] perf tools probe: update show_line_range arguments Date: Sun, 16 Jul 2017 23:03:05 -0700 Message-Id: <20170717060305.45766-1-davidcc@google.com> X-Mailer: git-send-email 2.13.2.932.g7449e964c-goog Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org commit 801bc8193463 ("perf probe: Allow placing uprobes in alternate namespaces.") did not add the new struct nsinfo argument to show_line_range for the case where HAVE_DWARF_SUPPORT is undefined, giving a compilation error when dwarf is not available. Fix it. Signed-off-by: David Carrillo-Cisneros --- tools/perf/util/probe-event.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/perf/util/probe-event.c b/tools/perf/util/probe-event.c index 5770a23ed213..d7cd1142f4c6 100644 --- a/tools/perf/util/probe-event.c +++ b/tools/perf/util/probe-event.c @@ -1176,6 +1176,7 @@ static int try_to_find_probe_trace_events(struct perf_probe_event *pev, int show_line_range(struct line_range *lr __maybe_unused, const char *module __maybe_unused, + struct nsinfo *nsi __maybe_unused, bool user __maybe_unused) { pr_warning("Debuginfo-analysis is not supported.\n"); -- 2.13.2.932.g7449e964c-goog