I am having problems passing arguments to the program under vtune. Apparently, VTune either skips some arguments or does not take them at all. Here is the program:
int main(int argc, char *argv)
for (int i=0;i printf("%s,",argv);
compiled as "gcc -g space.C" into a.out. All this program does is print arguments, for example
>a.out -Fa home
Running a.out under vtl (vtl activity ex6 -c callgraph -app ./a.out,-Fa,home -moi ./a.out run) gives
- the last argument is eaten away. There is no spaces before or after commas in -app. It gets only worse from there. This command simply fails:
vtl activity ex6 -c callgraph -app ./a.out,hh,-Fa,home -moi ./a.out run
with "Syntax error. Try vtl -help..." message.
Any suggestions? Does anybody else have this problem?