probe-event.h 806 字节
Newer Older
1 2 3
#ifndef _PROBE_EVENT_H
#define _PROBE_EVENT_H

4
#include <stdbool.h>
5
#include "probe-finder.h"
6
#include "strlist.h"
7

8 9
extern void parse_perf_probe_event(const char *str, struct probe_point *pp,
				   bool *need_dwarf);
10
extern int synthesize_perf_probe_point(struct probe_point *pp);
11
extern int synthesize_perf_probe_event(struct probe_point *pp);
12
extern void parse_trace_kprobe_event(const char *str, struct probe_point *pp);
13
extern int synthesize_trace_kprobe_event(struct probe_point *pp);
14 15
extern void add_trace_kprobe_events(struct probe_point *probes, int nr_probes,
				    bool force_add);
16
extern void del_trace_kprobe_events(struct strlist *dellist);
17
extern void show_perf_probe_events(void);
18

19 20 21
/* Maximum index number of event-name postfix */
#define MAX_EVENT_INDEX	1024

22
#endif /*_PROBE_EVENT_H */