函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\trace_events_hist.c Create Date:2022-07-27 13:38:08
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:hist_field_timestamp

函数原型:static u64 hist_field_timestamp(struct hist_field *hist_field, struct tracing_map_elt *elt, struct ring_buffer_event *rbe, void *event)

返回类型:u64

参数:

类型参数名称
struct hist_field *hist_field
struct tracing_map_elt *elt
struct ring_buffer_event *rbe
void *event
1510  hist_data等于hist_data
1511  tr等于tr
1513  ts等于g_buffer_event_time_stamp - return the event's extended timestamp*@event: the event to get the timestamp of* Returns the extended timestamp associated with a data event
1515  如果ts_in_usecstrace_clock_in_ns(tr)则ts等于ns2usecs(ts)
1518  返回:ts