aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace_output.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/trace/trace_output.c')
-rw-r--r--kernel/trace/trace_output.c32
1 files changed, 0 insertions, 32 deletions
diff --git a/kernel/trace/trace_output.c b/kernel/trace/trace_output.c
index 9fc815031b09..306fef84c503 100644
--- a/kernel/trace/trace_output.c
+++ b/kernel/trace/trace_output.c
@@ -437,8 +437,6 @@ int register_ftrace_event(struct trace_event *event)
437 437
438 if (event->trace == NULL) 438 if (event->trace == NULL)
439 event->trace = trace_nop_print; 439 event->trace = trace_nop_print;
440 if (event->latency_trace == NULL)
441 event->latency_trace = trace_nop_print;
442 if (event->raw == NULL) 440 if (event->raw == NULL)
443 event->raw = trace_nop_print; 441 event->raw = trace_nop_print;
444 if (event->hex == NULL) 442 if (event->hex == NULL)
@@ -480,29 +478,6 @@ enum print_line_t trace_nop_print(struct trace_iterator *iter, int flags)
480} 478}
481 479
482/* TRACE_FN */ 480/* TRACE_FN */
483static enum print_line_t trace_fn_latency(struct trace_iterator *iter,
484 int flags)
485{
486 struct ftrace_entry *field;
487 struct trace_seq *s = &iter->seq;
488
489 trace_assign_type(field, iter->ent);
490
491 if (!seq_print_ip_sym(s, field->ip, flags))
492 goto partial;
493 if (!trace_seq_puts(s, " ("))
494 goto partial;
495 if (!seq_print_ip_sym(s, field->parent_ip, flags))
496 goto partial;
497 if (!trace_seq_puts(s, ")\n"))
498 goto partial;
499
500 return TRACE_TYPE_HANDLED;
501
502 partial:
503 return TRACE_TYPE_PARTIAL_LINE;
504}
505
506static enum print_line_t trace_fn_trace(struct trace_iterator *iter, int flags) 481static enum print_line_t trace_fn_trace(struct trace_iterator *iter, int flags)
507{ 482{
508 struct ftrace_entry *field; 483 struct ftrace_entry *field;
@@ -573,7 +548,6 @@ static enum print_line_t trace_fn_bin(struct trace_iterator *iter, int flags)
573static struct trace_event trace_fn_event = { 548static struct trace_event trace_fn_event = {
574 .type = TRACE_FN, 549 .type = TRACE_FN,
575 .trace = trace_fn_trace, 550 .trace = trace_fn_trace,
576 .latency_trace = trace_fn_latency,
577 .raw = trace_fn_raw, 551 .raw = trace_fn_raw,
578 .hex = trace_fn_hex, 552 .hex = trace_fn_hex,
579 .binary = trace_fn_bin, 553 .binary = trace_fn_bin,
@@ -705,7 +679,6 @@ static enum print_line_t trace_ctxwake_bin(struct trace_iterator *iter,
705static struct trace_event trace_ctx_event = { 679static struct trace_event trace_ctx_event = {
706 .type = TRACE_CTX, 680 .type = TRACE_CTX,
707 .trace = trace_ctx_print, 681 .trace = trace_ctx_print,
708 .latency_trace = trace_ctx_print,
709 .raw = trace_ctx_raw, 682 .raw = trace_ctx_raw,
710 .hex = trace_ctx_hex, 683 .hex = trace_ctx_hex,
711 .binary = trace_ctxwake_bin, 684 .binary = trace_ctxwake_bin,
@@ -714,7 +687,6 @@ static struct trace_event trace_ctx_event = {
714static struct trace_event trace_wake_event = { 687static struct trace_event trace_wake_event = {
715 .type = TRACE_WAKE, 688 .type = TRACE_WAKE,
716 .trace = trace_wake_print, 689 .trace = trace_wake_print,
717 .latency_trace = trace_wake_print,
718 .raw = trace_wake_raw, 690 .raw = trace_wake_raw,
719 .hex = trace_wake_hex, 691 .hex = trace_wake_hex,
720 .binary = trace_ctxwake_bin, 692 .binary = trace_ctxwake_bin,
@@ -770,7 +742,6 @@ static enum print_line_t trace_special_bin(struct trace_iterator *iter,
770static struct trace_event trace_special_event = { 742static struct trace_event trace_special_event = {
771 .type = TRACE_SPECIAL, 743 .type = TRACE_SPECIAL,
772 .trace = trace_special_print, 744 .trace = trace_special_print,
773 .latency_trace = trace_special_print,
774 .raw = trace_special_print, 745 .raw = trace_special_print,
775 .hex = trace_special_hex, 746 .hex = trace_special_hex,
776 .binary = trace_special_bin, 747 .binary = trace_special_bin,
@@ -808,7 +779,6 @@ static enum print_line_t trace_stack_print(struct trace_iterator *iter,
808static struct trace_event trace_stack_event = { 779static struct trace_event trace_stack_event = {
809 .type = TRACE_STACK, 780 .type = TRACE_STACK,
810 .trace = trace_stack_print, 781 .trace = trace_stack_print,
811 .latency_trace = trace_stack_print,
812 .raw = trace_special_print, 782 .raw = trace_special_print,
813 .hex = trace_special_hex, 783 .hex = trace_special_hex,
814 .binary = trace_special_bin, 784 .binary = trace_special_bin,
@@ -838,7 +808,6 @@ static enum print_line_t trace_user_stack_print(struct trace_iterator *iter,
838static struct trace_event trace_user_stack_event = { 808static struct trace_event trace_user_stack_event = {
839 .type = TRACE_USER_STACK, 809 .type = TRACE_USER_STACK,
840 .trace = trace_user_stack_print, 810 .trace = trace_user_stack_print,
841 .latency_trace = trace_user_stack_print,
842 .raw = trace_special_print, 811 .raw = trace_special_print,
843 .hex = trace_special_hex, 812 .hex = trace_special_hex,
844 .binary = trace_special_bin, 813 .binary = trace_special_bin,
@@ -883,7 +852,6 @@ static enum print_line_t trace_print_raw(struct trace_iterator *iter, int flags)
883static struct trace_event trace_print_event = { 852static struct trace_event trace_print_event = {
884 .type = TRACE_PRINT, 853 .type = TRACE_PRINT,
885 .trace = trace_print_print, 854 .trace = trace_print_print,
886 .latency_trace = trace_print_print,
887 .raw = trace_print_raw, 855 .raw = trace_print_raw,
888}; 856};
889 857