Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\events\core.c Create Date:2022-07-28 13:39:15
Last Modify:2022-05-20 07:50:19 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Allocate a new address filter

Proto:static struct perf_addr_filter *perf_addr_filter_new(struct perf_event *event, struct list_head *filters)

Type:struct perf_addr_filter

Parameter:

TypeParameterName
struct perf_event *event
struct list_head *filters
9383  node = cpu_to_node(cpu == - 1 ? 0 : cpu)
9386  filter = kzalloc_node - allocate zeroed memory from a particular memory node.*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc).*@node: memory node from which to allocate
9387  If Not filter Then Return NULL
9390  Initialization list head
9391  list_add_tail - add a new entry*@new: new entry to be added*@head: list head to add it before* Insert a new entry before the specified head.* This is useful for implementing queues.
9393  Return filter
Caller
NameDescribe
perf_event_parse_addr_filterAddress filter string parser