diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-04-07 07:47:33 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-04-07 07:47:45 -0400 |
commit | 93776a8ec746cf9d32c36e5a5b23d28d8be28826 (patch) | |
tree | 6c472ae9f709246ee5268e1d71559d07839fb965 /kernel/trace/trace_output.h | |
parent | 34886c8bc590f078d4c0b88f50d061326639198d (diff) | |
parent | d508afb437daee7cf07da085b635c44a4ebf9b38 (diff) |
Merge branch 'linus' into tracing/core
Merge reason: update to upstream tracing facilities
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/trace/trace_output.h')
-rw-r--r-- | kernel/trace/trace_output.h | 33 |
1 files changed, 18 insertions, 15 deletions
diff --git a/kernel/trace/trace_output.h b/kernel/trace/trace_output.h index 1eac2973374e..91630217fb46 100644 --- a/kernel/trace/trace_output.h +++ b/kernel/trace/trace_output.h | |||
@@ -31,24 +31,27 @@ seq_print_ip_sym(struct trace_seq *s, unsigned long ip, | |||
31 | unsigned long sym_flags); | 31 | unsigned long sym_flags); |
32 | extern ssize_t trace_seq_to_user(struct trace_seq *s, char __user *ubuf, | 32 | extern ssize_t trace_seq_to_user(struct trace_seq *s, char __user *ubuf, |
33 | size_t cnt); | 33 | size_t cnt); |
34 | int trace_seq_puts(struct trace_seq *s, const char *str); | 34 | extern int trace_seq_puts(struct trace_seq *s, const char *str); |
35 | int trace_seq_putc(struct trace_seq *s, unsigned char c); | 35 | extern int trace_seq_putc(struct trace_seq *s, unsigned char c); |
36 | int trace_seq_putmem(struct trace_seq *s, void *mem, size_t len); | 36 | extern int trace_seq_putmem(struct trace_seq *s, const void *mem, size_t len); |
37 | int trace_seq_putmem_hex(struct trace_seq *s, void *mem, size_t len); | 37 | extern int trace_seq_putmem_hex(struct trace_seq *s, const void *mem, |
38 | int trace_seq_path(struct trace_seq *s, struct path *path); | 38 | size_t len); |
39 | int seq_print_userip_objs(const struct userstack_entry *entry, | 39 | extern void *trace_seq_reserve(struct trace_seq *s, size_t len); |
40 | struct trace_seq *s, unsigned long sym_flags); | 40 | extern int trace_seq_path(struct trace_seq *s, struct path *path); |
41 | int seq_print_user_ip(struct trace_seq *s, struct mm_struct *mm, | 41 | extern int seq_print_userip_objs(const struct userstack_entry *entry, |
42 | unsigned long ip, unsigned long sym_flags); | 42 | struct trace_seq *s, unsigned long sym_flags); |
43 | extern int seq_print_user_ip(struct trace_seq *s, struct mm_struct *mm, | ||
44 | unsigned long ip, unsigned long sym_flags); | ||
43 | 45 | ||
44 | int trace_print_context(struct trace_iterator *iter); | 46 | extern int trace_print_context(struct trace_iterator *iter); |
45 | int trace_print_lat_context(struct trace_iterator *iter); | 47 | extern int trace_print_lat_context(struct trace_iterator *iter); |
46 | 48 | ||
47 | struct trace_event *ftrace_find_event(int type); | 49 | extern struct trace_event *ftrace_find_event(int type); |
48 | int register_ftrace_event(struct trace_event *event); | 50 | extern int register_ftrace_event(struct trace_event *event); |
49 | int unregister_ftrace_event(struct trace_event *event); | 51 | extern int unregister_ftrace_event(struct trace_event *event); |
50 | 52 | ||
51 | enum print_line_t trace_nop_print(struct trace_iterator *iter, int flags); | 53 | extern enum print_line_t trace_nop_print(struct trace_iterator *iter, |
54 | int flags); | ||
52 | 55 | ||
53 | #define MAX_MEMHEX_BYTES 8 | 56 | #define MAX_MEMHEX_BYTES 8 |
54 | #define HEX_CHARS (MAX_MEMHEX_BYTES*2 + 1) | 57 | #define HEX_CHARS (MAX_MEMHEX_BYTES*2 + 1) |