aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/kernel.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2010-05-19 02:01:55 -0400
committerDavid S. Miller <davem@davemloft.net>2010-05-19 02:01:55 -0400
commit2ec8c6bb5d8f3a62a79f463525054bae1e3d4487 (patch)
treefa7f8400ac685fb52e96f64997c7c682fc2aa021 /include/linux/kernel.h
parent7b39f90fabcf9e2af0cd79d0a60440d821e22b56 (diff)
parent537b60d17894b7c19a6060feae40299d7109d6e7 (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.h11
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) { }
492static inline void tracing_off_permanent(void) { } 492static inline void tracing_off_permanent(void) { }
493static inline int tracing_is_on(void) { return 0; } 493static inline int tracing_is_on(void) { return 0; }
494#endif 494#endif
495
496enum ftrace_dump_mode {
497 DUMP_NONE,
498 DUMP_ALL,
499 DUMP_ORIG,
500};
501
495#ifdef CONFIG_TRACING 502#ifdef CONFIG_TRACING
496extern void tracing_start(void); 503extern void tracing_start(void);
497extern void tracing_stop(void); 504extern void tracing_stop(void);
@@ -573,7 +580,7 @@ __ftrace_vbprintk(unsigned long ip, const char *fmt, va_list ap);
573extern int 580extern 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
576extern void ftrace_dump(void); 583extern void ftrace_dump(enum ftrace_dump_mode oops_dump_mode);
577#else 584#else
578static inline void 585static inline void
579ftrace_special(unsigned long arg1, unsigned long arg2, unsigned long arg3) { } 586ftrace_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}
597static inline void ftrace_dump(void) { } 604static inline void ftrace_dump(enum ftrace_dump_mode oops_dump_mode) { }
598#endif /* CONFIG_TRACING */ 605#endif /* CONFIG_TRACING */
599 606
600/* 607/*