Defined in 1 files as a prototype:
Defined in 2 files as a function:
- arch/x86/events/intel/core.c, line 5885 (as a function)
- arch/x86/events/perf_event.h, line 1894 (as a function)
Referenced in 2 files:
Smatch caller information:
arch/x86/events/core.c allocate_fake_cpuc() -> intel_cpuc_prepare()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cpuc | 4096-ptr_max |
| PARAM_VALUE | 0 | cpuc->is_fake | 1 |
| PARAM_VALUE | 0 | cpuc->pmu | 4096-ptr_max |
| PARAM_VALUE | 0 | cpuc->pmu->module | 0,4096-ptr_max |
| PARAM_VALUE | 1 | cpu | 0-64 |
| BUF_SIZE | 0 | cpuc | 6224 |
| CAPPED_DATA | 1 | cpu | 1 |
| DATA_SOURCE | 0 | cpuc | r _kzalloc_noprof |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &event->group_leader->ctx->mutex |
arch/x86/events/intel/core.c intel_pmu_cpu_prepare() -> intel_cpuc_prepare()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 1 | cpu | $0 |
| STR_LEN | 0 | cpuc | (-1),8-9,11-29,31-34,38 |
| BIT_INFO | 1 | cpu | 0x0,0x7fffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &cpuhp_state_mutex | ||
| HALF_LOCKED2 | irq |