Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

kernel/events/core.c perf_event_sysfs_init() -> pmu_dev_alloc()

Type Parameter Key Value
PARAM_VALUE 0 pmu 4096-ptr_max
PARAM_VALUE 0 pmu->dev 0
PARAM_VALUE 0 pmu->dev->kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 pmu->dev->power.wakeirq->status 0-4294967295
LOCK2 global &pmus_lock

kernel/events/core.c perf_pmu_register() -> pmu_dev_alloc()

Type Parameter Key Value
PARAM_VALUE 0 pmu 4096-ptr_max
PARAM_VALUE 0 pmu->dev 0
PARAM_VALUE 0 pmu->exclusive_cnt.counter 0
PARAM_VALUE 0 pmu->name 1-u64max
PARAM_VALUE 0 pmu->scope 0-5
PARAM_VALUE 0 pmu->type 0-s32max
BUF_SIZE 0 pmu (-1),384
BUF_SIZE 0 pmu (-1),384
BUF_SIZE 0 pmu->name (-1)-s32max
CAPPED_DATA 0 pmu->type 1
DATA_SOURCE 0 pmu $0
STR_LEN 0 pmu (-1),3-6,8-10,12,15,21,23,31
STR_LEN 0 pmu (-1),3-6,8-10,12,15,21,23,31
STR_LEN 0 pmu->name (-1),3-4,15
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock