android_kernel_xiaomi_sm8350/kernel/trace
Frederic Weisbecker 2c4f035f6c tracing/ftrace: change the type of the print_line callback
We need a kind of disambiguation when a print_line callback
returns 0.

_There is not enough space to print all the entry.
 Please flush the seq and retry.
_I can't handle this type of entry

This patch changes the type of this callback for better information.

Also some changes have been made in this V2.

_ Only relay to default functions after the print_line callback fails.
_ This patch doesn't fix the issue with the broken pipe (see patch 2/4 for that)

Some things are still in discussion:

_ Find better names for the enum print_line_t values
_ Change the type of print_trace_line into boolean.

Patches to change that can be sent later.

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Acked-by: Pekka Paalanen <pq@iki.fi>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-10-14 10:39:00 +02:00
..
ftrace.c ftrace: warn on failure to disable mcount callers 2008-10-14 10:38:11 +02:00
Kconfig tracing: unified trace buffer 2008-10-14 10:38:54 +02:00
Makefile tracing: unified trace buffer 2008-10-14 10:38:54 +02:00
ring_buffer.c ring_buffer: reset buffer page when freeing 2008-10-14 10:38:56 +02:00
trace_boot.c ftrace: take advantage of variable length entries 2008-10-14 10:38:59 +02:00
trace_functions.c ftrace: make work with new ring buffer 2008-10-14 10:38:57 +02:00
trace_irqsoff.c ftrace: make work with new ring buffer 2008-10-14 10:38:57 +02:00
trace_mmiotrace.c ftrace: take advantage of variable length entries 2008-10-14 10:38:59 +02:00
trace_nop.c ftrace: make work with new ring buffer 2008-10-14 10:38:57 +02:00
trace_sched_switch.c ftrace: make work with new ring buffer 2008-10-14 10:38:57 +02:00
trace_sched_wakeup.c ftrace: make work with new ring buffer 2008-10-14 10:38:57 +02:00
trace_selftest_dynamic.c ftrace: fix dynamic ftrace selftest 2008-05-23 21:13:23 +02:00
trace_selftest.c ftrace: make work with new ring buffer 2008-10-14 10:38:57 +02:00
trace_stack.c ftrace: stack trace add indexes 2008-10-14 10:36:28 +02:00
trace_sysprof.c ftrace: make work with new ring buffer 2008-10-14 10:38:57 +02:00
trace.c tracing/ftrace: change the type of the print_line callback 2008-10-14 10:39:00 +02:00
trace.h tracing/ftrace: change the type of the print_line callback 2008-10-14 10:39:00 +02:00