Function report |
Source Code:kernel\tracepoint.c |
Create Date:2022-07-28 11:50:18 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Remove a probe function from a tracepoint.* Note: only waiting an RCU period after setting elem->call to the empty* function insures that the original callback is not used anymore. This insured* by preempt_disable around the call site.
Proto:static int tracepoint_remove_func(struct tracepoint *tp, struct tracepoint_func *func)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct tracepoint * | tp | |
struct tracepoint_func * | func |
273 | old = func_remove( & tp_funcs, func) |
279 | If Not tp_funcs Then |
281 | If unregfunc && static_key_enabled( & key) Then unregfunc() |
284 | If static_key_enabled( & key) Then static_key_slow_dec( & key) |
288 | release_probes(old) |
289 | Return 0 |
Name | Describe |
---|---|
tracepoint_probe_unregister | racepoint_probe_unregister - Disconnect a probe from a tracepoint*@tp: tracepoint*@probe: probe function pointer*@data: tracepoint data* 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 |