Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

kernel/trace/trace_fprobe.c enable_trace_fprobe() -> trace_probe_set_flag()

Type Parameter Key Value
PARAM_VALUE 0 tp 4096-ptr_max
PARAM_VALUE 0 tp->event 4096-ptr_max
PARAM_VALUE 1 flag 2
DATA_SOURCE 0 tp r trace_probe_primary_from_call
RX_PATH
NOCHECK_CALL
LOCK2 _T->lock
LOCK2 global &event_mutex
HALF_LOCKED2 &p_event->group_leader->ctx->mutex

kernel/trace/trace_probe.c trace_probe_add_file() -> trace_probe_set_flag()

Type Parameter Key Value
PARAM_VALUE 0 tp 4096-ptr_max
PARAM_VALUE 0 tp->event 4096-ptr_max
PARAM_VALUE 1 flag 1
DATA_SOURCE 0 tp $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

kernel/trace/trace_uprobe.c probe_event_enable() -> trace_probe_set_flag()

Type Parameter Key Value
PARAM_VALUE 0 tp 4096-ptr_max
PARAM_VALUE 0 tp->event 4096-ptr_max
PARAM_VALUE 1 flag 2
DATA_SOURCE 0 tp r trace_probe_primary_from_call
RX_PATH
NOCHECK_CALL
LOCK2 _T->lock
LOCK2 global &event_mutex
HALF_LOCKED2 &p_event->group_leader->ctx->mutex

kernel/trace/trace_eprobe.c enable_trace_eprobe() -> trace_probe_set_flag()

Type Parameter Key Value
PARAM_VALUE 0 tp 4096-ptr_max
PARAM_VALUE 0 tp->event 4096-ptr_max
PARAM_VALUE 1 flag 2
DATA_SOURCE 0 tp r trace_probe_primary_from_call
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 _T->lock

kernel/trace/trace_kprobe.c enable_trace_kprobe() -> trace_probe_set_flag()

Type Parameter Key Value
PARAM_VALUE 0 tp 4096-ptr_max
PARAM_VALUE 0 tp->event 4096-ptr_max
PARAM_VALUE 1 flag 2
DATA_SOURCE 0 tp r trace_probe_primary_from_call
RX_PATH
NOCHECK_CALL
LOCK2 _T->lock
LOCK2 global &event_mutex
HALF_LOCKED2 &p_event->group_leader->ctx->mutex