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