probe-event.h 718 字节
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_event(struct probe_point *pp);
11
extern void parse_trace_kprobe_event(const char *str, struct probe_point *pp);
12 13
extern int synthesize_trace_kprobe_event(struct probe_point *pp);
extern void add_trace_kprobe_events(struct probe_point *probes, int nr_probes);
14
extern void del_trace_kprobe_events(struct strlist *dellist);
15
extern void show_perf_probe_events(void);
16

17 18 19
/* Maximum index number of event-name postfix */
#define MAX_EVENT_INDEX	1024

20
#endif /*_PROBE_EVENT_H */