函数逻辑报告 |
Source Code:kernel\trace\trace_hwlat.c |
Create Date:2022-07-27 13:17:29 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:trace_hwlat_sample
函数原型:static void trace_hwlat_sample(struct hwlat_sample *sample)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct hwlat_sample * | sample |
105 | tr等于hwlat_trace |
106 | call等于event_hwlat |
114 | local_save_flags(flags) |
116 | event等于trace_buffer_lock_reserve(buffer, TRACE_HWLAT, entry的长度, flags, pc) |
118 | 如果非event则返回 |
120 | entry等于g_buffer_event_data - return the data of the event*@event: the event to get the data from |
121 | seqnum等于unique sequence |
128 | 如果非call_filter_check_discard(call, entry, buffer, event)则Similar to trace_buffer_unlock_commit_regs() but do not dump stack. |
名称 | 描述 |
---|---|
get_sample | get_sample - sample the CPU TSC and look for likely hardware latencies* Used to repeatedly capture the CPU TSC (or similar), looking for potential* hardware-induced latency. Called with interrupts disabled and with* hwlat_data.lock held. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |