<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Passing arguments to the program in Analyzers</title>
    <link>https://community.intel.com/t5/Analyzers/Passing-arguments-to-the-program/m-p/988528#M10687</link>
    <description>Hello,&lt;BR /&gt;&lt;BR /&gt;This solution works - thank you very much. &lt;BR /&gt;&lt;BR /&gt;The solution suggested by Intel (Supplying args for app to run under this analyzer - &lt;A href="http://support.intel.com/support/performancetools/vtune/linux/v1/sb/cs-005866-prd941.htm)" target="_blank"&gt;http://support.intel.com/support/performancetools/vtune/linux/v1/sb/cs-005866-prd941.htm)&lt;/A&gt; is totally bogus.&lt;BR /&gt;Can somebody from Intel update this page?&lt;BR /&gt;</description>
    <pubDate>Sat, 14 Jun 2003 04:34:25 GMT</pubDate>
    <dc:creator>yurly_malipurly</dc:creator>
    <dc:date>2003-06-14T04:34:25Z</dc:date>
    <item>
      <title>Passing arguments to the program</title>
      <link>https://community.intel.com/t5/Analyzers/Passing-arguments-to-the-program/m-p/988526#M10685</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;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:&lt;BR /&gt;#include &lt;STDIO.H&gt;&lt;BR /&gt;int main(int argc, char *argv[])&lt;BR /&gt;{&lt;BR /&gt;for (int i=0;i&lt;ARGC&gt;    printf("%s,",argv&lt;I&gt;);&lt;BR /&gt;printf("
");&lt;BR /&gt;return 0;&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;compiled as "gcc -g space.C" into a.out. All this program does is print arguments, for example&lt;BR /&gt;&amp;gt;a.out -Fa home&lt;BR /&gt;prints &lt;BR /&gt;a.out,-Fa,home&lt;BR /&gt;&lt;BR /&gt;Running a.out under vtl (vtl activity ex6 -c callgraph -app ./a.out,-Fa,home -moi ./a.out run) gives&lt;BR /&gt;a.out,-Fa&lt;BR /&gt;&lt;BR /&gt;- 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:&lt;BR /&gt;vtl activity ex6 -c callgraph -app ./a.out,hh,-Fa,home -moi ./a.out run&lt;BR /&gt;with "Syntax error. Try vtl -help..." message.&lt;BR /&gt;&lt;BR /&gt;Any suggestions? Does anybody else have this problem?&lt;/I&gt;&lt;/ARGC&gt;&lt;/STDIO.H&gt;</description>
      <pubDate>Sat, 14 Jun 2003 02:02:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Passing-arguments-to-the-program/m-p/988526#M10685</guid>
      <dc:creator>yurly_malipurly</dc:creator>
      <dc:date>2003-06-14T02:02:27Z</dc:date>
    </item>
    <item>
      <title>Re: Passing arguments to the program</title>
      <link>https://community.intel.com/t5/Analyzers/Passing-arguments-to-the-program/m-p/988527#M10686</link>
      <description>Hi, &lt;BR /&gt;&lt;BR /&gt;You are not alone one, who was confused with passing arguments to the vtl :-(&lt;BR /&gt;&lt;BR /&gt;In you case:&lt;BR /&gt;vtl activity ex6 -c callgraph -app ./a.out,"hh -Fa home" -moi ./a.out run&lt;BR /&gt;&lt;BR /&gt;should give the expected results.&lt;BR /&gt;&lt;BR /&gt;Please tell me if it does.&lt;BR /&gt;&lt;BR /&gt;-Daniel&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 14 Jun 2003 03:12:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Passing-arguments-to-the-program/m-p/988527#M10686</guid>
      <dc:creator>Daniel_B_Intel2</dc:creator>
      <dc:date>2003-06-14T03:12:32Z</dc:date>
    </item>
    <item>
      <title>Re: Passing arguments to the program</title>
      <link>https://community.intel.com/t5/Analyzers/Passing-arguments-to-the-program/m-p/988528#M10687</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;This solution works - thank you very much. &lt;BR /&gt;&lt;BR /&gt;The solution suggested by Intel (Supplying args for app to run under this analyzer - &lt;A href="http://support.intel.com/support/performancetools/vtune/linux/v1/sb/cs-005866-prd941.htm)" target="_blank"&gt;http://support.intel.com/support/performancetools/vtune/linux/v1/sb/cs-005866-prd941.htm)&lt;/A&gt; is totally bogus.&lt;BR /&gt;Can somebody from Intel update this page?&lt;BR /&gt;</description>
      <pubDate>Sat, 14 Jun 2003 04:34:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Passing-arguments-to-the-program/m-p/988528#M10687</guid>
      <dc:creator>yurly_malipurly</dc:creator>
      <dc:date>2003-06-14T04:34:25Z</dc:date>
    </item>
    <item>
      <title>Re: Passing arguments to the program</title>
      <link>https://community.intel.com/t5/Analyzers/Passing-arguments-to-the-program/m-p/988529#M10688</link>
      <description>happy you can continue working with "vtl"&lt;BR /&gt;looking forward for your new questions.&lt;BR /&gt;&lt;BR /&gt;thank you also for pointing to the bogus page! I sent main to Jeff - the Host of this forum. Hope he will take care of this page.&lt;BR /&gt;&lt;BR /&gt;-Daniel</description>
      <pubDate>Sat, 14 Jun 2003 21:38:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Passing-arguments-to-the-program/m-p/988529#M10688</guid>
      <dc:creator>Daniel_B_Intel2</dc:creator>
      <dc:date>2003-06-14T21:38:39Z</dc:date>
    </item>
    <item>
      <title>Re: Passing arguments to the program</title>
      <link>https://community.intel.com/t5/Analyzers/Passing-arguments-to-the-program/m-p/988530#M10689</link>
      <description>happy you can continue working with "vtl"&lt;BR /&gt;looking forward for your new questions.&lt;BR /&gt;&lt;BR /&gt;thank you also for pointing to the bogus page! I sent main to Jeff - the Host of this forum. Hope he will take care of this page.&lt;BR /&gt;&lt;BR /&gt;-Daniel</description>
      <pubDate>Sat, 14 Jun 2003 21:46:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Passing-arguments-to-the-program/m-p/988530#M10689</guid>
      <dc:creator>Daniel_B_Intel2</dc:creator>
      <dc:date>2003-06-14T21:46:27Z</dc:date>
    </item>
    <item>
      <title>Re: Passing arguments to the program</title>
      <link>https://community.intel.com/t5/Analyzers/Passing-arguments-to-the-program/m-p/988531#M10690</link>
      <description>Yurly,&lt;BR /&gt;&lt;BR /&gt;FYI, the information posted at &lt;A href="http://support.intel.com/support/performancetools/vtune/linux/v1/sb/cs-005866-prd941.htm" target="_blank"&gt;http://support.intel.com/support/performancetools/vtune/linux/v1/sb/cs-005866-prd941.htm&lt;/A&gt; is correct for the documented example, although it is not a general purpose solution.  If only one argument need be passed into the application, then the documented approach is sufficient.  With more than one argument, however, it is necessary to wrap them in double-quotes.&lt;BR /&gt;&lt;BR /&gt;Aaron Levinson</description>
      <pubDate>Tue, 17 Jun 2003 08:13:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Passing-arguments-to-the-program/m-p/988531#M10690</guid>
      <dc:creator>Aaron_L_Intel</dc:creator>
      <dc:date>2003-06-17T08:13:51Z</dc:date>
    </item>
  </channel>
</rss>

