Defined in 2 files as a function:
- arch/x86/events/rapl.c, line 365 (as a function)
- drivers/powercap/intel_rapl_common.c, line 1336 (as a function)
Referenced in 2 files:
Smatch caller information:
kernel/events/core.c perf_try_init_event() -> (struct pmu)->event_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | event | 4096-ptr_max |
| PARAM_VALUE | 0 | event->parent | 0,4096-ptr_max |
| PARAM_VALUE | 0 | event->pmu | 4096-ptr_max |
| PARAM_VALUE | 0 | event->pmu->module | 0,4096-ptr_max |
| CAPPED_DATA | 0 | event | 1 |
| DATA_SOURCE | 0 | event | $1 |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | 0 | &event->group_leader->ctx->mutex |