diff options
author | Steven Rostedt <srostedt@redhat.com> | 2009-11-24 19:28:27 -0500 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2009-11-24 19:28:27 -0500 |
commit | e0b688a1ed55419656a2df5b0fe3e6dfcc34b598 (patch) | |
tree | 5a3e79a260e233c1098d1279be4d524a111ec6a8 /parse-events.c | |
parent | c03ba8fdbc9ab495a2a4fb6b644f9f2810f183fe (diff) |
Rename parse_event_file to pevent_parse_event and remove parse_ftrace_file
Remove all users of parse_ftrace_file, and now use pevent_parse_event().
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'parse-events.c')
-rw-r--r-- | parse-events.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/parse-events.c b/parse-events.c index 40b25d4..5f02519 100644 --- a/parse-events.c +++ b/parse-events.c | |||
@@ -3379,7 +3379,7 @@ static void parse_header_field(const char *field, | |||
3379 | free_token(token); | 3379 | free_token(token); |
3380 | } | 3380 | } |
3381 | 3381 | ||
3382 | int parse_header_page(char *buf, unsigned long size) | 3382 | int pevent_parse_header_page(char *buf, unsigned long size) |
3383 | { | 3383 | { |
3384 | if (!size) { | 3384 | if (!size) { |
3385 | /* | 3385 | /* |
@@ -3404,7 +3404,7 @@ int parse_header_page(char *buf, unsigned long size) | |||
3404 | return 0; | 3404 | return 0; |
3405 | } | 3405 | } |
3406 | 3406 | ||
3407 | int parse_event_file(char *buf, unsigned long size, char *sys) | 3407 | int pevent_parse_event(char *buf, unsigned long size, char *sys) |
3408 | { | 3408 | { |
3409 | struct event *event; | 3409 | struct event *event; |
3410 | int ret; | 3410 | int ret; |
@@ -3488,11 +3488,6 @@ int parse_event_file(char *buf, unsigned long size, char *sys) | |||
3488 | return -1; | 3488 | return -1; |
3489 | } | 3489 | } |
3490 | 3490 | ||
3491 | int parse_ftrace_file(char *buf, unsigned long size) | ||
3492 | { | ||
3493 | return parse_event_file(buf, size, "ftrace"); | ||
3494 | } | ||
3495 | |||
3496 | void parse_set_info(int nr_cpus, int long_sz) | 3491 | void parse_set_info(int nr_cpus, int long_sz) |
3497 | { | 3492 | { |
3498 | cpus = nr_cpus; | 3493 | cpus = nr_cpus; |