rte_malloc_dump_heaps

 

nodes = rte_malloc(NULL, sizeof(struct node), 0);
        if (NULL == nodes)
                rte_exit(EXIT_FAILURE, "Cannot malloc memory \n");
        printf("nodes addr %llx \n ",(long long) nodes);
        FILE * fp = fopen ("rte_malloc.txt", "w+");
        rte_malloc_dump_heaps(fp);

 

posted on 2020-09-01 20:20  tycoon3  阅读(199)  评论(0编辑  收藏  举报

导航