Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\tracing_map.c Create Date:2022-07-28 12:07:40
Last Modify:2020-03-17 19:44:05 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:create_sort_entry

Proto:static struct tracing_map_sort_entry *create_sort_entry(void *key, struct tracing_map_elt *elt)

Type:struct tracing_map_sort_entry

Parameter:

TypeParameterName
void *key
struct tracing_map_elt *elt
939  sort_entry = kzalloc - allocate memory. The memory is set to zero.*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc).
940  If Not sort_entry Then Return NULL
943  key = key
944  elt = elt
946  Return sort_entry
Caller
NameDescribe
tracing_map_sort_entriesracing_map_sort_entries - Sort the current set of tracing_map_elts in a map*@map: The tracing_map*@sort_key: The sort key to use for sorting*@sort_entries: outval: pointer to allocated and sorted array of entries* tracing_map_sort_entries() sorts the