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