函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:lat_print_timestamp

函数原型:static int lat_print_timestamp(struct trace_iterator *iter, u64 next_ts)

返回类型:int

参数:

类型参数名称
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等于tstime_start
542  rel_ts等于next_tsts
543  s等于 The below is zeroed out in pipe_read
545  如果in_ns
546  abs_ts等于ns2usecs(abs_ts)
547  rel_ts等于ns2usecs(rel_ts)
550  如果verbosein_ns
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  否则如果verbose且非in_ns
563  Currently only defined when tracing is enabled.
567  否则如果非verbosein_ns
568  Currently only defined when tracing is enabled.
573  否则
574  Currently only defined when tracing is enabled.
577  返回:非跟踪泛滥
调用者
名称描述
trace_print_lat_context