diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-03-05 04:24:48 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-03-05 04:24:48 -0500 |
commit | 5e1607a00bd082972629d3d68c95c8bcf902b55a (patch) | |
tree | 2751baf5ee286cdec8f4b1afcb7332f4c1f5f454 /Documentation | |
parent | 53664738c122bfe8b0e489fddaf2ab265c9133c8 (diff) |
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. | |||
1466 | 1466 | ||
1467 | 1467 | ||
1468 | You can put some comments on specific functions by using | 1468 | You can put some comments on specific functions by using |
1469 | ftrace_printk() For example, if you want to put a comment inside | 1469 | trace_printk() For example, if you want to put a comment inside |
1470 | the __might_sleep() function, you just have to include | 1470 | the __might_sleep() function, you just have to include |
1471 | <linux/ftrace.h> and call ftrace_printk() inside __might_sleep() | 1471 | <linux/ftrace.h> and call trace_printk() inside __might_sleep() |
1472 | 1472 | ||
1473 | ftrace_printk("I'm a comment!\n") | 1473 | trace_printk("I'm a comment!\n") |
1474 | 1474 | ||
1475 | will produce: | 1475 | will produce: |
1476 | 1476 | ||