Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

kernel/events/core.c list_add_event() -> has_inherit_and_sample_read()

Type Parameter Key Value
PARAM_VALUE 0 attr 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &cpuctx->ctx.lock
HALF_LOCKED2 &ctx->lock
HALF_LOCKED2 &ctx->mutex
HALF_LOCKED2 &parent_ctx->mutex
HALF_LOCKED2 &parent_event->child_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags
HALF_LOCKED2 irq
TYPE_LOCK (struct perf_event_context)->lock

kernel/events/core.c list_del_event() -> has_inherit_and_sample_read()

Type Parameter Key Value
PARAM_VALUE 0 attr 4096-ptr_max
NOSPEC 0 attr->bp_type
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 attr->bp_addr 0-u64max[c]
USER_DATA 0 attr->bp_len 0-u64max
USER_DATA 0 attr->bp_type 2-4[c]
USER_DATA 0 attr->disabled 0[c]
USER_DATA 0 attr->sig_data 0-u64max
HALF_LOCKED2 &cpuctx->ctx.lock
HALF_LOCKED2 &ctx->lock
HALF_LOCKED2 &event->child_mutex
HALF_LOCKED2 irq
TYPE_LOCK (struct perf_event_context)->lock

kernel/events/core.c perf_output_read_group() -> has_inherit_and_sample_read()

Type Parameter Key Value
PARAM_VALUE 0 attr 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read
HALF_LOCKED2 &parent_event->child_mutex

kernel/events/core.c perf_output_read_one() -> has_inherit_and_sample_read()

Type Parameter Key Value
PARAM_VALUE 0 attr 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read
HALF_LOCKED2 &parent_event->child_mutex