Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\trace_events_hist.c Create Date:2022-07-28 12:29:19
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:hist_field_timestamp

Proto:static u64 hist_field_timestamp(struct hist_field *hist_field, struct tracing_map_elt *elt, struct ring_buffer_event *rbe, void *event)

Type:u64

Parameter:

TypeParameterName
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  If ts_in_usecs && trace_clock_in_ns(tr) Then ts = ns2usecs(ts)
1518  Return ts