Function report |
Source Code:kernel\tracepoint.c |
Create Date:2022-07-28 11:50:17 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Add the probe function to a tracepoint.
Proto:static int tracepoint_add_func(struct tracepoint *tp, struct tracepoint_func *func, int prio)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct tracepoint * | tp | |
| struct tracepoint_func * | func | |
| int | prio |
| 233 | If regfunc && Not static_key_enabled( & key) Then |
| 254 | If Not static_key_enabled( & key) Then static_key_slow_inc( & key) |
| 256 | release_probes(old) |
| 257 | Return 0 |
| Name | Describe |
|---|---|
| tracepoint_probe_register_prio | racepoint_probe_register_prio - Connect a probe to a tracepoint with priority*@tp: tracepoint*@probe: probe handler*@data: tracepoint data*@prio: priority of this function over other registered functions* Returns 0 if ok, error value on error |
| 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 |