Hi, dpdk-pdump is secondary process and it must be run along with any primary process. The primary process must initialize packet capture framework by calling rte_pdump_init() and rt_pdump_uninit() apis, please refer testpmd.c file to see how this is done. Also I suggest you go through the below docs to understand about the usage. Let me know if you have any questions. http://dpdk.org/doc/guides/tools/pdump.html ==> dpdk-pdump tool usage is explained http://dpdk.org/doc/guides/prog_guide/pdump_lib.html ==> Pdump library is explained Thanks, Reshma
> -----Original Message----- > From: users [mailto:users-boun...@dpdk.org] On Behalf Of Heung Sik Choi > Sent: Friday, June 2, 2017 9:47 AM > To: users@dpdk.org > Subject: [dpdk-users] dpdk-pdump is not working > > Hi > > I want to run dpdk-pdump. So, I recompile with option of PCAP and PDUMP. > Also my machine is dual CPU(Xeon 2630 v2), so I set hugepage with NUMA > option. the huge page size is 2MB and the number of hugepage is each 8192 > both side. > > when the setting is over, I ran the > dpdk-pdump(/dpdk/x86_64_native_linuxapp-gcc/build/app/pdump). > However, error happens. > > error message is below: > > PANIC in rte_eal_config_attach(): > Cannot open '/var/run/.rte_config' for rte_mem_config > 6: [./dpdk-pdump() [0x437fc9]] > 5: [/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) > [0x7f5c419baf45]] > 4: [./dpdk-pdump(main+0x154) [0x440cd2]] > 3: [./dpdk-pdump(rte_eal_init+0xd9c) [0x477bec]] > 2: [./dpdk-pdump(__rte_panic+0xbe) [0x431b20]] > 1: [./dpdk-pdump(rte_dump_stack+0x1a) [0x47f68a]] > > > I also change the dpdk-pdump which is in /dpdk/x86_64_native_linuxapp- > gcc/app, but same error happens. > > Please let me know if you have any insights.