diff options
Diffstat (limited to 'include/linux/trace_seq.h')
-rw-r--r-- | include/linux/trace_seq.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/linux/trace_seq.h b/include/linux/trace_seq.h index a32d86ec8bf2..136116924d8d 100644 --- a/include/linux/trace_seq.h +++ b/include/linux/trace_seq.h | |||
@@ -46,6 +46,9 @@ extern int trace_seq_putmem_hex(struct trace_seq *s, const void *mem, | |||
46 | extern void *trace_seq_reserve(struct trace_seq *s, size_t len); | 46 | extern void *trace_seq_reserve(struct trace_seq *s, size_t len); |
47 | extern int trace_seq_path(struct trace_seq *s, const struct path *path); | 47 | extern int trace_seq_path(struct trace_seq *s, const struct path *path); |
48 | 48 | ||
49 | extern int trace_seq_bitmask(struct trace_seq *s, const unsigned long *maskp, | ||
50 | int nmaskbits); | ||
51 | |||
49 | #else /* CONFIG_TRACING */ | 52 | #else /* CONFIG_TRACING */ |
50 | static inline int trace_seq_printf(struct trace_seq *s, const char *fmt, ...) | 53 | static inline int trace_seq_printf(struct trace_seq *s, const char *fmt, ...) |
51 | { | 54 | { |
@@ -57,6 +60,13 @@ trace_seq_bprintf(struct trace_seq *s, const char *fmt, const u32 *binary) | |||
57 | return 0; | 60 | return 0; |
58 | } | 61 | } |
59 | 62 | ||
63 | static inline int | ||
64 | trace_seq_bitmask(struct trace_seq *s, const unsigned long *maskp, | ||
65 | int nmaskbits) | ||
66 | { | ||
67 | return 0; | ||
68 | } | ||
69 | |||
60 | static inline int trace_print_seq(struct seq_file *m, struct trace_seq *s) | 70 | static inline int trace_print_seq(struct seq_file *m, struct trace_seq *s) |
61 | { | 71 | { |
62 | return 0; | 72 | return 0; |