lkml.org 
[lkml]   [2020]   [Apr]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC][PATCH] x86/mm: Sync all vmalloc mappings before text_poke()
On Thu, 30 Apr 2020 11:23:29 -0400 (EDT)
Mathieu Desnoyers <mathieu.desnoyers@efficios.com> wrote:

> I suspect it's called by:
>
> include/linux/trace_event.h:trace_trigger_soft_disabled():
>
> static inline bool
> trace_trigger_soft_disabled(struct trace_event_file *file)
> {
> unsigned long eflags = file->flags;
>
> if (!(eflags & EVENT_FILE_FL_TRIGGER_COND)) {
> if (eflags & EVENT_FILE_FL_TRIGGER_MODE)
> event_triggers_call(file, NULL, NULL);
> if (eflags & EVENT_FILE_FL_SOFT_DISABLED)
> return true;
> if (eflags & EVENT_FILE_FL_PID_FILTER)
> return trace_event_ignore_this_pid(file);
> }
> return false;
> }

This code is only used for the "enable/disable event" triggers. Which isn't
the case here. So this should never be called.

-- Steve

\
 
 \ /
  Last update: 2020-04-30 18:13    [W:0.086 / U:0.432 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site