aboutsummaryrefslogtreecommitdiffstats
path: root/plugin_hrtimer.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugin_hrtimer.c')
-rw-r--r--plugin_hrtimer.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugin_hrtimer.c b/plugin_hrtimer.c
index 69529c6..01f8ff3 100644
--- a/plugin_hrtimer.c
+++ b/plugin_hrtimer.c
@@ -6,7 +6,7 @@
6 6
7/* return -1 (field not found/not valid number), 0 (ok), 1 (buffer full) */ 7/* return -1 (field not found/not valid number), 0 (ok), 1 (buffer full) */
8static int _print_field(struct trace_seq *s, const char *fmt, 8static int _print_field(struct trace_seq *s, const char *fmt,
9 struct event *event, const char *name, const void *data) 9 struct event_format *event, const char *name, const void *data)
10{ 10{
11 struct format_field *f = pevent_find_field(event, name); 11 struct format_field *f = pevent_find_field(event, name);
12 unsigned long long val; 12 unsigned long long val;
@@ -22,7 +22,7 @@ static int _print_field(struct trace_seq *s, const char *fmt,
22 22
23/* return 0 (ok), 1 (buffer full) */ 23/* return 0 (ok), 1 (buffer full) */
24static void print_field(struct trace_seq *s, const char *fmt, 24static void print_field(struct trace_seq *s, const char *fmt,
25 struct event *event, const char *name, const void *data) 25 struct event_format *event, const char *name, const void *data)
26{ 26{
27 int ret = _print_field(s, fmt, event, name, data); 27 int ret = _print_field(s, fmt, event, name, data);
28 28
@@ -31,7 +31,7 @@ static void print_field(struct trace_seq *s, const char *fmt,
31} 31}
32 32
33static int timer_expire_handler(struct trace_seq *s, void *data, int size, 33static int timer_expire_handler(struct trace_seq *s, void *data, int size,
34 struct event *event, int cpu, 34 struct event_format *event, int cpu,
35 unsigned long long nsecs) 35 unsigned long long nsecs)
36{ 36{
37 trace_seq_printf(s, "hrtimer="); 37 trace_seq_printf(s, "hrtimer=");
@@ -47,7 +47,7 @@ static int timer_expire_handler(struct trace_seq *s, void *data, int size,
47} 47}
48 48
49static int timer_start_handler(struct trace_seq *s, void *data, int size, 49static int timer_start_handler(struct trace_seq *s, void *data, int size,
50 struct event *event, int cpu, 50 struct event_format *event, int cpu,
51 unsigned long long nsecs) 51 unsigned long long nsecs)
52{ 52{
53 struct pevent *pevent = event->pevent; 53 struct pevent *pevent = event->pevent;