diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-03-05 10:24:48 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-03-05 10:24:48 +0100 |
commit | 5e1607a00bd082972629d3d68c95c8bcf902b55a (patch) | |
tree | 2751baf5ee286cdec8f4b1afcb7332f4c1f5f454 /Documentation | |
parent | Merge branch 'tip/tracing/ftrace' of git://git.kernel.org/pub/scm/linux/kerne... (diff) | |
download | linux-5e1607a00bd082972629d3d68c95c8bcf902b55a.tar.xz linux-5e1607a00bd082972629d3d68c95c8bcf902b55a.zip |
tracing: rename ftrace_printk() => trace_printk()
Impact: cleanup
Use a more generic name - this also allows the prototype to move
to kernel.h and be generally available to kernel developers who
want to do some quick tracing.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/ftrace.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/ftrace.txt b/Documentation/ftrace.txt index 2041ee951c1a..22614bef6359 100644 --- a/Documentation/ftrace.txt +++ b/Documentation/ftrace.txt @@ -1466,11 +1466,11 @@ want, depending on your needs. You can put some comments on specific functions by using -ftrace_printk() For example, if you want to put a comment inside +trace_printk() For example, if you want to put a comment inside the __might_sleep() function, you just have to include -<linux/ftrace.h> and call ftrace_printk() inside __might_sleep() +<linux/ftrace.h> and call trace_printk() inside __might_sleep() -ftrace_printk("I'm a comment!\n") +trace_printk("I'm a comment!\n") will produce: |