<?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 Using pin to attach to a process in Analyzers</title>
    <link>https://community.intel.com/t5/Analyzers/Using-pin-to-attach-to-a-process/m-p/1177596#M18396</link>
    <description>&lt;P&gt;I am using a custom tracer which is working with pin tool. The format is&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;./pin-3.10/pin -t tracer/obj-intel64/champsim_tracer.so -o ~/traces/ls.trace -s 100000 -t 2000000 -- /bin/ls&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;where -s is the number of instructions to skip and -t is the number of instructions to be trace. The format is similar to the pin usage&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Usage: pin [OPTION] [-t &amp;lt;tool&amp;gt; [&amp;lt;toolargs&amp;gt;]] -- &amp;lt;command line&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thing is that, pin can be used to attach to a process. But when I use that, I get the usage output which means some options are incorrect.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;./pin-3.10/pin -t tracer/obj-intel64/champsim_tracer.so -pid 1094 -o run.trace -s 10000 -t 10000000&lt;BR /&gt;E: Missing application name&lt;BR /&gt;Pin: pin-3.10-97971-c5e41af74&lt;BR /&gt;Copyright 2002-2019 Intel Corporation.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Usage: pin [OPTION] [-t &amp;lt;tool&amp;gt; [&amp;lt;toolargs&amp;gt;]] -- &amp;lt;command line&amp;gt;&lt;BR /&gt;Use -help for a description of options&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this a problem with pin or the custom tracer tool? It seems that applying command line is mandatory in pin.&lt;/P&gt;</description>
    <pubDate>Fri, 05 Jul 2019 08:38:36 GMT</pubDate>
    <dc:creator>morca</dc:creator>
    <dc:date>2019-07-05T08:38:36Z</dc:date>
    <item>
      <title>Using pin to attach to a process</title>
      <link>https://community.intel.com/t5/Analyzers/Using-pin-to-attach-to-a-process/m-p/1177596#M18396</link>
      <description>&lt;P&gt;I am using a custom tracer which is working with pin tool. The format is&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;./pin-3.10/pin -t tracer/obj-intel64/champsim_tracer.so -o ~/traces/ls.trace -s 100000 -t 2000000 -- /bin/ls&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;where -s is the number of instructions to skip and -t is the number of instructions to be trace. The format is similar to the pin usage&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Usage: pin [OPTION] [-t &amp;lt;tool&amp;gt; [&amp;lt;toolargs&amp;gt;]] -- &amp;lt;command line&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thing is that, pin can be used to attach to a process. But when I use that, I get the usage output which means some options are incorrect.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;./pin-3.10/pin -t tracer/obj-intel64/champsim_tracer.so -pid 1094 -o run.trace -s 10000 -t 10000000&lt;BR /&gt;E: Missing application name&lt;BR /&gt;Pin: pin-3.10-97971-c5e41af74&lt;BR /&gt;Copyright 2002-2019 Intel Corporation.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Usage: pin [OPTION] [-t &amp;lt;tool&amp;gt; [&amp;lt;toolargs&amp;gt;]] -- &amp;lt;command line&amp;gt;&lt;BR /&gt;Use -help for a description of options&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this a problem with pin or the custom tracer tool? It seems that applying command line is mandatory in pin.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jul 2019 08:38:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Using-pin-to-attach-to-a-process/m-p/1177596#M18396</guid>
      <dc:creator>morca</dc:creator>
      <dc:date>2019-07-05T08:38:36Z</dc:date>
    </item>
    <item>
      <title>Hello,</title>
      <link>https://community.intel.com/t5/Analyzers/Using-pin-to-attach-to-a-process/m-p/1177597#M18397</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Let me re-direct you to Pin tool support:&amp;nbsp;https://software.intel.com/en-us/articles/pin-a-dynamic-binary-instrumentation-tool&lt;/P&gt;&lt;P&gt;&lt;EM&gt;"Technical Support&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;If you have specific questions after reading the user's manual, you should first check the&amp;nbsp;FAQ&amp;nbsp;page. If that doesn't answer your question, you can search through the archives of the Pinheads &lt;A href="https://groups.yahoo.com/neo/groups/pinheads/conversations/messages"&gt;newsgroup &lt;/A&gt;to see if anyone else asked your question. Finally, if that doesn't solve your problem, feel free to post a message to the newsgroup (don't forget to include your Pin kit number, operating system, processor, and gcc version).&lt;/EM&gt;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards, Katya&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jul 2019 15:01:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Using-pin-to-attach-to-a-process/m-p/1177597#M18397</guid>
      <dc:creator>Ekaterina_L_Intel</dc:creator>
      <dc:date>2019-07-05T15:01:20Z</dc:date>
    </item>
  </channel>
</rss>

