diff options
Diffstat (limited to 'tools/lib/traceevent/event-parse.c')
-rw-r--r-- | tools/lib/traceevent/event-parse.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/tools/lib/traceevent/event-parse.c b/tools/lib/traceevent/event-parse.c index 82b0606dcb8a..d1c2a6a4cd32 100644 --- a/tools/lib/traceevent/event-parse.c +++ b/tools/lib/traceevent/event-parse.c | |||
@@ -5450,10 +5450,9 @@ int pevent_register_print_function(struct pevent *pevent, | |||
5450 | * If @id is >= 0, then it is used to find the event. | 5450 | * If @id is >= 0, then it is used to find the event. |
5451 | * else @sys_name and @event_name are used. | 5451 | * else @sys_name and @event_name are used. |
5452 | */ | 5452 | */ |
5453 | int pevent_register_event_handler(struct pevent *pevent, | 5453 | int pevent_register_event_handler(struct pevent *pevent, int id, |
5454 | int id, char *sys_name, char *event_name, | 5454 | const char *sys_name, const char *event_name, |
5455 | pevent_event_handler_func func, | 5455 | pevent_event_handler_func func, void *context) |
5456 | void *context) | ||
5457 | { | 5456 | { |
5458 | struct event_format *event; | 5457 | struct event_format *event; |
5459 | struct event_handler *handle; | 5458 | struct event_handler *handle; |