Function report |
Source Code:kernel\trace\tracing_map.c |
Create Date:2022-07-28 12:07:42 |
Last Modify:2020-03-17 19:44:05 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:detect_dups
Proto:static void detect_dups(struct tracing_map_sort_entry **sort_entries, int n_entries, unsigned int key_size)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct tracing_map_sort_entry ** | sort_entries | |
int | n_entries | |
unsigned int | key_size |
952 | dups = 0 , total_dups = 0 |
956 | If n_entries < 2 Then Return |
959 | sort(sort_entries, n_entries, size of * , (int( * )(constvoid * , constvoid * ))cmp_entries_dup, NULL) |
969 | dups = 0 |
972 | WARN_ONCE(total_dups > 0, "Duplicates detected: %d\n", total_dups) |
Name | Describe |
---|---|
tracing_map_sort_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 |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |