Из-за большого числа зарегистрированных пользователей максимальное количество персональных проектов ограничено до 3. Для снятия ограничений на количество проектов заполните форму присоединения к Openelbrus.

Skip to content
Snippets Groups Projects
Commit 34bd44dd authored by Anand Je Saipureddy's avatar Anand Je Saipureddy Committed by Nobody
Browse files

ftrace: Fix improper usage of __trace_stack() function.

In kernel/trace/trace_events_trigger.c --> stacktrace_trigger() -->
__trace_stack() is not defined as per the function definition.

With commit edbaaa13a660
("tracing: Merge irqflags + preemt counter, add RT bits")
the irqflags(flags) and preemption counter(preempt_count()) are
now should be evaluated early by tracing_gen_ctx().

This patch replaces the irqflags and preemption counter
with tracing_gen_ctx().

Fixes: 5e8446e3 ("tracing: Dump stacktrace trigger to the corresponding instance")
Link: https://lore.kernel.org/r/20220723064943.16532-1-s.anandje1@gmail.com


Signed-off-by: default avatarAnand Je Saipureddy <s.anandje1@gmail.com>
Reviewed-by: default avatarCorey Minyard <cminyard@mvista.com>
Signed-off-by: default avatarLuis Claudio R. Goncalves <lgoncalv@redhat.com>
parent 183fae77
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment