]> git.baikalelectronics.ru Git - kernel.git/commit
tracing: Fix number of entries in trace header
authorQuentin Perret <quentin.perret@arm.com>
Thu, 14 Feb 2019 15:29:50 +0000 (15:29 +0000)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Fri, 15 Feb 2019 17:42:26 +0000 (12:42 -0500)
commit4d4738bcf57cce6d4ac6757d3be552f017c84afc
tree95a3cfc377568f098a278dff3315bedb23573b95
parentd58dd5694fce1c23aef6f242bd63e6b6ffe8d0f9
tracing: Fix number of entries in trace header

The following commit

  136084868b4e ("tracing: Add support for display of tgid in trace output")

removed the call to print_event_info() from print_func_help_header_irq()
which results in the ftrace header not reporting the number of entries
written in the buffer. As this wasn't the original intent of the patch,
re-introduce the call to print_event_info() to restore the orginal
behaviour.

Link: http://lkml.kernel.org/r/20190214152950.4179-1-quentin.perret@arm.com
Acked-by: Joel Fernandes <joelaf@google.com>
Cc: stable@vger.kernel.org
Fixes: 136084868b4e ("tracing: Add support for display of tgid in trace output")
Signed-off-by: Quentin Perret <quentin.perret@arm.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/trace.c