Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1688676 > unrolled thread

[PATCH] perf tools probe: update show_line_range arguments

Started byDavid Carrillo-Cisneros <davidcc@google.com>
First post2017-07-17 08:10 +0200
Last post2017-07-17 08:10 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH] perf tools probe: update show_line_range arguments David Carrillo-Cisneros <davidcc@google.com> - 2017-07-17 08:10 +0200

#1688676 — [PATCH] perf tools probe: update show_line_range arguments

FromDavid Carrillo-Cisneros <davidcc@google.com>
Date2017-07-17 08:10 +0200
Subject[PATCH] perf tools probe: update show_line_range arguments
Message-ID<u47od-1fK-3@gated-at.bofh.it>
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 <davidcc@google.com>
---
 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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web