Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
kernel/trace/trace_events_hist.c hist_register_trigger() -> tracing_set_clock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tr->snapshot_buffer.buffer->subbuf_order | s32min-4294967295 |
| PARAM_VALUE | 0 | tr->snapshot_buffer.buffer->subbuf_size | 0-4294967295 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | tr->range_addr_size | 1-u64max[c] |
| NO_OVERFLOW_SIMPLE | 0 | tr->range_addr_size | |
| HALF_LOCKED2 | _T->lock |
kernel/trace/trace.c setup_trace_scratch() -> tracing_set_clock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tr | 4096-ptr_max |
| PARAM_VALUE | 0 | tr->module_delta | 4096-ptr_max |
| PARAM_VALUE | 0 | tr->name | 0,4096-ptr_max |
| PARAM_VALUE | 0 | tr->pipe_cpumask | 1-u64max |
| PARAM_VALUE | 0 | tr->range_addr_size | 1-u64max |
| PARAM_VALUE | 0 | tr->range_addr_start | 1-u64max |
| PARAM_VALUE | 0 | tr->range_addr_start->magic | 195952365 |
| PARAM_VALUE | 0 | tr->range_addr_start->struct_sizes | 1572904 |
| PARAM_VALUE | 0 | tr->scratch | 4096-ptr_max |
| PARAM_VALUE | 0 | tr->start_lock.magic | 3735899821 |
| PARAM_VALUE | 0 | tr->start_lock.owner | (-1) |
| PARAM_VALUE | 0 | tr->start_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | tr->tracing_cpumask | 1-u64max |
| BUF_SIZE | 0 | tr->current_trace | (-1),168 |
| BUF_SIZE | 0 | tr->module_delta | 16-17179869192 |
| DATA_SOURCE | 0 | tr | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | tr->array_buffer.tr->range_addr_size | |
| NO_OVERFLOW_SIMPLE | 0 | tr->range_addr_size | |
| HALF_LOCKED2 | irq |
kernel/trace/trace.c tracer_alloc_buffers() -> tracing_set_clock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tr | 69249725370638336 |
| PARAM_VALUE | 0 | tr->array_buffer.buffer | 4096-ptr_max |
| PARAM_VALUE | 0 | tr->array_buffer.data | 4096-ptr_max |
| PARAM_VALUE | 0 | tr->array_buffer.tr | 69249725370638336 |
| PARAM_VALUE | 0 | tr->buffer_disabled | 0-1 |
| PARAM_VALUE | 0 | tr->pipe_cpumask | 1-u64max |
| PARAM_VALUE | 0 | tr->scratch | 0,8-u64max |
| PARAM_VALUE | 0 | tr->snapshot_buffer.tr | 0,69249725370638336 |
| PARAM_VALUE | 0 | tr->start_lock.magic | 3735899821 |
| PARAM_VALUE | 0 | tr->start_lock.owner | (-1) |
| PARAM_VALUE | 0 | tr->start_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | tr->tracing_cpumask | 1-u64max |
| PARAM_VALUE | 1 | clockstr | 6522461156636753920 |
| LOCK2 | irq |
kernel/trace/trace.c tracing_clock_write() -> tracing_set_clock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | clockstr | 8259201224231501824-ptr_max |
| BUF_SIZE | 0 | tr | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | tr | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | clockstr | s32min-s32max |
| DATA_SOURCE | 1 | clockstr | r strstrip |
| USER_DATA | 1 | *clockstr | 0-255 |
| UNITS | 0 | tr | unit_array_size |
| USER_PTR | 1 | clockstr |
kernel/trace/trace.c tracing_set_default_clock() -> tracing_set_clock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tr | 69249725370638336 |
| PARAM_VALUE | 1 | clockstr | 7821445606363000832 |
| BUF_SIZE | 1 | clockstr | 7 |
| STR_LEN | 0 | tr | 6 |
| TERMINATED | 1 | clockstr | 1 |
| NOCHECK_CALL |
kernel/trace/trace_boot.c trace_boot_set_instance_options() -> tracing_set_clock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tr | 4096-ptr_max |
| PARAM_VALUE | 0 | tr->dir->d_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | tr->dir->d_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | tr->options->d_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | tr->options->d_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | *tr->trace_flags_index | 0-255 |
| PARAM_VALUE | 1 | clockstr | 4096-ptr_max |
| PARAM_VALUE | 1 | *clockstr | 1-255 |
| BUF_SIZE | 0 | tr | (-1),8552 |
| BUF_SIZE | 0 | tr | (-1),8552 |
| DATA_SOURCE | 0 | tr | $0 |
| DATA_SOURCE | 1 | clockstr | r xbc_node_find_value |
| NO_OVERFLOW_SIMPLE | 0 | tr->array_buffer.tr->range_addr_size | |
| NO_OVERFLOW_SIMPLE | 0 | tr->range_addr_size | |
| NO_OVERFLOW_SIMPLE | 0 | tr->snapshot_buffer.tr->range_addr_size |