Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)

Syntax Error

santosh_jain99
Beginner
720 Views
Hi,

I am kind of new to the VTune and when I start to collect data using the following command, I get syntax error.

> vtl activity -c sampling -app ModuleEntry, "-f service.conf -i setup.ini -I 20 -M 1 -s /usr/lib/ -O" run

I am not sure what is wrong in this syntax ??
0 Kudos
3 Replies
santosh_jain99
Beginner
720 Views
Well, I kind of fixed it.There mustn't be any space between the comma and the command line arguments.
Now, I get this error though:
The Xerces-C system could not be initialized.
If you are using ICU, then the most likely reason for this failure
is the inability to find the ICU coverter files. The converter files
have the extension .cnv and exist in a directory 'icu/data' relative
to the Xerces-C shared library. If you have installed the converter files
in a different location, you need to set up the environment variable
'ICU_DATA' to point directly to the directory containing the
converter files.
Any ideas ???
0 Kudos
jeffrey-gallagher
720 Views
Hey Santosh_jain99,
1) What is Xerces-C?
2) What steps do you take to get that error?
3) Which OS and kernel are you running on?
cheers
jdg
0 Kudos
David_A_Intel1
Employee
720 Views
I suggest putting all these options into a script file, specifying the script as the app the launch and the application as the moi. I believe there is an issue with using dashes (-) as arguments when invoking the app with the VTune analyzer.
Please try using a script file and letting us know if it works.
Thanks,
0 Kudos
Reply