Defined in 1 files as a prototype:
Defined in 2 files as a function:
- kernel/trace/ftrace.c, line 1592 (as a function)
- kernel/trace/ftrace_internal.h, line 39 (as a function)
Referenced in 2 files:
Smatch caller information:
kernel/trace/fgraph.c function_graph_enter_regs() -> ftrace_ops_test()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ops | 4096-ptr_max |
| PARAM_VALUE | 2 | regs | 0 |
| DATA_SOURCE | 1 | ip | $1 |
| PREEMPT_ADD | <- disables preempt |
kernel/trace/ftrace.c __ftrace_ops_list_func() -> ftrace_ops_test()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ops | 4096-ptr_max |
| PARAM_VALUE | 2 | regs | 0,4096-ptr_max |
| BUF_SIZE | 2 | regs | (-1),168 |
| DATA_SOURCE | 1 | ip | $0 |
| DATA_SOURCE | 2 | regs | r ftrace_get_regs |
| BIT_INFO | 0 | ops->flags | 0x0,0xffffffffffffffdf |
| PREEMPT_ADD | <- disables preempt | ||
| UNITS | 1 | ip | unit_byte |
kernel/trace/ftrace.c test_rec_ops_needs_regs() -> ftrace_ops_test()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ops | 0-4862980898089123839,4862980898089123841-u64max |
| PARAM_VALUE | 2 | regs | 4096-ptr_max |
| DATA_SOURCE | 2 | regs | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | ip | unit_byte |
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &ftrace_lock |