diff options
author | David S. Miller <davem@davemloft.net> | 2010-05-19 02:01:55 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-05-19 02:01:55 -0400 |
commit | 2ec8c6bb5d8f3a62a79f463525054bae1e3d4487 (patch) | |
tree | fa7f8400ac685fb52e96f64997c7c682fc2aa021 /include/linux/kernel.h | |
parent | 7b39f90fabcf9e2af0cd79d0a60440d821e22b56 (diff) | |
parent | 537b60d17894b7c19a6060feae40299d7109d6e7 (diff) |
Merge branch 'master' of /home/davem/src/GIT/linux-2.6/
Conflicts:
include/linux/mod_devicetable.h
scripts/mod/file2alias.c
Diffstat (limited to 'include/linux/kernel.h')
-rw-r--r-- | include/linux/kernel.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/include/linux/kernel.h b/include/linux/kernel.h index a38d6bd6fde6..fc33af911852 100644 --- a/include/linux/kernel.h +++ b/include/linux/kernel.h | |||
@@ -492,6 +492,13 @@ static inline void tracing_off(void) { } | |||
492 | static inline void tracing_off_permanent(void) { } | 492 | static inline void tracing_off_permanent(void) { } |
493 | static inline int tracing_is_on(void) { return 0; } | 493 | static inline int tracing_is_on(void) { return 0; } |
494 | #endif | 494 | #endif |
495 | |||
496 | enum ftrace_dump_mode { | ||
497 | DUMP_NONE, | ||
498 | DUMP_ALL, | ||
499 | DUMP_ORIG, | ||
500 | }; | ||
501 | |||
495 | #ifdef CONFIG_TRACING | 502 | #ifdef CONFIG_TRACING |
496 | extern void tracing_start(void); | 503 | extern void tracing_start(void); |
497 | extern void tracing_stop(void); | 504 | extern void tracing_stop(void); |
@@ -573,7 +580,7 @@ __ftrace_vbprintk(unsigned long ip, const char *fmt, va_list ap); | |||
573 | extern int | 580 | extern int |
574 | __ftrace_vprintk(unsigned long ip, const char *fmt, va_list ap); | 581 | __ftrace_vprintk(unsigned long ip, const char *fmt, va_list ap); |
575 | 582 | ||
576 | extern void ftrace_dump(void); | 583 | extern void ftrace_dump(enum ftrace_dump_mode oops_dump_mode); |
577 | #else | 584 | #else |
578 | static inline void | 585 | static inline void |
579 | ftrace_special(unsigned long arg1, unsigned long arg2, unsigned long arg3) { } | 586 | ftrace_special(unsigned long arg1, unsigned long arg2, unsigned long arg3) { } |
@@ -594,7 +601,7 @@ ftrace_vprintk(const char *fmt, va_list ap) | |||
594 | { | 601 | { |
595 | return 0; | 602 | return 0; |
596 | } | 603 | } |
597 | static inline void ftrace_dump(void) { } | 604 | static inline void ftrace_dump(enum ftrace_dump_mode oops_dump_mode) { } |
598 | #endif /* CONFIG_TRACING */ | 605 | #endif /* CONFIG_TRACING */ |
599 | 606 | ||
600 | /* | 607 | /* |