However, dpdk-testpmd gives argument parsing errors telling that it receives an unrecognized argument -i. As dpdk-testpmd uses "--" to separate command line arguments for two components of the program, I suspect that "--" is eaten by toplev. I check argc and argv arguments in dpdk-testpmd's main function and validate that "--" disappears.
Is there any way to make toplev keep double dashes in the tested program's command arguments?
I try to use
toplev
to analyze a program calleddpdk-testpmd
as shown below.However,
dpdk-testpmd
gives argument parsing errors telling that it receives an unrecognized argument-i
. Asdpdk-testpmd
uses "--" to separate command line arguments for two components of the program, I suspect that "--" is eaten bytoplev
. I checkargc
andargv
arguments indpdk-testpmd
's main function and validate that "--" disappears.Is there any way to make
toplev
keep double dashes in the tested program's command arguments?