Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\trace_events_hist.c Create Date:2022-07-28 12:33:24
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:print_entries

Proto:static int print_entries(struct seq_file *m, struct hist_trigger_data *hist_data)

Type:int

Parameter:

TypeParameterName
struct seq_file *m
struct hist_trigger_data *hist_data
5509  struct tracing_map_sort_entry * * sort_entries = NULL
5510  map = map
5513  n_entries = racing_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
5516  If n_entries < 0 Then Return n_entries
5519  When i < n_entries cycle hist_trigger_entry_print(m, hist_data, key, elt)
5524  racing_map_destroy_sort_entries - Destroy an array of sort entries*@entries: The entries to destroy*@n_entries: The number of entries in the array* Destroy the elements returned by a tracing_map_sort_entries() call.
5526  Return n_entries
Caller
NameDescribe
hist_trigger_show