diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-12-29 12:02:17 (GMT) |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-12-29 12:06:24 (GMT) |
commit | f7d48cbde5c0710008caeaf7dbf14f4a9b064940 (patch) | |
tree | f7b6bed9338b26bcdb4d95da434eab92463d8a5a /kernel/trace/trace_selftest.c | |
parent | e302cf3f961ceb54c1dd0aff7ba8531df83be07a (diff) | |
download | linux-fsl-qoriq-f7d48cbde5c0710008caeaf7dbf14f4a9b064940.tar.xz |
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