Root/tools/perf/util/probe-event.h

1#ifndef _PROBE_EVENT_H
2#define _PROBE_EVENT_H
3
4#include <stdbool.h>
5#include "probe-finder.h"
6#include "strlist.h"
7
8extern void parse_line_range_desc(const char *arg, struct line_range *lr);
9extern void parse_perf_probe_event(const char *str, struct probe_point *pp,
10                   bool *need_dwarf);
11extern int synthesize_perf_probe_point(struct probe_point *pp);
12extern int synthesize_perf_probe_event(struct probe_point *pp);
13extern void parse_trace_kprobe_event(const char *str, struct probe_point *pp);
14extern int synthesize_trace_kprobe_event(struct probe_point *pp);
15extern void add_trace_kprobe_events(struct probe_point *probes, int nr_probes,
16                    bool force_add);
17extern void del_trace_kprobe_events(struct strlist *dellist);
18extern void show_perf_probe_events(void);
19extern void show_line_range(struct line_range *lr);
20
21/* Maximum index number of event-name postfix */
22#define MAX_EVENT_INDEX 1024
23
24#endif /*_PROBE_EVENT_H */
25

Archive Download this file



interactive