函数逻辑报告 |
Source Code:kernel\trace\trace_kprobe.c |
Create Date:2022-07-27 13:49:47 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Disable trace_probe* if the file is NULL, disable "perf" handler, or disable "trace" handler.
函数原型:static int disable_trace_kprobe(struct trace_event_call *call, struct trace_event_file *file)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct trace_event_call * | call | |
struct trace_event_file * | file |
408 | 如果WARN_ON_ONCE(!tp)则返回:负ENODEV |
411 | 如果file则 |
412 | 如果非trace_probe_get_file_link(tp, file)则返回:负ENOENT |
414 | 如果非trace_probe_has_single_file(tp)则转到:out |
417 | 否则trace_probe_clear_flag(tp, TP_FLAG_PROFILE) |
420 | 如果非trace_probe_is_enabled(tp)则__disable_trace_kprobe(tp) |
423 | out : |
424 | 如果file则trace_probe_remove_file(tp, file) |
433 | 返回:0 |
名称 | 描述 |
---|---|
kprobe_register | alled by perf_trace_init() or __ftrace_set_clr_event() under event_mutex.* kprobe_trace_self_tests_init() does enable_trace_probe/disable_trace_probe* lockless, but we can't race with this __init function. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |