diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-26 13:13:54 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-26 13:13:54 -0400 |
| commit | 4187e7e9f1294afdcb3be5d00aa74412a1c2ded8 (patch) | |
| tree | 1d4b3447cb2a7407d97e51ee5c48069d6b92c9e3 /include | |
| parent | 5bb241b325d7d91bc4ec0b394f31dffb17fe7978 (diff) | |
| parent | 115e8a288252ef748f34f8b7c1115c563d702eda (diff) | |
Merge branch 'tracing-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
* 'tracing-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
modules, tracing: Remove stale struct marker signature from module_layout()
tracing/workqueue: Use %pf in workqueue trace events
tracing: Fix a comment and a trivial format issue in tracepoint.h
tracing: Fix failure path in ftrace_regex_open()
tracing: Fix failure path in ftrace_graph_write()
tracing: Check the return value of trace_get_user()
tracing: Fix off-by-one in trace_get_user()
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/tracepoint.h | 2 | ||||
| -rw-r--r-- | include/trace/events/workqueue.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/tracepoint.h b/include/linux/tracepoint.h index 660a9de96f81..2aac8a83e89b 100644 --- a/include/linux/tracepoint.h +++ b/include/linux/tracepoint.h | |||
| @@ -36,7 +36,7 @@ struct tracepoint { | |||
| 36 | #ifndef DECLARE_TRACE | 36 | #ifndef DECLARE_TRACE |
| 37 | 37 | ||
| 38 | #define TP_PROTO(args...) args | 38 | #define TP_PROTO(args...) args |
| 39 | #define TP_ARGS(args...) args | 39 | #define TP_ARGS(args...) args |
| 40 | 40 | ||
| 41 | #ifdef CONFIG_TRACEPOINTS | 41 | #ifdef CONFIG_TRACEPOINTS |
| 42 | 42 | ||
diff --git a/include/trace/events/workqueue.h b/include/trace/events/workqueue.h index fcfd9a1e4b96..e4612dbd7ba6 100644 --- a/include/trace/events/workqueue.h +++ b/include/trace/events/workqueue.h | |||
| @@ -26,7 +26,7 @@ TRACE_EVENT(workqueue_insertion, | |||
| 26 | __entry->func = work->func; | 26 | __entry->func = work->func; |
| 27 | ), | 27 | ), |
| 28 | 28 | ||
| 29 | TP_printk("thread=%s:%d func=%pF", __entry->thread_comm, | 29 | TP_printk("thread=%s:%d func=%pf", __entry->thread_comm, |
| 30 | __entry->thread_pid, __entry->func) | 30 | __entry->thread_pid, __entry->func) |
| 31 | ); | 31 | ); |
| 32 | 32 | ||
| @@ -48,7 +48,7 @@ TRACE_EVENT(workqueue_execution, | |||
| 48 | __entry->func = work->func; | 48 | __entry->func = work->func; |
| 49 | ), | 49 | ), |
| 50 | 50 | ||
| 51 | TP_printk("thread=%s:%d func=%pF", __entry->thread_comm, | 51 | TP_printk("thread=%s:%d func=%pf", __entry->thread_comm, |
| 52 | __entry->thread_pid, __entry->func) | 52 | __entry->thread_pid, __entry->func) |
| 53 | ); | 53 | ); |
| 54 | 54 | ||
