函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\ring_buffer.c Create Date:2022-07-27 12:58:13
Last Modify:2020-03-17 19:30:04 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Return total length of time extend and data,* or just the event length for all other events.

函数原型:static inline unsigned rb_event_ts_length(struct ring_buffer_event *event)

返回类型:unsigned

参数:

类型参数名称
struct ring_buffer_event *event
209  len等于0
211  如果extended_time(event)则
213  len等于RB_LEN_TIME_EXTEND
214  event等于skip_time_extend(event)
216  返回:lenReturn the length of the given event. Will return* the length of the time extend if the event is a* time extend.
调用者
名称描述
rb_try_to_discard
ring_buffer_read_pageg_buffer_read_page - extract a page from the ring buffer*@buffer: buffer to extract from*@data_page: the page to use allocated from ring_buffer_alloc_read_page*@len: amount to extract*@cpu: the cpu of the buffer to extract