Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b218df0c authored by Tingwei Zhang's avatar Tingwei Zhang
Browse files

tracing: Print event info in trace header



Print number of events was written to buffer and still in
buffer when IRQ info is enabled.

Change-Id: Ic354cbb390281d50651007c1b7ac9954c7d5f1bb
Signed-off-by: default avatarTingwei Zhang <tingwei@codeaurora.org>
parent 0ba27bd6
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -3373,6 +3373,8 @@ static void print_func_help_header_irq(struct trace_buffer *buf, struct seq_file
	const char tgid_space[] = "          ";
	const char space[] = "  ";

	print_event_info(buf, m);

	seq_printf(m, "#                          %s  _-----=> irqs-off\n",
		   tgid ? tgid_space : space);
	seq_printf(m, "#                          %s / _----=> need-resched\n",