Searched refs:sorted_types (Results 1 – 1 of 1) sorted by relevance
441 struct rte_log_dynamic_type *sorted_types; in rte_log_list_types() local447 sorted_types = malloc(total_size); in rte_log_list_types()448 if (sorted_types == NULL) { in rte_log_list_types()450 sorted_types = rte_logs.dynamic_types; in rte_log_list_types()452 memcpy(sorted_types, rte_logs.dynamic_types, total_size); in rte_log_list_types()453 qsort(sorted_types, type_count, type_size, log_type_compare); in rte_log_list_types()457 if (sorted_types[type].name == NULL) in rte_log_list_types()459 fprintf(out, "%s%s\n", prefix, sorted_types[type].name); in rte_log_list_types()462 if (sorted_types != rte_logs.dynamic_types) in rte_log_list_types()463 free(sorted_types); in rte_log_list_types()