diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-12-29 13:02:17 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-12-29 13:06:24 +0100 |
commit | f7d48cbde5c0710008caeaf7dbf14f4a9b064940 (patch) | |
tree | f7b6bed9338b26bcdb4d95da434eab92463d8a5a /kernel/trace/trace_selftest.c | |
parent | e302cf3f961ceb54c1dd0aff7ba8531df83be07a (diff) |
tracing/ftrace: make trace_find_cmdline() generally available
Impact: build fix
On !CONFIG_CONTEXT_SWITCH_TRACER trace_find_cmdline() is not defined:
kernel/trace/trace_output.c: In function 'trace_ctxwake_print':
kernel/trace/trace_output.c:499: error: implicit declaration of function 'trace_find_cmdline'
kernel/trace/trace_output.c:499: warning: assignment makes pointer from integer without a cast
Move it to the generic section in trace.h.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/trace/trace_selftest.c')
0 files changed, 0 insertions, 0 deletions