MCPcopy Create free account
hub / github.com/F-Stack/f-stack / rte_malloc_dump_heaps

Function rte_malloc_dump_heaps

dpdk/lib/eal/common/rte_malloc.c:253–263  ·  view source on GitHub ↗

* Function to dump contents of all heaps */

Source from the content-addressed store, hash-verified

251 * Function to dump contents of all heaps
252 */
253void
254rte_malloc_dump_heaps(FILE *f)
255{
256 struct rte_mem_config *mcfg = rte_eal_get_configuration()->mem_config;
257 unsigned int idx;
258
259 for (idx = 0; idx < RTE_MAX_HEAPS; idx++) {
260 fprintf(f, "Heap id: %u\n", idx);
261 malloc_heap_dump(&mcfg->malloc_heaps[idx], f);
262 }
263}
264
265int
266rte_malloc_heap_get_socket(const char *name)

Callers 2

test_malloc_basicFunction · 0.85
cmd_dump_parsedFunction · 0.85

Calls 2

malloc_heap_dumpFunction · 0.85

Tested by 2

test_malloc_basicFunction · 0.68
cmd_dump_parsedFunction · 0.68