Defined in 6 files as a function:
- arch/loongarch/kernel/perf_event.c, line 641 (as a function)
- arch/mips/kernel/perf_event_mipsxx.c, line 760 (as a function)
- arch/x86/events/amd/ibs.c, line 265 (as a function)
- arch/x86/events/core.c, line 2460 (as a function)
- drivers/perf/arm-cci.c, line 1239 (as a function)
- drivers/perf/arm_pmu.c, line 404 (as a function)
Referenced in 6 files:
- arch/loongarch/kernel/perf_event.c, line 817
- arch/mips/kernel/perf_event_mipsxx.c, line 1535
- arch/x86/events/amd/ibs.c, line 335
- arch/x86/events/core.c, line 2531
- drivers/perf/arm-cci.c, line 1296
- drivers/perf/arm_pmu.c, line 509
Smatch caller information:
arch/x86/events/core.c x86_pmu_event_init() -> validate_group()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | event | 4096-ptr_max |
| PARAM_VALUE | 0 | event->destroy | 8387554742191972352 |
| PARAM_VALUE | 0 | event->hw.branch_reg.idx | (-1) |
| PARAM_VALUE | 0 | event->hw.dyn_constraint | u64max |
| PARAM_VALUE | 0 | event->hw.extra_reg.idx | (-1) |
| PARAM_VALUE | 0 | event->hw.idx | (-1) |
| PARAM_VALUE | 0 | event->hw.last_cpu | (-1) |
| PARAM_VALUE | 0 | event->hw.last_tag | u64max |
| 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 |
| CAPPED_DATA | 0 | event->attr.type | 1 |
| DATA_SOURCE | 0 | event | $0 |
| PARAM_COMPARE | 0 | event | != $0->group_leader |
| PARAM_COMPARE | 0 | event | != $0->group_leader |
| PARAM_COMPARE | 0 | event->attr.type | <= $0->pmu->type |
| UNITS | 0 | event | unit_byte |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | 0 | &event->group_leader->ctx->mutex |
arch/x86/events/amd/ibs.c perf_ibs_init() -> validate_group()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | event | 4096-ptr_max |
| PARAM_VALUE | 0 | event->attr.exclude_guest | 0 |
| PARAM_VALUE | 0 | event->attr.exclude_host | 0 |
| PARAM_VALUE | 0 | event->attr.exclude_idle | 0 |
| PARAM_VALUE | 0 | event->hw.extra_reg.config | 0 |
| PARAM_VALUE | 0 | event->hw.extra_reg.reg | 0 |
| PARAM_VALUE | 0 | event->parent | 0,4096-ptr_max |
| PARAM_VALUE | 0 | event->pmu | 5981156499403796480,6854607693237235712 |
| PARAM_VALUE | 0 | event->pmu->module | 0,4096-ptr_max |
| CAPPED_DATA | 0 | event | 1 |
| CAPPED_DATA | 0 | event->attr.type | 1 |
| CAPPED_DATA | 0 | event->pmu | 1 |
| DATA_SOURCE | 0 | event | $0 |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | 0 | &event->group_leader->ctx->mutex |