diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-03-05 09:24:48 (GMT) |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-03-05 09:24:48 (GMT) |
commit | 5e1607a00bd082972629d3d68c95c8bcf902b55a (patch) | |
tree | 2751baf5ee286cdec8f4b1afcb7332f4c1f5f454 /Documentation | |
parent | 53664738c122bfe8b0e489fddaf2ab265c9133c8 (diff) | |
download | linux-fsl-qoriq-5e1607a00bd082972629d3d68c95c8bcf902b55a.tar.xz |
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 2041ee9..22614be 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: |