<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>4409</bug_id>
          
          <creation_ts>2013-04-24 11:00:03 +0000</creation_ts>
          <short_desc>qemu password is asked in the console when using systemtap plugin</short_desc>
          <delta_ts>2013-10-14 18:14:49 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>9</classification_id>
          <classification>Documentation</classification>
          <product>ADT Manual</product>
          <component>SDK</component>
          <version>1.4</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>14 October 2013: Changed doc requirement to &quot;done&quot;</status_whiteboard>
          <keywords></keywords>
          <priority>Low</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.5</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexandru Georgescu">alexandru.c.georgescu</reporter>
          <assigned_to name="Scott Rifenbark">srifenbark</assigned_to>
          <cc>ioanax.grigoropol</cc>
    
    <cc>jessica.zhang</cc>
    
    <cc>poky.doc.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>srifenbark</cc>
    
    <cc>yp.ep.watcher</cc>
    
    <cc>yp.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Done (doc changes complete)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>32576</commentid>
    <comment_count>0</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2013-04-24 11:00:03 +0000</bug_when>
    <thetext>eclipse-poky dc9a609c68fe4a6bbbf34d418fd6611489c1d6f7
Host: Fedora 18


STEPS TO REPRODUCE
1. Install yocto eclipse plugin, open systemtap tool and fill in all the necessary data
2. When trying to connect to the qemuimage, I have the following output in the background:

[yocto@localhost scripts]$ ./eclipse/eclipse 

** (Eclipse:14984): WARNING **: Couldn&apos;t connect to accessibility bus: Failed to connect to socket /tmp/dbus-2VRD2BayyA: Connection refused
root@192.168.7.4&apos;s password:</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35392</commentid>
    <comment_count>1</comment_count>
    <who name="Jessica">jessica.zhang</who>
    <bug_when>2013-08-05 23:20:53 +0000</bug_when>
    <thetext>Please add a docmentation note that qemu maybe waiting for user to enter password in console</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35398</commentid>
    <comment_count>2</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2013-08-06 06:27:28 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; Please add a docmentation note that qemu maybe waiting for user to enter
&gt; password in console

Hi Jessica, 
Is this comment for Scott?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35642</commentid>
    <comment_count>3</comment_count>
    <who name="Jessica">jessica.zhang</who>
    <bug_when>2013-08-13 22:36:20 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit.cgi/eclipse-poky-kepler/commit/?id=f1fc72a31f7e51364ba3bccf45c028e694aefb9a

Scott,

Please add a note that systemtap is assumed you can establish ssh connection to remote target, please refer to crosstap wiki page for details on verifying ssh connection https://wiki.yoctoproject.org/wiki/Tracing_and_Profiling#systemtap</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37340</commentid>
    <comment_count>4</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2013-09-30 12:24:37 +0000</bug_when>
    <thetext>Scott, please let me know when the comment is finished so I can close the bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37628</commentid>
    <comment_count>5</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2013-10-04 13:59:37 +0000</bug_when>
    <thetext>Hi, 

Looks like I still need this note somewhere before this bug can really be RESOLVED.  However, in looking it over, I am a bit confused.  There is a section in the ADT manual that overviews the user-space tools.  Here is what it says about systemtap:

&quot;SystemTap: A free software infrastructure that simplifies information gathering about a running Linux system. This information helps you diagnose performance or functional problems. SystemTap is not available as a user-space tool through the Eclipse IDE Yocto Plug-in. See http://sourceware.org/systemtap for more information on SystemTap. For examples on how to setup and use this tool, see the &quot;SystemTap&quot; section in the Yocto Project Profiling and Tracing Manual.&quot;

As you can see, it says it is not available as a user-space tool through the Eclipse IDE Yocto Plug-in.  The actual tool is shown and referenced quite a bit in our &quot;Profiling and Tracing&quot; manual that we never update.  This is the manual that Tom Zanussi created but we decided to leave in its original form between releases. 

So, my question is thus -- Is the bit about SystemTap incorrect where I am saying it is not available from the plug-in?  If so, then I guess the only way a user could use it is stand-alone?  

Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37784</commentid>
    <comment_count>6</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2013-10-09 14:24:50 +0000</bug_when>
    <thetext>(In reply to comment #5)
&gt; Hi, 
&gt; 
&gt; Looks like I still need this note somewhere before this bug can really be
&gt; RESOLVED.  However, in looking it over, I am a bit confused.  There is a
&gt; section in the ADT manual that overviews the user-space tools.  Here is what
&gt; it says about systemtap:
&gt; 
&gt; &quot;SystemTap: A free software infrastructure that simplifies information
&gt; gathering about a running Linux system. This information helps you diagnose
&gt; performance or functional problems. SystemTap is not available as a
&gt; user-space tool through the Eclipse IDE Yocto Plug-in. See
&gt; http://sourceware.org/systemtap for more information on SystemTap. For
&gt; examples on how to setup and use this tool, see the &quot;SystemTap&quot; section in
&gt; the Yocto Project Profiling and Tracing Manual.&quot;
&gt; 
&gt; As you can see, it says it is not available as a user-space tool through the
&gt; Eclipse IDE Yocto Plug-in.  The actual tool is shown and referenced quite a
&gt; bit in our &quot;Profiling and Tracing&quot; manual that we never update.  This is the
&gt; manual that Tom Zanussi created but we decided to leave in its original form
&gt; between releases. 
&gt; 
&gt; So, my question is thus -- Is the bit about SystemTap incorrect where I am
&gt; saying it is not available from the plug-in?  If so, then I guess the only
&gt; way a user could use it is stand-alone?  
&gt; 
&gt; Scott

I think Jessica may answer your question more precise because she designed the plugin but I will try to give you an answer from my point of view.
So AFAIK, the plugin calls the crosstap script, with some parameters that you enter in the plugin interface (in Eclipse). The output of the crosstap script is displayed in Eclipse that the user can view and decide what to do with that data.
The plugin mimics the user commands in the console like crosstap@.... and so on. 


Also, looking in the tracing and profiling wiki: https://wiki.yoctoproject.org/wiki/Tracing_and_Profiling#systemtap I couldn&apos;t see any reference to eclipse usage so I think we lack the documentation on this one on the eclipse side? I usually tested this from the common sense and I didn&apos;t need the doc because the tool is straight forward. Also in the wiki I mentioned the behavior of the tool is specified.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37910</commentid>
    <comment_count>7</comment_count>
    <who name="Jessica">jessica.zhang</who>
    <bug_when>2013-10-14 17:54:51 +0000</bug_when>
    <thetext>Scott and Alex,

I think the issue reported here is resolved since we&apos;ve changed systemtap behaviro that any password requirement should show in eclipse plugin instead of hiding in the terminal.

But the note is still applies that eclipse plugin relies on systemtap script which depends on you can establish remote connection via SSH.

Thanks,
Jessica</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37911</commentid>
    <comment_count>8</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2013-10-14 18:14:49 +0000</bug_when>
    <thetext>Hi, 

I added a note in the setup section for SystemTap in the profiling manual.  This is the only logical spot where we talk about the ssh connections needed.  See http://www.yoctoproject.org/docs/1.5/profile-manual/profile-manual.html#systemtap-setup for the changes.  

I changed the doc requirements to &quot;Done&quot;.

Thanks, 
Scott</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>