Defined in 1 files as a function:
Referenced in 4 files:
- kernel/trace/blktrace.c
- kernel/trace/trace.h, line 1782
- kernel/trace/trace_mmiotrace.c
- kernel/trace/trace_sched_wakeup.c
Smatch caller information:
kernel/trace/trace_mmiotrace.c __trace_mmiotrace_map() -> trace_buffer_unlock_commit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tr | 4096-ptr_max |
| PARAM_VALUE | 0 | tr->array_buffer.buffer | 4096-ptr_max |
| PARAM_VALUE | 1 | buffer | 4096-ptr_max |
| PARAM_VALUE | 1 | buffer->record_disabled.counter | 0 |
| PARAM_VALUE | 2 | event | 4096-ptr_max |
| PARAM_VALUE | 2 | event->type_len | 0-29 |
| PARAM_VALUE | 3 | trace_ctx | 0-16777215 |
| CAPPED_DATA | 1 | buffer | 1 |
| DATA_SOURCE | 0 | tr | $0 |
| DATA_SOURCE | 2 | event | r trace_buffer_lock_reserve |
| DATA_SOURCE | 3 | trace_ctx | r tracing_gen_ctx_flags |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &trace_lock | ||
| LOCK2 | irq |
kernel/trace/trace_mmiotrace.c __trace_mmiotrace_rw() -> trace_buffer_unlock_commit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tr | 4096-ptr_max |
| PARAM_VALUE | 0 | tr->array_buffer.buffer | 4096-ptr_max |
| PARAM_VALUE | 1 | buffer | 4096-ptr_max |
| PARAM_VALUE | 1 | buffer->record_disabled.counter | 0 |
| PARAM_VALUE | 2 | event | 4096-ptr_max |
| PARAM_VALUE | 2 | event->type_len | 0-29 |
| PARAM_VALUE | 3 | trace_ctx | 0-16777215 |
| CAPPED_DATA | 1 | buffer | 1 |
| DATA_SOURCE | 0 | tr | $0 |
| DATA_SOURCE | 2 | event | r trace_buffer_lock_reserve |
| DATA_SOURCE | 3 | trace_ctx | r tracing_gen_ctx_flags |
| PREEMPT_ADD | |||
| NOCHECK_CALL |
kernel/trace/blktrace.c __blk_add_trace() -> trace_buffer_unlock_commit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tr | 4096-ptr_max |
| PARAM_VALUE | 0 | tr->array_buffer.buffer | 4096-ptr_max |
| PARAM_VALUE | 1 | buffer | 4096-ptr_max |
| PARAM_VALUE | 1 | buffer->record_disabled.counter | 0 |
| PARAM_VALUE | 2 | event | 4096-ptr_max |
| PARAM_VALUE | 2 | event->type_len | 0-29 |
| PARAM_VALUE | 3 | trace_ctx | 0-16777215 |
| CAPPED_DATA | 1 | buffer | 1 |
| DATA_SOURCE | 2 | event | r trace_buffer_lock_reserve |
| DATA_SOURCE | 3 | trace_ctx | r tracing_gen_ctx_flags |
| NOCHECK_CALL | |||
| LOCK2 | rcu_read |
kernel/trace/blktrace.c trace_note() -> trace_buffer_unlock_commit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tr | 4096-ptr_max |
| PARAM_VALUE | 0 | tr->array_buffer.buffer | 4096-ptr_max |
| PARAM_VALUE | 1 | buffer | 4096-ptr_max |
| PARAM_VALUE | 1 | buffer->record_disabled.counter | 0 |
| PARAM_VALUE | 2 | event | 4096-ptr_max |
| PARAM_VALUE | 2 | event->type_len | 0-29 |
| PARAM_VALUE | 3 | trace_ctx | 0-16777215 |
| CAPPED_DATA | 1 | buffer | 1 |
| DATA_SOURCE | 2 | event | r trace_buffer_lock_reserve |
| DATA_SOURCE | 3 | trace_ctx | r tracing_gen_ctx_flags |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &q->debugfs_mutex | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &running_trace_lock | ||
| HALF_LOCKED2 | rcu_read |
kernel/trace/trace_sched_wakeup.c tracing_sched_switch_trace() -> trace_buffer_unlock_commit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tr | 4096-ptr_max |
| PARAM_VALUE | 0 | tr->array_buffer.buffer | 4096-ptr_max |
| PARAM_VALUE | 0 | tr->array_buffer.buffer->irq_work.work.node.a_flags.counter | 0-s32max |
| PARAM_VALUE | 1 | buffer | 4096-ptr_max |
| PARAM_VALUE | 1 | buffer->record_disabled.counter | 0 |
| PARAM_VALUE | 2 | event | 4096-ptr_max |
| PARAM_VALUE | 2 | event->type_len | 0-29 |
| PARAM_VALUE | 3 | trace_ctx | 0-16777215 |
| CAPPED_DATA | 0 | tr->array_buffer.buffer | 1 |
| CAPPED_DATA | 1 | buffer | 1 |
| DATA_SOURCE | 0 | tr | $0 |
| DATA_SOURCE | 2 | event | r trace_buffer_lock_reserve |
| DATA_SOURCE | 3 | trace_ctx | $3 |
| NOCHECK_CALL | |||
| LOCK2 | flags |
kernel/trace/trace_sched_wakeup.c tracing_sched_wakeup_trace() -> trace_buffer_unlock_commit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tr | 4096-ptr_max |
| PARAM_VALUE | 0 | tr->array_buffer.buffer | 4096-ptr_max |
| PARAM_VALUE | 1 | buffer | 4096-ptr_max |
| PARAM_VALUE | 1 | buffer->record_disabled.counter | 0 |
| PARAM_VALUE | 2 | event | 4096-ptr_max |
| PARAM_VALUE | 2 | event->type_len | 0-29 |
| PARAM_VALUE | 3 | trace_ctx | 0-16777215 |
| CAPPED_DATA | 1 | buffer | 1 |
| DATA_SOURCE | 0 | tr | $0 |
| DATA_SOURCE | 2 | event | r trace_buffer_lock_reserve |
| DATA_SOURCE | 3 | trace_ctx | $3 |
| NOCHECK_CALL |
kernel/trace/trace_events.c event_trigger_unlock_commit() -> trace_buffer_unlock_commit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tr | 4096-ptr_max |
| PARAM_VALUE | 1 | buffer | 4096-ptr_max |
| PARAM_VALUE | 2 | event | 4096-ptr_max |
| PARAM_VALUE | 2 | event->type_len | 0-29 |
| PARAM_VALUE | 3 | trace_ctx | 0-16777215 |
| DATA_SOURCE | 1 | buffer | $1 |
| DATA_SOURCE | 2 | event | $2 |
| DATA_SOURCE | 3 | trace_ctx | $4 |
| PREEMPT_ADD | |||
| NOCHECK_CALL |