Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:lat_print_timestamp

Proto:static int lat_print_timestamp(struct trace_iterator *iter, u64 next_ts)

Type:int

Parameter:

TypeParameterName
struct trace_iterator *iter
u64next_ts
538  tr = tr
539  verbose = trace_flags & TRACE_ITER_VERBOSE
540  in_ns = iter_flags & TRACE_FILE_TIME_IN_NS
541  abs_ts = ts - time_start
542  rel_ts = next_ts - ts
543  s = The below is zeroed out in pipe_read
545  If in_ns Then
546  abs_ts = ns2usecs(abs_ts)
547  rel_ts = ns2usecs(rel_ts)
550  If verbose && in_ns Then
551  abs_usec = do_div() is NOT a C function(abs_ts, USEC_PER_MSEC)
552  abs_msec = abs_ts
553  rel_usec = do_div() is NOT a C function(rel_ts, USEC_PER_MSEC)
554  rel_msec = rel_ts
556  Currently only defined when tracing is enabled.
562  Else if verbose && Not in_ns Then
563  Currently only defined when tracing is enabled.
567  Else if Not verbose && in_ns Then
568  Currently only defined when tracing is enabled.
573  Else
574  Currently only defined when tracing is enabled.
577  Return Not race_seq_has_overflowed - return true if the trace_seq took too much*@s: trace sequence descriptor* Returns true if too much data was added to the trace_seq and it is* now full and will not take anymore.
Caller
NameDescribe
trace_print_lat_context