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

#include "probe-finder.h"
5
#include "strlist.h"
6 7

extern int parse_perf_probe_event(const char *str, struct probe_point *pp);
8 9 10
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);
11 12
extern int synthesize_trace_kprobe_event(struct probe_point *pp);
extern void add_trace_kprobe_events(struct probe_point *probes, int nr_probes);
13
extern void show_perf_probe_events(void);
14

15 16 17
/* Maximum index number of event-name postfix */
#define MAX_EVENT_INDEX	1024

18
#endif /*_PROBE_EVENT_H */