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

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

21
#endif /*_PROBE_EVENT_H */