Defined in 1 files as a prototype:
Defined in 2 files as a function:
- include/linux/perf_event.h, line 1932 (as a function)
- kernel/events/ring_buffer.c, line 490 (as a function)
Referenced in 9 files:
- arch/powerpc/perf/vpa-dtl.c
- arch/s390/kernel/perf_cpum_sf.c
- arch/x86/events/intel/bts.c
- arch/x86/events/intel/pt.c
- drivers/hwtracing/coresight/coresight-etm-perf.c
- drivers/hwtracing/coresight/coresight-trbe.c
- drivers/hwtracing/ptt/hisi_ptt.c
- drivers/perf/arm_spe_pmu.c
- kernel/events/ring_buffer.c, line 542
Smatch caller information:
arch/x86/events/intel/bts.c bts_event_start() -> perf_aux_output_end()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | handle->aux_flags | 0 |
| PARAM_VALUE | 0 | handle->event | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->flags | 0 |
| PARAM_VALUE | 0 | handle->rb | 4096-ptr_max |
| PARAM_VALUE | 1 | size | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ctx->lock | ||
| HALF_LOCKED2 | _T->flags |
arch/x86/events/intel/bts.c bts_event_stop() -> perf_aux_output_end()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | handle->event | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ctx->lock | ||
| HALF_LOCKED2 | _T->flags |
arch/x86/events/intel/bts.c intel_bts_interrupt() -> perf_aux_output_end()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | handle | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->event | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags |
arch/x86/events/intel/bts.c intel_bts_interrupt() -> perf_aux_output_end()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | handle | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->aux_flags | 0 |
| PARAM_VALUE | 0 | handle->event | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->flags | 0 |
| PARAM_VALUE | 0 | handle->rb | 4096-ptr_max |
| PARAM_VALUE | 1 | size | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags |
drivers/hwtracing/ptt/hisi_ptt.c hisi_ptt_pmu_start() -> perf_aux_output_end()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | handle | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->aux_flags | 0 |
| PARAM_VALUE | 0 | handle->event | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->flags | 0 |
| PARAM_VALUE | 0 | handle->rb | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->rb->aux_mmap_count.refs.counter | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | handle->rb->aux_nest | 1 |
| PARAM_VALUE | 0 | handle->rb->aux_nr_pages | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | handle->rb->aux_refcount.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 0 | handle->rb->refcount.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 1 | size | 0 |
| BUF_SIZE | 0 | handle | 56 |
| NOCHECK_CALL | |||
| LOCK2 | &hisi_ptt->pmu_lock | ||
| TYPE_LOCK | (struct hisi_ptt)->pmu_lock |
drivers/hwtracing/ptt/hisi_ptt.c hisi_ptt_update_aux() -> perf_aux_output_end()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | handle | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->event | 1-u64max |
| PARAM_VALUE | 0 | handle->size | 1-u64max |
| BUF_SIZE | 0 | handle | 56 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | size | 0-u64max[c] |
| HALF_LOCKED2 | &hisi_ptt->pmu_lock |
drivers/hwtracing/ptt/hisi_ptt.c hisi_ptt_update_aux() -> perf_aux_output_end()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | handle | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->aux_flags | 0 |
| PARAM_VALUE | 0 | handle->event | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->flags | 0 |
| PARAM_VALUE | 0 | handle->rb | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->rb->aux_mmap_count.refs.counter | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | handle->rb->aux_nest | 1 |
| PARAM_VALUE | 0 | handle->rb->aux_nr_pages | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | handle->rb->aux_priv | 0 |
| PARAM_VALUE | 0 | handle->rb->aux_refcount.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 0 | handle->rb->callback_head.next | 0 |
| PARAM_VALUE | 0 | handle->rb->poll.counter | 65 |
| PARAM_VALUE | 0 | handle->rb->refcount.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 0 | handle->rb->user_page | 4096-ptr_max |
| PARAM_VALUE | 1 | size | 0 |
| BUF_SIZE | 0 | handle | 56 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq |
arch/x86/events/intel/pt.c intel_pt_interrupt() -> perf_aux_output_end()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | handle | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->event | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags |
arch/x86/events/intel/pt.c intel_pt_interrupt() -> perf_aux_output_end()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | handle | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->event | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->rb | 4096-ptr_max |
| PARAM_VALUE | 1 | size | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags |
arch/x86/events/intel/pt.c pt_event_start() -> perf_aux_output_end()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | handle->event | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->rb | 4096-ptr_max |
| PARAM_VALUE | 1 | size | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ctx->lock | ||
| HALF_LOCKED2 | _T->flags |
arch/x86/events/intel/pt.c pt_event_stop() -> perf_aux_output_end()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | handle->event | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ctx->lock | ||
| HALF_LOCKED2 | _T->flags | ||
| HALF_LOCKED2 | irq |