![Masami Hiramatsu](/assets/img/avatar_default.png)
Support perf probe --del <event> option. Currently, perf probe can have only one event for each --del option. If you'd like to delete several probe events, you need to specify --del for each events. Signed-off-by: Masami Hiramatsu <mhiramat@redhat.com> Cc: Steven Rostedt <rostedt@goodmis.org> Cc: Jim Keniston <jkenisto@us.ibm.com> Cc: Ananth N Mavinakayanahalli <ananth@in.ibm.com> Cc: Christoph Hellwig <hch@infradead.org> Cc: Frank Ch. Eigler <fche@redhat.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Jason Baron <jbaron@redhat.com> Cc: K.Prasad <prasad@linux.vnet.ibm.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Srikar Dronamraju <srikar@linux.vnet.ibm.com> Cc: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: systemtap <systemtap@sources.redhat.com> Cc: DLE <dle-develop@lists.sourceforge.net> LKML-Reference: <20091208220323.10142.62079.stgit@dhcp-100-2-132.bos.redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
20 lines
708 B
C
20 lines
708 B
C
#ifndef _PROBE_EVENT_H
|
|
#define _PROBE_EVENT_H
|
|
|
|
#include "probe-finder.h"
|
|
#include "strlist.h"
|
|
|
|
extern int parse_perf_probe_event(const char *str, struct probe_point *pp);
|
|
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);
|
|
extern int synthesize_trace_kprobe_event(struct probe_point *pp);
|
|
extern void add_trace_kprobe_events(struct probe_point *probes, int nr_probes);
|
|
extern void del_trace_kprobe_events(struct strlist *dellist);
|
|
extern void show_perf_probe_events(void);
|
|
|
|
/* Maximum index number of event-name postfix */
|
|
#define MAX_EVENT_INDEX 1024
|
|
|
|
#endif /*_PROBE_EVENT_H */
|