Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\ring_buffer.c Create Date:2022-07-28 11:55:29
Last Modify:2020-03-17 19:30:04 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:rb_reset_cpu

Proto:static void rb_reset_cpu(struct ring_buffer_per_cpu *cpu_buffer)

Type:void

Parameter:

TypeParameterName
struct ring_buffer_per_cpu *cpu_buffer
4353  _head_page_deactivate - clears head page ptr (for free list)
4355  ad from head = list_entry - get the struct for this entry*@ptr: the &struct list_head pointer.*@type: the type of the struct this is embedded in.*@member: the name of the list_head within the struct.(pages, structbuffer_page, list)
4357  local_set( & dex for next write , 0)
4358  local_set( & ries on this page , 0)
4359  local_set( & write committed index , 0)
4361  dex for next read = 0
4363  write to tail = ad from head
4364  committed pages = ad from head
4366  Initialization list head
4367  Initialization list head
4368  local_set( & dex for next write , 0)
4369  local_set( & ries on this page , 0)
4370  local_set( & write committed index , 0)
4371  dex for next read = 0
4373  local_set( & entries_bytes, 0)
4374  local_set( & overrun, 0)
4375  local_set( & commit_overrun, 0)
4376  local_set( & dropped_events, 0)
4377  local_set( & entries, 0)
4378  local_set( & committing, 0)
4379  local_set( & commits, 0)
4380  local_set( & pages_touched, 0)
4381  local_set( & pages_read, 0)
4382  last_pages_touch = 0
4383  shortest_full = 0
4384  read = 0
4385  read_bytes = 0
4387  write_stamp = 0
4388  read_stamp = 0
4390  lost_events = 0
4391  last_overrun = 0
4393  _head_page_activate - sets up head page
Caller
NameDescribe
ring_buffer_reset_cpug_buffer_reset_cpu - reset a ring buffer per CPU buffer*@buffer: The ring buffer to reset a per cpu buffer of*@cpu: The CPU buffer to be reset