diff options
Diffstat (limited to 'tools/perf/util/probe-event.h')
-rw-r--r-- | tools/perf/util/probe-event.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/tools/perf/util/probe-event.h b/tools/perf/util/probe-event.h index c74b1fd2c1fa..5accbedfea37 100644 --- a/tools/perf/util/probe-event.h +++ b/tools/perf/util/probe-event.h | |||
@@ -115,14 +115,18 @@ extern void clear_perf_probe_event(struct perf_probe_event *pev); | |||
115 | /* Command string to line-range */ | 115 | /* Command string to line-range */ |
116 | extern int parse_line_range_desc(const char *cmd, struct line_range *lr); | 116 | extern int parse_line_range_desc(const char *cmd, struct line_range *lr); |
117 | 117 | ||
118 | /* Internal use: Return kernel/module path */ | ||
119 | extern const char *kernel_get_module_path(const char *module); | ||
118 | 120 | ||
119 | extern int add_perf_probe_events(struct perf_probe_event *pevs, int npevs, | 121 | extern int add_perf_probe_events(struct perf_probe_event *pevs, int npevs, |
120 | int max_probe_points, bool force_add); | 122 | int max_probe_points, const char *module, |
123 | bool force_add); | ||
121 | extern int del_perf_probe_events(struct strlist *dellist); | 124 | extern int del_perf_probe_events(struct strlist *dellist); |
122 | extern int show_perf_probe_events(void); | 125 | extern int show_perf_probe_events(void); |
123 | extern int show_line_range(struct line_range *lr); | 126 | extern int show_line_range(struct line_range *lr, const char *module); |
124 | extern int show_available_vars(struct perf_probe_event *pevs, int npevs, | 127 | extern int show_available_vars(struct perf_probe_event *pevs, int npevs, |
125 | int max_probe_points, bool externs); | 128 | int max_probe_points, const char *module, |
129 | bool externs); | ||
126 | 130 | ||
127 | 131 | ||
128 | /* Maximum index number of event-name postfix */ | 132 | /* Maximum index number of event-name postfix */ |