tracing: fix call to trace_event_buffer functions

Commit 944b758fdf
("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: 944b758fdf ("coresight: enable stm logging for trace events, marker and printk")
Change-Id: Ic0dedbad441c7ae88564ee57d0d95e23b0e6fc39
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
This commit is contained in:
Jordan Crouse 2019-01-22 15:34:18 -07:00
parent 60f65228f0
commit 7b54b7625d
2 changed files with 2 additions and 2 deletions

View file

@ -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();

View file

@ -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);
}