All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] lttng-2.0 fixes
@ 2012-10-12 19:53 ` tom.zanussi
  0 siblings, 0 replies; 12+ messages in thread
From: tom.zanussi @ 2012-10-12 19:52 UTC (permalink / raw)
  To: openembedded-core, bruce.ashfield, dvhart

From: Tom Zanussi <tom.zanussi@intel.com>

When trying out the current lttng-2.0, I found that it didn't work in
its current state.  This patch makes it work again, or at least a
a quick test on qemux86 works:

Before:

root@qemux86:~# lttng create
Spawning a session daemon
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
Session auto-20121012-190712 created.
Traces will be written in /home/root/lttng-traces/auto-20121012-190712

After:

root@qemux86:~# lttng create
Spawning a session daemon
Session auto-20121012-192342 created.
Traces will be written in /home/root/lttng-traces/auto-20121012-192342
root@qemux86:~# lttng enable-event --kernel --all
All kernel events are enabled in channel channel0
root@qemux86:~# lttng start
Tracing started for session auto-20121012-192342
root@qemux86:~# lttng stop
Tracing stopped for session auto-20121012-192342
root@qemux86:~# lttng view
[19:27:01.661844467] (+?.?????????) hrtimer_cancel: { 0 }, { hrtimer = 3354328992 }
[19:27:01.661854316] (+0.000009849) hrtimer_expire_entry: { 0 }, { hrtimer = 3354328992, now = \
318684045266, function = 3238494992 }
[19:27:01.661870669] (+0.000016353) softirq_raise: { 0 }, { vec = 1 }
[19:27:01.661876340] (+0.000005671) softirq_raise: { 0 }, { vec = 9 }
[19:27:01.661887892] (+0.000011552) sched_stat_runtime: { 0 }, { comm = "lttng-sessiond", tid =


The following changes since commit 0260bb5c6978839c068007fcff2f704937805faf:

  gitignore: Fix for poky repository (2012-10-11 13:52:14 +0100)

are available in the git repository at:

  git://git.yoctoproject.org/poky-contrib.git tzanussi/lttng-fixes.0
  http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=tzanussi/lttng-fixes.0

Tom Zanussi (2):
  lttng-modules: update SRCREV and remove is_compat_task patch

 ...ls-protect-is_compat_task-from-redefiniti.patch | 41 ----------------------
 .../lttng-2.0/lttng-modules_2.0.5.bb               |  9 +++--
 2 files changed, 9 insertions(+), 50 deletions(-)
 delete mode 100644 meta/recipes-kernel/lttng-2.0/lttng-modules/lttng-sycalls-protect-is_compat_task-from-redefiniti.patch

-- 
1.7.11.4




^ permalink raw reply	[flat|nested] 12+ messages in thread
* [PATCH 0/1] replace lttng with lttng-2.0 in core-tools-profile, v2
@ 2012-10-16  4:59 tom.zanussi
  2012-10-16  4:59 ` [PATCH 1/1] packagegroup-core-tools-profile: replace 'legacy' lttng with lttng 2.0 tom.zanussi
  0 siblings, 1 reply; 12+ messages in thread
From: tom.zanussi @ 2012-10-16  4:59 UTC (permalink / raw)
  To: poky

From: Tom Zanussi <tom.zanussi@intel.com>

The current packagegroup-core-tools-profile pulls in 'legacy' lttng
packages, which are useless with the linux-yocto kernels since those
don't include lttng support.

lttng-2.0 does seem to work, if the patch for lttng-modules that I just
sent to oe-core is applied as well (lttng-modules: update SRCREV and
remove is_compat_task).

I've only done minimal testing using qemux86, but even so it should at
least be better than the curent situation.

Sending this patch to poky instead of oe-core since it could be that
legacy lttng is what's being used by most people, but it clearly doesn't
work for yocto.

v2: the current lttng2 recipes don't build for mips.  From the recipes:

  # Due to liburcu not building for MIPS currently this recipe needs to
  # be limited also.
  # So here let us first suppport x86/arm/powerpc platforms now.

NOTE: this patch requires the accompanying oe-core patch to be applied
as well:

http://lists.linuxtogo.org/pipermail/openembedded-core/2012-October/030957.html

The following changes since commit 83448c4b318ce60a54aae24a9a247456fa94caaf:

  documentation: kernel-manual - Fixed typo. (2012-10-15 14:45:16 +0100)

are available in the git repository at:

  git://git.yoctoproject.org/poky-contrib.git tzanussi/switch-to-lttng2
  http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=tzanussi/switch-to-lttng2

Tom Zanussi (1):
  packagegroup-core-tools-profile: replace 'legacy' lttng with lttng
    2.0

 .../packagegroup-core-tools-profile.bb             | 22 ++++++++++++++++++----
 1 file changed, 18 insertions(+), 4 deletions(-)

-- 
1.7.11.4



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2012-10-16  4:59 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-12 19:52 [PATCH 0/1] lttng-2.0 fixes tom.zanussi
2012-10-12 19:53 ` [PATCH 0/1] replace lttng with lttng-2.0 in core-tools-profile tom.zanussi
2012-10-12 19:52 ` [PATCH 1/1] lttng-modules: update SRCREV and remove is_compat_task patch tom.zanussi
2012-10-12 20:12   ` Bruce Ashfield
2012-10-12 19:53 ` [PATCH 1/1] packagegroup-core-tools-profile: replace 'legacy' lttng with lttng 2.0 tom.zanussi
2012-10-12 20:11   ` Bruce Ashfield
2012-10-12 20:11     ` Bruce Ashfield
2012-10-15 23:51   ` Saul Wold
2012-10-15 23:53     ` Darren Hart
2012-10-16  2:33     ` Tom Zanussi
2012-10-12 20:13 ` [PATCH 0/1] lttng-2.0 fixes Bruce Ashfield
  -- strict thread matches above, loose matches on Subject: below --
2012-10-16  4:59 [PATCH 0/1] replace lttng with lttng-2.0 in core-tools-profile, v2 tom.zanussi
2012-10-16  4:59 ` [PATCH 1/1] packagegroup-core-tools-profile: replace 'legacy' lttng with lttng 2.0 tom.zanussi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.