<?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>6015</bug_id>
          
          <creation_ts>2014-03-20 13:16:52 +0000</creation_ts>
          <short_desc>Lttng does not work on qemuarm due to lttng-tracer module not found</short_desc>
          <delta_ts>2014-08-11 08:18:45 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>11</classification_id>
          <classification>Runtime</classification>
          <product>General Runtime</product>
          <component>General Runtime</component>
          <version>1.6</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></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.7</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexandra Safta">alexandra.safta</reporter>
          <assigned_to name="Bruce Ashfield">bruce.ashfield</assigned_to>
          <cc>alexandru.c.georgescu</cc>
    
    <cc>catalin.scrieciu</cc>
    
    <cc>dvhart</cc>
    
    <cc>pokylinux</cc>
    
    <cc>tom.zanussi</cc>
          
          <qa_contact name="Catalin Scrieciu">catalin.scrieciu</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>New (Never tested)</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>41523</commentid>
    <comment_count>0</comment_count>
    <who name="Alexandra Safta">alexandra.safta</who>
    <bug_when>2014-03-20 13:16:52 +0000</bug_when>
    <thetext>When running lttng tools on target-side tests and executing: lttng calibrate -k 
the following error is displayed: 
modprobe: FATAL: Module lttng-tracer not found. 
Error: Unable to load module lttng-tracer 
Error: Unable to remove module lttng-tracer 
Warning: No kernel tracer available 
Error: Kernel tracer not available 


The same error also affects channel enabling:
root@qemuarm:~# lttng enable-channel ch1 -k 
modprobe: FATAL: Module lttng-tracer not found. 
Error: Unable to load module lttng-tracer 
Error: Unable to remove module lttng-tracer 
Warning: No kernel tracer available 
Error: Channel ch1: Kernel tracer not available (session auto-20140320-095910) 
Warning: Some command(S)went wrong 
root@qemuarm:~#</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>41553</commentid>
    <comment_count>1</comment_count>
    <who name="Tom Zanussi">tom.zanussi</who>
    <bug_when>2014-03-20 22:51:29 +0000</bug_when>
    <thetext>See below for the threads discussing why this is.  Basically, lttng-modules has been blacklisted by the lttng team for arm, therefore no lttng-modules.

I originally also removed lttng-tools for that reason, but because lttng-ust is still valid, it was added back, and though lttng-tools exists, it&apos;s useless on arm other than for lttng-ust because lttng-modules isn&apos;t available on arm.

https://www.mail-archive.com/openembedded-core@lists.openembedded.org/msg50051.html

https://www.mail-archive.com/openembedded-core@lists.openembedded.org/msg50054.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>41555</commentid>
    <comment_count>2</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2014-03-20 23:35:21 +0000</bug_when>
    <thetext>THis sounds like a closed wait for upstream or closed not a bug. Thoughts?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>41557</commentid>
    <comment_count>3</comment_count>
    <who name="Tom Zanussi">tom.zanussi</who>
    <bug_when>2014-03-20 23:39:11 +0000</bug_when>
    <thetext>Well, it&apos;s a bug, but not something I&apos;d fix, so I guess the best course would be to wait for upstream.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>43835</commentid>
    <comment_count>4</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2014-06-09 22:48:45 +0000</bug_when>
    <thetext>Following Tom&apos;s advice and marking WaitForUpstream.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45056</commentid>
    <comment_count>5</comment_count>
    <who name="Bruce Ashfield">bruce.ashfield</who>
    <bug_when>2014-08-11 03:21:11 +0000</bug_when>
    <thetext>lttng-modules has been re-enabled for ARM in oe-core master. So this
is now available.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45058</commentid>
    <comment_count>6</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2014-08-11 08:18:45 +0000</bug_when>
    <thetext>Catalin, 
Can you verify this on our next FP?


Thanks,
Alex.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>