2009-12-01 08:19:58 +08:00
|
|
|
#ifndef _PROBE_EVENT_H
|
|
|
|
#define _PROBE_EVENT_H
|
|
|
|
|
2009-12-15 23:31:14 +08:00
|
|
|
#include <stdbool.h>
|
2009-12-01 08:19:58 +08:00
|
|
|
#include "probe-finder.h"
|
2009-12-01 08:20:17 +08:00
|
|
|
#include "strlist.h"
|
2009-12-01 08:19:58 +08:00
|
|
|
|
2009-12-15 23:31:14 +08:00
|
|
|
extern void parse_perf_probe_event(const char *str, struct probe_point *pp,
|
|
|
|
bool *need_dwarf);
|
2009-12-01 08:20:17 +08:00
|
|
|
extern int synthesize_perf_probe_event(struct probe_point *pp);
|
2009-12-15 23:32:18 +08:00
|
|
|
extern void parse_trace_kprobe_event(const char *str, struct probe_point *pp);
|
2009-12-01 08:19:58 +08:00
|
|
|
extern int synthesize_trace_kprobe_event(struct probe_point *pp);
|
|
|
|
extern void add_trace_kprobe_events(struct probe_point *probes, int nr_probes);
|
2009-12-09 06:03:23 +08:00
|
|
|
extern void del_trace_kprobe_events(struct strlist *dellist);
|
2009-12-01 08:20:17 +08:00
|
|
|
extern void show_perf_probe_events(void);
|
2009-12-01 08:19:58 +08:00
|
|
|
|
2009-12-01 08:20:25 +08:00
|
|
|
/* Maximum index number of event-name postfix */
|
|
|
|
#define MAX_EVENT_INDEX 1024
|
|
|
|
|
2009-12-01 08:19:58 +08:00
|
|
|
#endif /*_PROBE_EVENT_H */
|