<?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>9779</bug_id>
          
          <creation_ts>2016-06-15 11:16:20 +0000</creation_ts>
          <short_desc>remote profiling</short_desc>
          <delta_ts>2022-11-10 16:08:53 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>kernel</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>OBSOLETE</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard> </status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>Future</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jussi Kukkonen">jku</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>randy.macleod</cc>
    
    <cc>ross.burton</cc>
    
    <cc>tim.orling</cc>
    
    <cc>tom.zanussi</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>Unknown (Hard to categorize)</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>62988</commentid>
    <comment_count>0</comment_count>
    <who name="Jussi Kukkonen">jku</who>
    <bug_when>2016-06-15 11:16:20 +0000</bug_when>
    <thetext>(This could be a bug or enhancement, depending on how you look at it)

oprofile-ui was already pretty broken and will now be removed as we&apos;re moving to Gtk+3 (alternatively the code would require quite a bit of changes, mostly to port the Glade UI to GtkBuilder). So we don&apos;t have a remote profiler.

The best solution would be to add remote functionality to sysprof: Implement a  SpProfiler that connects to and controls a sysprof instance running on target. This might be quite involved -- on the other hand chergert is an active maintainer who would probably be very helpful ...

The workaround for now is to build sysprof without gtk PACKAGECONFIG, profile on target using sysprof-cli and copy the results to another machine and run sysprof there.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63059</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2016-06-16 16:39:50 +0000</bug_when>
    <thetext>Tim was talking to me about how Eclipse has perf support and can support remote debugging, so Eclipse may be an alternative that works with minimal effort and aligns with our SDK story.

Tim, do you have anything to add?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67644</commentid>
    <comment_count>2</comment_count>
    <who name="Tim Orling">tim.orling</who>
    <bug_when>2016-10-27 15:13:28 +0000</bug_when>
    <thetext>Just noticed this again during bug triage call. In my very quick search for documentation, this is what I found:

http://wiki.eclipse.org/Linux_Tools_Project/PERF/User_Guide#Remote_Profiling

I am not a profiling expert, so forgive me if I am missing your point.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67645</commentid>
    <comment_count>3</comment_count>
    <who name="Jussi Kukkonen">jku</who>
    <bug_when>2016-10-27 15:22:15 +0000</bug_when>
    <thetext>(In reply to comment #2)
&gt; Just noticed this again during bug triage call. In my very quick search for
&gt; documentation, this is what I found:
&gt; 
&gt; http://wiki.eclipse.org/Linux_Tools_Project/PERF/User_Guide#Remote_Profiling
&gt; 
&gt; I am not a profiling expert, so forgive me if I am missing your point.


I&apos;m fine with closing this: I wasn&apos;t aware of the eclipse/perf support at the time. sysprof is a nice tool but putting a lot of resources on integrating it when there&apos;s a solution already does not sound like a great use of time.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67650</commentid>
    <comment_count>4</comment_count>
    <who name="Tim Orling">tim.orling</who>
    <bug_when>2016-10-27 16:18:37 +0000</bug_when>
    <thetext>My suggestion is that someone (likely me) runs through the Tracing and Profiling wiki [0] and performs and documents those same steps using the Eclipse Linux Tools [1]. If anything is missing in Eclipse, we can then request an enhancement and help drive the functionality by Gerrit review [2]. I suppose this sounds like a new bug for 2.3.

[0] https://wiki.yoctoproject.org/wiki/Tracing_and_Profiling
[1] http://wiki.eclipse.org/Linux_Tools_Project/User_Guides
[2] https://git.eclipse.org/r/#/q/status:open+project:linuxtools/org.eclipse.linuxtools</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88566</commentid>
    <comment_count>5</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2020-11-05 08:33:14 +0000</bug_when>
    <thetext>Revisited thoughts:

I&apos;m curious if sysprof now supports remote profiling. However, that assumes that the user is running Linux, and these days there are cross platform tools.

Specifically, does VSCode have an extension for &apos;perf&apos; that works with the remote connections?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>94404</commentid>
    <comment_count>6</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2022-11-10 16:08:53 +0000</bug_when>
    <thetext>
We have perf and sysprof so unless there&apos;s an upstream feature/tool that we should support, we have nothing to add.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>