mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 04:12:04 -04:00
trace: Do not use latency format for ftrace minidump
Minidump ftrace need absolute timestamp of an event, and not the relative timestamp from buffer start time. So, do not use latency format for them. Change-Id: I5ed1aaac62a16e312d8c1d2f3fcbfc2781c4af77 Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
This commit is contained in:
parent
a2839ca38b
commit
fa2785989c
1 changed files with 3 additions and 1 deletions
|
|
@ -9085,7 +9085,9 @@ void ftrace_dump(enum ftrace_dump_mode oops_dump_mode)
|
|||
cnt++;
|
||||
|
||||
trace_iterator_reset(&iter);
|
||||
iter.iter_flags |= TRACE_FILE_LAT_FMT;
|
||||
/* Minidump ftraces need absolute event timestamp */
|
||||
if (!IS_ENABLED(CONFIG_QCOM_MINIDUMP_FTRACE))
|
||||
iter.iter_flags |= TRACE_FILE_LAT_FMT;
|
||||
|
||||
if (trace_find_next_entry_inc(&iter) != NULL) {
|
||||
int ret;
|
||||
|
|
|
|||
Loading…
Reference in a new issue