tracing/dynevent: Pass extra arguments to match operation
Pass extra arguments to match operation for checking exact match. If the event doesn't support exact match, it will be ignored. Link: http://lkml.kernel.org/r/156095685930.28024.10405547027475590975.stgit@devnote2 Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
This commit is contained in:

committed by
Steven Rostedt (VMware)

父節點
cb8e7a8d55
當前提交
30199137c8
@@ -374,7 +374,7 @@ static int synth_event_show(struct seq_file *m, struct dyn_event *ev);
|
||||
static int synth_event_release(struct dyn_event *ev);
|
||||
static bool synth_event_is_busy(struct dyn_event *ev);
|
||||
static bool synth_event_match(const char *system, const char *event,
|
||||
struct dyn_event *ev);
|
||||
int argc, const char **argv, struct dyn_event *ev);
|
||||
|
||||
static struct dyn_event_operations synth_event_ops = {
|
||||
.create = synth_event_create,
|
||||
@@ -422,7 +422,7 @@ static bool synth_event_is_busy(struct dyn_event *ev)
|
||||
}
|
||||
|
||||
static bool synth_event_match(const char *system, const char *event,
|
||||
struct dyn_event *ev)
|
||||
int argc, const char **argv, struct dyn_event *ev)
|
||||
{
|
||||
struct synth_event *sev = to_synth_event(ev);
|
||||
|
||||
|
Reference in New Issue
Block a user