aboutsummaryrefslogtreecommitdiffstats
path: root/parse-events.c
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2009-11-24 19:28:27 -0500
committerSteven Rostedt <rostedt@goodmis.org>2009-11-24 19:28:27 -0500
commite0b688a1ed55419656a2df5b0fe3e6dfcc34b598 (patch)
tree5a3e79a260e233c1098d1279be4d524a111ec6a8 /parse-events.c
parentc03ba8fdbc9ab495a2a4fb6b644f9f2810f183fe (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.c9
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
3382int parse_header_page(char *buf, unsigned long size) 3382int 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
3407int parse_event_file(char *buf, unsigned long size, char *sys) 3407int 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
3491int parse_ftrace_file(char *buf, unsigned long size)
3492{
3493 return parse_event_file(buf, size, "ftrace");
3494}
3495
3496void parse_set_info(int nr_cpus, int long_sz) 3491void parse_set_info(int nr_cpus, int long_sz)
3497{ 3492{
3498 cpus = nr_cpus; 3493 cpus = nr_cpus;