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