上一页 1 ··· 108 109 110 111 112 113 114 115 116 ··· 164 下一页

2020年9月2日

摘要: build/app/TestMalloc -n 4 --proc-type=primary mz addr: 100012838, mz->addr :13febc780 , mz->addr_64 : 13febc780 arr addr: ffffe7739ad8 arr addr: 13feb 阅读全文
posted @ 2020-09-02 16:15 tycoon3 阅读(169) 评论(0) 推荐(0)
摘要: (gdb) p arr $8 = (struct rte_fbarray *) 0x1000000b0 (gdb) p *arr $9 = {name = '\000' <repeats 63 times>, count = 0, len = 0, elt_sz = 0, data = 0x0, r 阅读全文
posted @ 2020-09-02 15:31 tycoon3 阅读(4388) 评论(0) 推荐(0)
摘要: rte_fbarray_init eal_get_fbarray_path(path, sizeof(path), name); /* * Each fbarray is unique to process namespace, i.e. the * filename depends on proc 阅读全文
posted @ 2020-09-02 15:27 tycoon3 阅读(569) 评论(0) 推荐(0)
摘要: 转载 https://blog.csdn.net/jsh13417/article/details/107285384 两种数据结构体介绍 Malloc 库内部使用了两种数据结构类型(可以参考dpdk官方文档3.4.4章节介绍): struct malloc_heap:用于在每个 CPU Socke 阅读全文
posted @ 2020-09-02 12:53 tycoon3 阅读(736) 评论(0) 推荐(0)
摘要: [root@localhost dpdk-19.11]# cat /sys/devices/system/node/node*/hugepages/hugepages-2048kB/nr_hugepages 0 0 0 0 [root@localhost dpdk-19.11]# cat /sys/ 阅读全文
posted @ 2020-09-02 12:03 tycoon3 阅读(984) 评论(0) 推荐(0)
摘要: #include <stdio.h> #include <string.h> #include <stdint.h> #include <errno.h> #include <sys/queue.h> #include <rte_memory.h> #include <rte_launch.h> # 阅读全文
posted @ 2020-09-02 11:35 tycoon3 阅读(741) 评论(0) 推荐(0)
摘要: 更详细的内容见man page。这里举例说明: nm -u hello.o 显示hello.o 中的未定义符号,需要和其他对象文件进行链接. nm -A /usr/lib/* 2>/dev/null | grep "T memset" 在 /usr/lib/ 目录下找出哪个库文件定义了memset函 阅读全文
posted @ 2020-09-02 11:32 tycoon3 阅读(2138) 评论(0) 推荐(0)
摘要: [root@localhost yum.repos.d]# debuginfo-install glibc-2.17-307.el7.1.aarch64 libgcc-4.8.5-39.el7.aarch64 numactl-libs-2.0.12-5.el7.aarch64 -bash: debu 阅读全文
posted @ 2020-09-02 10:36 tycoon3 阅读(1682) 评论(0) 推荐(0)

2020年9月1日

摘要: nodes = rte_malloc(NULL, sizeof(struct node), 0); if (NULL == nodes) rte_exit(EXIT_FAILURE, "Cannot malloc memory \n"); printf("nodes addr %llx \n ",( 阅读全文
posted @ 2020-09-01 20:20 tycoon3 阅读(217) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-09-01 19:35 tycoon3 阅读(310) 评论(0) 推荐(0)
上一页 1 ··· 108 109 110 111 112 113 114 115 116 ··· 164 下一页

导航