diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-05-12 15:20:51 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2008-05-23 14:58:28 -0400 |
commit | e309b41dd65aa953f86765eeeecc941d8e1e8b8f (patch) | |
tree | 295d4ed6e2a766607f889a04b977ca27cc24929e /kernel/trace/trace.c | |
parent | b53dde9d34f2df396540988ebc65c33400f57b04 (diff) |
ftrace: remove notrace
now that we have a kbuild method for notrace, no need to pollute the
C code with the annotations.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/trace/trace.c')
-rw-r--r-- | kernel/trace/trace.c | 94 |
1 files changed, 47 insertions, 47 deletions
diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c index 9022c357032a..f5898051fdd9 100644 --- a/kernel/trace/trace.c +++ b/kernel/trace/trace.c | |||
@@ -35,7 +35,7 @@ unsigned long __read_mostly tracing_thresh; | |||
35 | 35 | ||
36 | static int tracing_disabled = 1; | 36 | static int tracing_disabled = 1; |
37 | 37 | ||
38 | static long notrace | 38 | static long |
39 | ns2usecs(cycle_t nsec) | 39 | ns2usecs(cycle_t nsec) |
40 | { | 40 | { |
41 | nsec += 500; | 41 | nsec += 500; |
@@ -43,7 +43,7 @@ ns2usecs(cycle_t nsec) | |||
43 | return nsec; | 43 | return nsec; |
44 | } | 44 | } |
45 | 45 | ||
46 | notrace cycle_t ftrace_now(int cpu) | 46 | cycle_t ftrace_now(int cpu) |
47 | { | 47 | { |
48 | return cpu_clock(cpu); | 48 | return cpu_clock(cpu); |
49 | } | 49 | } |
@@ -135,7 +135,7 @@ static DEFINE_SPINLOCK(ftrace_max_lock); | |||
135 | * structure. (this way the maximum trace is permanently saved, | 135 | * structure. (this way the maximum trace is permanently saved, |
136 | * for later retrieval via /debugfs/tracing/latency_trace) | 136 | * for later retrieval via /debugfs/tracing/latency_trace) |
137 | */ | 137 | */ |
138 | static notrace void | 138 | static void |
139 | __update_max_tr(struct trace_array *tr, struct task_struct *tsk, int cpu) | 139 | __update_max_tr(struct trace_array *tr, struct task_struct *tsk, int cpu) |
140 | { | 140 | { |
141 | struct trace_array_cpu *data = tr->data[cpu]; | 141 | struct trace_array_cpu *data = tr->data[cpu]; |
@@ -184,7 +184,7 @@ void *head_page(struct trace_array_cpu *data) | |||
184 | return page_address(page); | 184 | return page_address(page); |
185 | } | 185 | } |
186 | 186 | ||
187 | static notrace int | 187 | static int |
188 | trace_seq_printf(struct trace_seq *s, const char *fmt, ...) | 188 | trace_seq_printf(struct trace_seq *s, const char *fmt, ...) |
189 | { | 189 | { |
190 | int len = (PAGE_SIZE - 1) - s->len; | 190 | int len = (PAGE_SIZE - 1) - s->len; |
@@ -207,7 +207,7 @@ trace_seq_printf(struct trace_seq *s, const char *fmt, ...) | |||
207 | return len; | 207 | return len; |
208 | } | 208 | } |
209 | 209 | ||
210 | static notrace int | 210 | static int |
211 | trace_seq_puts(struct trace_seq *s, const char *str) | 211 | trace_seq_puts(struct trace_seq *s, const char *str) |
212 | { | 212 | { |
213 | int len = strlen(str); | 213 | int len = strlen(str); |
@@ -221,7 +221,7 @@ trace_seq_puts(struct trace_seq *s, const char *str) | |||
221 | return len; | 221 | return len; |
222 | } | 222 | } |
223 | 223 | ||
224 | static notrace int | 224 | static int |
225 | trace_seq_putc(struct trace_seq *s, unsigned char c) | 225 | trace_seq_putc(struct trace_seq *s, unsigned char c) |
226 | { | 226 | { |
227 | if (s->len >= (PAGE_SIZE - 1)) | 227 | if (s->len >= (PAGE_SIZE - 1)) |
@@ -232,7 +232,7 @@ trace_seq_putc(struct trace_seq *s, unsigned char c) | |||
232 | return 1; | 232 | return 1; |
233 | } | 233 | } |
234 | 234 | ||
235 | static notrace int | 235 | static int |
236 | trace_seq_putmem(struct trace_seq *s, void *mem, size_t len) | 236 | trace_seq_putmem(struct trace_seq *s, void *mem, size_t len) |
237 | { | 237 | { |
238 | if (len > ((PAGE_SIZE - 1) - s->len)) | 238 | if (len > ((PAGE_SIZE - 1) - s->len)) |
@@ -246,7 +246,7 @@ trace_seq_putmem(struct trace_seq *s, void *mem, size_t len) | |||
246 | 246 | ||
247 | #define HEX_CHARS 17 | 247 | #define HEX_CHARS 17 |
248 | 248 | ||
249 | static notrace int | 249 | static int |
250 | trace_seq_putmem_hex(struct trace_seq *s, void *mem, size_t len) | 250 | trace_seq_putmem_hex(struct trace_seq *s, void *mem, size_t len) |
251 | { | 251 | { |
252 | unsigned char hex[HEX_CHARS]; | 252 | unsigned char hex[HEX_CHARS]; |
@@ -285,13 +285,13 @@ trace_seq_putmem_hex(struct trace_seq *s, void *mem, size_t len) | |||
285 | return trace_seq_putmem(s, hex, j); | 285 | return trace_seq_putmem(s, hex, j); |
286 | } | 286 | } |
287 | 287 | ||
288 | static notrace void | 288 | static void |
289 | trace_seq_reset(struct trace_seq *s) | 289 | trace_seq_reset(struct trace_seq *s) |
290 | { | 290 | { |
291 | s->len = 0; | 291 | s->len = 0; |
292 | } | 292 | } |
293 | 293 | ||
294 | static notrace void | 294 | static void |
295 | trace_print_seq(struct seq_file *m, struct trace_seq *s) | 295 | trace_print_seq(struct seq_file *m, struct trace_seq *s) |
296 | { | 296 | { |
297 | int len = s->len >= PAGE_SIZE ? PAGE_SIZE - 1 : s->len; | 297 | int len = s->len >= PAGE_SIZE ? PAGE_SIZE - 1 : s->len; |
@@ -302,7 +302,7 @@ trace_print_seq(struct seq_file *m, struct trace_seq *s) | |||
302 | trace_seq_reset(s); | 302 | trace_seq_reset(s); |
303 | } | 303 | } |
304 | 304 | ||
305 | notrace static void | 305 | static void |
306 | flip_trace(struct trace_array_cpu *tr1, struct trace_array_cpu *tr2) | 306 | flip_trace(struct trace_array_cpu *tr1, struct trace_array_cpu *tr2) |
307 | { | 307 | { |
308 | struct list_head flip_pages; | 308 | struct list_head flip_pages; |
@@ -323,7 +323,7 @@ flip_trace(struct trace_array_cpu *tr1, struct trace_array_cpu *tr2) | |||
323 | check_pages(tr2); | 323 | check_pages(tr2); |
324 | } | 324 | } |
325 | 325 | ||
326 | notrace void | 326 | void |
327 | update_max_tr(struct trace_array *tr, struct task_struct *tsk, int cpu) | 327 | update_max_tr(struct trace_array *tr, struct task_struct *tsk, int cpu) |
328 | { | 328 | { |
329 | struct trace_array_cpu *data; | 329 | struct trace_array_cpu *data; |
@@ -348,7 +348,7 @@ update_max_tr(struct trace_array *tr, struct task_struct *tsk, int cpu) | |||
348 | * @tsk - task with the latency | 348 | * @tsk - task with the latency |
349 | * @cpu - the cpu of the buffer to copy. | 349 | * @cpu - the cpu of the buffer to copy. |
350 | */ | 350 | */ |
351 | notrace void | 351 | void |
352 | update_max_tr_single(struct trace_array *tr, struct task_struct *tsk, int cpu) | 352 | update_max_tr_single(struct trace_array *tr, struct task_struct *tsk, int cpu) |
353 | { | 353 | { |
354 | struct trace_array_cpu *data = tr->data[cpu]; | 354 | struct trace_array_cpu *data = tr->data[cpu]; |
@@ -471,7 +471,7 @@ void unregister_tracer(struct tracer *type) | |||
471 | mutex_unlock(&trace_types_lock); | 471 | mutex_unlock(&trace_types_lock); |
472 | } | 472 | } |
473 | 473 | ||
474 | notrace void tracing_reset(struct trace_array_cpu *data) | 474 | void tracing_reset(struct trace_array_cpu *data) |
475 | { | 475 | { |
476 | data->trace_idx = 0; | 476 | data->trace_idx = 0; |
477 | data->trace_head = data->trace_tail = head_page(data); | 477 | data->trace_head = data->trace_tail = head_page(data); |
@@ -494,9 +494,9 @@ static void trace_init_cmdlines(void) | |||
494 | cmdline_idx = 0; | 494 | cmdline_idx = 0; |
495 | } | 495 | } |
496 | 496 | ||
497 | notrace void trace_stop_cmdline_recording(void); | 497 | void trace_stop_cmdline_recording(void); |
498 | 498 | ||
499 | static notrace void trace_save_cmdline(struct task_struct *tsk) | 499 | static void trace_save_cmdline(struct task_struct *tsk) |
500 | { | 500 | { |
501 | unsigned map; | 501 | unsigned map; |
502 | unsigned idx; | 502 | unsigned idx; |
@@ -531,7 +531,7 @@ static notrace void trace_save_cmdline(struct task_struct *tsk) | |||
531 | spin_unlock(&trace_cmdline_lock); | 531 | spin_unlock(&trace_cmdline_lock); |
532 | } | 532 | } |
533 | 533 | ||
534 | static notrace char *trace_find_cmdline(int pid) | 534 | static char *trace_find_cmdline(int pid) |
535 | { | 535 | { |
536 | char *cmdline = "<...>"; | 536 | char *cmdline = "<...>"; |
537 | unsigned map; | 537 | unsigned map; |
@@ -552,7 +552,7 @@ static notrace char *trace_find_cmdline(int pid) | |||
552 | return cmdline; | 552 | return cmdline; |
553 | } | 553 | } |
554 | 554 | ||
555 | notrace void tracing_record_cmdline(struct task_struct *tsk) | 555 | void tracing_record_cmdline(struct task_struct *tsk) |
556 | { | 556 | { |
557 | if (atomic_read(&trace_record_cmdline_disabled)) | 557 | if (atomic_read(&trace_record_cmdline_disabled)) |
558 | return; | 558 | return; |
@@ -560,7 +560,7 @@ notrace void tracing_record_cmdline(struct task_struct *tsk) | |||
560 | trace_save_cmdline(tsk); | 560 | trace_save_cmdline(tsk); |
561 | } | 561 | } |
562 | 562 | ||
563 | static inline notrace struct list_head * | 563 | static inline struct list_head * |
564 | trace_next_list(struct trace_array_cpu *data, struct list_head *next) | 564 | trace_next_list(struct trace_array_cpu *data, struct list_head *next) |
565 | { | 565 | { |
566 | /* | 566 | /* |
@@ -574,7 +574,7 @@ trace_next_list(struct trace_array_cpu *data, struct list_head *next) | |||
574 | return next; | 574 | return next; |
575 | } | 575 | } |
576 | 576 | ||
577 | static inline notrace void * | 577 | static inline void * |
578 | trace_next_page(struct trace_array_cpu *data, void *addr) | 578 | trace_next_page(struct trace_array_cpu *data, void *addr) |
579 | { | 579 | { |
580 | struct list_head *next; | 580 | struct list_head *next; |
@@ -588,7 +588,7 @@ trace_next_page(struct trace_array_cpu *data, void *addr) | |||
588 | return page_address(page); | 588 | return page_address(page); |
589 | } | 589 | } |
590 | 590 | ||
591 | static inline notrace struct trace_entry * | 591 | static inline struct trace_entry * |
592 | tracing_get_trace_entry(struct trace_array *tr, struct trace_array_cpu *data) | 592 | tracing_get_trace_entry(struct trace_array *tr, struct trace_array_cpu *data) |
593 | { | 593 | { |
594 | unsigned long idx, idx_next; | 594 | unsigned long idx, idx_next; |
@@ -623,7 +623,7 @@ tracing_get_trace_entry(struct trace_array *tr, struct trace_array_cpu *data) | |||
623 | return entry; | 623 | return entry; |
624 | } | 624 | } |
625 | 625 | ||
626 | static inline notrace void | 626 | static inline void |
627 | tracing_generic_entry_update(struct trace_entry *entry, unsigned long flags) | 627 | tracing_generic_entry_update(struct trace_entry *entry, unsigned long flags) |
628 | { | 628 | { |
629 | struct task_struct *tsk = current; | 629 | struct task_struct *tsk = current; |
@@ -640,7 +640,7 @@ tracing_generic_entry_update(struct trace_entry *entry, unsigned long flags) | |||
640 | (need_resched() ? TRACE_FLAG_NEED_RESCHED : 0); | 640 | (need_resched() ? TRACE_FLAG_NEED_RESCHED : 0); |
641 | } | 641 | } |
642 | 642 | ||
643 | notrace void | 643 | void |
644 | trace_function(struct trace_array *tr, struct trace_array_cpu *data, | 644 | trace_function(struct trace_array *tr, struct trace_array_cpu *data, |
645 | unsigned long ip, unsigned long parent_ip, unsigned long flags) | 645 | unsigned long ip, unsigned long parent_ip, unsigned long flags) |
646 | { | 646 | { |
@@ -659,7 +659,7 @@ trace_function(struct trace_array *tr, struct trace_array_cpu *data, | |||
659 | wake_up (&trace_wait); | 659 | wake_up (&trace_wait); |
660 | } | 660 | } |
661 | 661 | ||
662 | notrace void | 662 | void |
663 | ftrace(struct trace_array *tr, struct trace_array_cpu *data, | 663 | ftrace(struct trace_array *tr, struct trace_array_cpu *data, |
664 | unsigned long ip, unsigned long parent_ip, unsigned long flags) | 664 | unsigned long ip, unsigned long parent_ip, unsigned long flags) |
665 | { | 665 | { |
@@ -667,7 +667,7 @@ ftrace(struct trace_array *tr, struct trace_array_cpu *data, | |||
667 | trace_function(tr, data, ip, parent_ip, flags); | 667 | trace_function(tr, data, ip, parent_ip, flags); |
668 | } | 668 | } |
669 | 669 | ||
670 | notrace void | 670 | void |
671 | trace_special(struct trace_array *tr, struct trace_array_cpu *data, | 671 | trace_special(struct trace_array *tr, struct trace_array_cpu *data, |
672 | unsigned long arg1, unsigned long arg2, unsigned long arg3) | 672 | unsigned long arg1, unsigned long arg2, unsigned long arg3) |
673 | { | 673 | { |
@@ -687,7 +687,7 @@ trace_special(struct trace_array *tr, struct trace_array_cpu *data, | |||
687 | wake_up (&trace_wait); | 687 | wake_up (&trace_wait); |
688 | } | 688 | } |
689 | 689 | ||
690 | notrace void | 690 | void |
691 | tracing_sched_switch_trace(struct trace_array *tr, | 691 | tracing_sched_switch_trace(struct trace_array *tr, |
692 | struct trace_array_cpu *data, | 692 | struct trace_array_cpu *data, |
693 | struct task_struct *prev, struct task_struct *next, | 693 | struct task_struct *prev, struct task_struct *next, |
@@ -712,7 +712,7 @@ tracing_sched_switch_trace(struct trace_array *tr, | |||
712 | } | 712 | } |
713 | 713 | ||
714 | #ifdef CONFIG_FTRACE | 714 | #ifdef CONFIG_FTRACE |
715 | static notrace void | 715 | static void |
716 | function_trace_call(unsigned long ip, unsigned long parent_ip) | 716 | function_trace_call(unsigned long ip, unsigned long parent_ip) |
717 | { | 717 | { |
718 | struct trace_array *tr = &global_trace; | 718 | struct trace_array *tr = &global_trace; |
@@ -741,12 +741,12 @@ static struct ftrace_ops trace_ops __read_mostly = | |||
741 | .func = function_trace_call, | 741 | .func = function_trace_call, |
742 | }; | 742 | }; |
743 | 743 | ||
744 | notrace void tracing_start_function_trace(void) | 744 | void tracing_start_function_trace(void) |
745 | { | 745 | { |
746 | register_ftrace_function(&trace_ops); | 746 | register_ftrace_function(&trace_ops); |
747 | } | 747 | } |
748 | 748 | ||
749 | notrace void tracing_stop_function_trace(void) | 749 | void tracing_stop_function_trace(void) |
750 | { | 750 | { |
751 | unregister_ftrace_function(&trace_ops); | 751 | unregister_ftrace_function(&trace_ops); |
752 | } | 752 | } |
@@ -786,7 +786,7 @@ trace_entry_idx(struct trace_array *tr, struct trace_array_cpu *data, | |||
786 | return &array[iter->next_page_idx[cpu]]; | 786 | return &array[iter->next_page_idx[cpu]]; |
787 | } | 787 | } |
788 | 788 | ||
789 | static struct trace_entry * notrace | 789 | static struct trace_entry * |
790 | find_next_entry(struct trace_iterator *iter, int *ent_cpu) | 790 | find_next_entry(struct trace_iterator *iter, int *ent_cpu) |
791 | { | 791 | { |
792 | struct trace_array *tr = iter->tr; | 792 | struct trace_array *tr = iter->tr; |
@@ -813,7 +813,7 @@ find_next_entry(struct trace_iterator *iter, int *ent_cpu) | |||
813 | return next; | 813 | return next; |
814 | } | 814 | } |
815 | 815 | ||
816 | static notrace void trace_iterator_increment(struct trace_iterator *iter) | 816 | static void trace_iterator_increment(struct trace_iterator *iter) |
817 | { | 817 | { |
818 | iter->idx++; | 818 | iter->idx++; |
819 | iter->next_idx[iter->cpu]++; | 819 | iter->next_idx[iter->cpu]++; |
@@ -828,7 +828,7 @@ static notrace void trace_iterator_increment(struct trace_iterator *iter) | |||
828 | } | 828 | } |
829 | } | 829 | } |
830 | 830 | ||
831 | static notrace void trace_consume(struct trace_iterator *iter) | 831 | static void trace_consume(struct trace_iterator *iter) |
832 | { | 832 | { |
833 | struct trace_array_cpu *data = iter->tr->data[iter->cpu]; | 833 | struct trace_array_cpu *data = iter->tr->data[iter->cpu]; |
834 | 834 | ||
@@ -844,7 +844,7 @@ static notrace void trace_consume(struct trace_iterator *iter) | |||
844 | data->trace_idx = 0; | 844 | data->trace_idx = 0; |
845 | } | 845 | } |
846 | 846 | ||
847 | static notrace void *find_next_entry_inc(struct trace_iterator *iter) | 847 | static void *find_next_entry_inc(struct trace_iterator *iter) |
848 | { | 848 | { |
849 | struct trace_entry *next; | 849 | struct trace_entry *next; |
850 | int next_cpu = -1; | 850 | int next_cpu = -1; |
@@ -863,7 +863,7 @@ static notrace void *find_next_entry_inc(struct trace_iterator *iter) | |||
863 | return next ? iter : NULL; | 863 | return next ? iter : NULL; |
864 | } | 864 | } |
865 | 865 | ||
866 | static notrace void *s_next(struct seq_file *m, void *v, loff_t *pos) | 866 | static void *s_next(struct seq_file *m, void *v, loff_t *pos) |
867 | { | 867 | { |
868 | struct trace_iterator *iter = m->private; | 868 | struct trace_iterator *iter = m->private; |
869 | void *last_ent = iter->ent; | 869 | void *last_ent = iter->ent; |
@@ -978,7 +978,7 @@ seq_print_sym_offset(struct trace_seq *s, const char *fmt, | |||
978 | # define IP_FMT "%016lx" | 978 | # define IP_FMT "%016lx" |
979 | #endif | 979 | #endif |
980 | 980 | ||
981 | static notrace int | 981 | static int |
982 | seq_print_ip_sym(struct trace_seq *s, unsigned long ip, unsigned long sym_flags) | 982 | seq_print_ip_sym(struct trace_seq *s, unsigned long ip, unsigned long sym_flags) |
983 | { | 983 | { |
984 | int ret; | 984 | int ret; |
@@ -999,7 +999,7 @@ seq_print_ip_sym(struct trace_seq *s, unsigned long ip, unsigned long sym_flags) | |||
999 | return ret; | 999 | return ret; |
1000 | } | 1000 | } |
1001 | 1001 | ||
1002 | static notrace void print_lat_help_header(struct seq_file *m) | 1002 | static void print_lat_help_header(struct seq_file *m) |
1003 | { | 1003 | { |
1004 | seq_puts(m, "# _------=> CPU# \n"); | 1004 | seq_puts(m, "# _------=> CPU# \n"); |
1005 | seq_puts(m, "# / _-----=> irqs-off \n"); | 1005 | seq_puts(m, "# / _-----=> irqs-off \n"); |
@@ -1012,14 +1012,14 @@ static notrace void print_lat_help_header(struct seq_file *m) | |||
1012 | seq_puts(m, "# \\ / ||||| \\ | / \n"); | 1012 | seq_puts(m, "# \\ / ||||| \\ | / \n"); |
1013 | } | 1013 | } |
1014 | 1014 | ||
1015 | static notrace void print_func_help_header(struct seq_file *m) | 1015 | static void print_func_help_header(struct seq_file *m) |
1016 | { | 1016 | { |
1017 | seq_puts(m, "# TASK-PID CPU# TIMESTAMP FUNCTION\n"); | 1017 | seq_puts(m, "# TASK-PID CPU# TIMESTAMP FUNCTION\n"); |
1018 | seq_puts(m, "# | | | | |\n"); | 1018 | seq_puts(m, "# | | | | |\n"); |
1019 | } | 1019 | } |
1020 | 1020 | ||
1021 | 1021 | ||
1022 | static notrace void | 1022 | static void |
1023 | print_trace_header(struct seq_file *m, struct trace_iterator *iter) | 1023 | print_trace_header(struct seq_file *m, struct trace_iterator *iter) |
1024 | { | 1024 | { |
1025 | unsigned long sym_flags = (trace_flags & TRACE_ITER_SYM_MASK); | 1025 | unsigned long sym_flags = (trace_flags & TRACE_ITER_SYM_MASK); |
@@ -1090,7 +1090,7 @@ print_trace_header(struct seq_file *m, struct trace_iterator *iter) | |||
1090 | seq_puts(m, "\n"); | 1090 | seq_puts(m, "\n"); |
1091 | } | 1091 | } |
1092 | 1092 | ||
1093 | static notrace void | 1093 | static void |
1094 | lat_print_generic(struct trace_seq *s, struct trace_entry *entry, int cpu) | 1094 | lat_print_generic(struct trace_seq *s, struct trace_entry *entry, int cpu) |
1095 | { | 1095 | { |
1096 | int hardirq, softirq; | 1096 | int hardirq, softirq; |
@@ -1127,7 +1127,7 @@ lat_print_generic(struct trace_seq *s, struct trace_entry *entry, int cpu) | |||
1127 | 1127 | ||
1128 | unsigned long preempt_mark_thresh = 100; | 1128 | unsigned long preempt_mark_thresh = 100; |
1129 | 1129 | ||
1130 | static notrace void | 1130 | static void |
1131 | lat_print_timestamp(struct trace_seq *s, unsigned long long abs_usecs, | 1131 | lat_print_timestamp(struct trace_seq *s, unsigned long long abs_usecs, |
1132 | unsigned long rel_usecs) | 1132 | unsigned long rel_usecs) |
1133 | { | 1133 | { |
@@ -1142,7 +1142,7 @@ lat_print_timestamp(struct trace_seq *s, unsigned long long abs_usecs, | |||
1142 | 1142 | ||
1143 | static const char state_to_char[] = TASK_STATE_TO_CHAR_STR; | 1143 | static const char state_to_char[] = TASK_STATE_TO_CHAR_STR; |
1144 | 1144 | ||
1145 | static notrace int | 1145 | static int |
1146 | print_lat_fmt(struct trace_iterator *iter, unsigned int trace_idx, int cpu) | 1146 | print_lat_fmt(struct trace_iterator *iter, unsigned int trace_idx, int cpu) |
1147 | { | 1147 | { |
1148 | struct trace_seq *s = &iter->seq; | 1148 | struct trace_seq *s = &iter->seq; |
@@ -1206,7 +1206,7 @@ print_lat_fmt(struct trace_iterator *iter, unsigned int trace_idx, int cpu) | |||
1206 | return 1; | 1206 | return 1; |
1207 | } | 1207 | } |
1208 | 1208 | ||
1209 | static notrace int print_trace_fmt(struct trace_iterator *iter) | 1209 | static int print_trace_fmt(struct trace_iterator *iter) |
1210 | { | 1210 | { |
1211 | struct trace_seq *s = &iter->seq; | 1211 | struct trace_seq *s = &iter->seq; |
1212 | unsigned long sym_flags = (trace_flags & TRACE_ITER_SYM_MASK); | 1212 | unsigned long sym_flags = (trace_flags & TRACE_ITER_SYM_MASK); |
@@ -1279,7 +1279,7 @@ static notrace int print_trace_fmt(struct trace_iterator *iter) | |||
1279 | return 1; | 1279 | return 1; |
1280 | } | 1280 | } |
1281 | 1281 | ||
1282 | static notrace int print_raw_fmt(struct trace_iterator *iter) | 1282 | static int print_raw_fmt(struct trace_iterator *iter) |
1283 | { | 1283 | { |
1284 | struct trace_seq *s = &iter->seq; | 1284 | struct trace_seq *s = &iter->seq; |
1285 | struct trace_entry *entry; | 1285 | struct trace_entry *entry; |
@@ -1336,7 +1336,7 @@ do { \ | |||
1336 | return 0; \ | 1336 | return 0; \ |
1337 | } while (0) | 1337 | } while (0) |
1338 | 1338 | ||
1339 | static notrace int print_hex_fmt(struct trace_iterator *iter) | 1339 | static int print_hex_fmt(struct trace_iterator *iter) |
1340 | { | 1340 | { |
1341 | struct trace_seq *s = &iter->seq; | 1341 | struct trace_seq *s = &iter->seq; |
1342 | unsigned char newline = '\n'; | 1342 | unsigned char newline = '\n'; |
@@ -1375,7 +1375,7 @@ static notrace int print_hex_fmt(struct trace_iterator *iter) | |||
1375 | return 1; | 1375 | return 1; |
1376 | } | 1376 | } |
1377 | 1377 | ||
1378 | static notrace int print_bin_fmt(struct trace_iterator *iter) | 1378 | static int print_bin_fmt(struct trace_iterator *iter) |
1379 | { | 1379 | { |
1380 | struct trace_seq *s = &iter->seq; | 1380 | struct trace_seq *s = &iter->seq; |
1381 | struct trace_entry *entry; | 1381 | struct trace_entry *entry; |
@@ -1475,7 +1475,7 @@ static struct seq_operations tracer_seq_ops = { | |||
1475 | .show = s_show, | 1475 | .show = s_show, |
1476 | }; | 1476 | }; |
1477 | 1477 | ||
1478 | static struct trace_iterator notrace * | 1478 | static struct trace_iterator * |
1479 | __tracing_open(struct inode *inode, struct file *file, int *ret) | 1479 | __tracing_open(struct inode *inode, struct file *file, int *ret) |
1480 | { | 1480 | { |
1481 | struct trace_iterator *iter; | 1481 | struct trace_iterator *iter; |
@@ -1572,7 +1572,7 @@ static int tracing_lt_open(struct inode *inode, struct file *file) | |||
1572 | } | 1572 | } |
1573 | 1573 | ||
1574 | 1574 | ||
1575 | static notrace void * | 1575 | static void * |
1576 | t_next(struct seq_file *m, void *v, loff_t *pos) | 1576 | t_next(struct seq_file *m, void *v, loff_t *pos) |
1577 | { | 1577 | { |
1578 | struct tracer *t = m->private; | 1578 | struct tracer *t = m->private; |