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

Commit 7b54b762 authored by Jordan Crouse's avatar Jordan Crouse
Browse files

tracing: fix call to trace_event_buffer functions



Commit 944b758f
("coresight: enable stm logging for trace events, marker and printk")
changed the trace_event_buffer prototypes but didn't update all of the
usages in the rest of the kernel.

Fixes: 944b758f ("coresight: enable stm logging for trace events, marker and printk")
Change-Id: Ic0dedbad441c7ae88564ee57d0d95e23b0e6fc39
Signed-off-by: default avatarJordan Crouse <jcrouse@codeaurora.org>
parent 60f65228
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3397,7 +3397,7 @@ function_test_events_call(unsigned long ip, unsigned long parent_ip,
	entry->parent_ip		= parent_ip;

	event_trigger_unlock_commit(&event_trace_file, buffer, event,
				    entry, flags, pc);
				    entry, flags, pc, 0);
 out:
	atomic_dec(&per_cpu(ftrace_test_event_disable, cpu));
	preempt_enable_notrace();
+1 −1
Original line number Diff line number Diff line
@@ -668,7 +668,7 @@ static notrace void trace_event_raw_event_synth(void *__data,
		}
	}

	trace_event_buffer_commit(&fbuffer);
	trace_event_buffer_commit(&fbuffer, sizeof(*entry) + fields_size);
out:
	ring_buffer_nest_end(buffer);
}