The argument -v is captured by toplev instead of the target application. The intended behaviour is most likely to pass -v to ./test. This applies to other arguments such as -F and -S, which may also be used by the target application.
This PR reparses the arguments and passes all arguments after (including) ./test to perf.
To pass the same argument to toplev, one can write
We support -- to separate the two kind of arguments. perf has complex arguments and it is not easy to parse them.
I don't think I want such a drastic change of behavior, it might break existing scripts, sorry.
When calling
toplev
with, for example,The argument
-v
is captured bytoplev
instead of the target application. The intended behaviour is most likely to pass-v
to./test
. This applies to other arguments such as-F
and-S
, which may also be used by the target application.This PR reparses the arguments and passes all arguments after (including)
./test
toperf
.To pass the same argument to
toplev
, one can write