Defined in 1 files as a prototype:
Defined in 2 files as a function:
- include/linux/perf_event.h, line 2010 (as a function)
- kernel/events/core.c, line 11007 (as a function)
Referenced in 2 files:
Smatch caller information:
arch/x86/events/amd/ibs.c perf_ibs_discard_sample() -> perf_exclude_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | event | 4096-ptr_max |
| PARAM_VALUE | 1 | regs | 403906160454844416 |
| PARAM_VALUE | 1 | regs->cs | 51 |
| DATA_SOURCE | 0 | event | $1 |
| DATA_SOURCE | 1 | regs | $2 |
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | global &nmi_reason_lock |
kernel/events/core.c perf_bp_event() -> perf_exclude_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | event | 4096-ptr_max |
| PARAM_VALUE | 0 | event->hw.state | 0 |
| DATA_SOURCE | 0 | event | $0 |
| DATA_SOURCE | 1 | regs | $1 |
| HOST_DATA | 0 | event->hw->addr_filters_gen | 0-u64max |
| HOST_DATA | 0 | event->hw->freq_count_stamp | 0-u64max |
| HOST_DATA | 0 | event->hw->freq_time_stamp | 0-u64max |
| HOST_DATA | 0 | event->hw->interrupts | 0-u64max |
| HOST_DATA | 0 | event->hw->interrupts_seq | 0-u64max |
| HOST_DATA | 0 | event->hw->sample_period | 0-u64max |
| HOST_DATA | 0 | event->hw->state | s32min-s32max |
kernel/events/core.c perf_swevent_hrtimer() -> perf_exclude_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | event | 4096-ptr_max |
| PARAM_VALUE | 1 | regs | 4096-ptr_max |
| DATA_SOURCE | 1 | regs | r get_irq_regs |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | irq |
kernel/events/core.c perf_swevent_match() -> perf_exclude_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | event | 4096-ptr_max |
| PARAM_VALUE | 1 | regs | 4096-ptr_max |
| CAPPED_DATA | 0 | event->attr.config | 1 |
| DATA_SOURCE | 0 | event | $0 |
| DATA_SOURCE | 1 | regs | $4 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read |