Function report |
Source Code:kernel\trace\trace_hwlat.c |
Create Date:2022-07-28 12:11:02 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:hwlat_tracer_init
Proto:static int hwlat_tracer_init(struct trace_array *tr)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct trace_array * | tr |
| 582 | If hwlat_busy Then Return -EBUSY |
| 585 | hwlat_trace = tr |
| 587 | disable_migrate = false |
| 588 | al since reset = 0 |
| 589 | max_latency = 0 |
| 593 | If Not tracing_thresh Then tracing_thresh = If the user changed threshold, remember it |
| 599 | hwlat_busy = true |
| 601 | Return 0 |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |