<br><br><div class="gmail_quote">On Wed, May 9, 2012 at 6:55 AM, GJ Chang <span dir="ltr"><<a href="mailto:gijae.chang@gmail.com" target="_blank">gijae.chang@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello im GJ and new of LTTng<br>and Im trying to profiling kernel in android with LTTng 2.0.<br>so i build up LTTng modules and got belows<br><br> lttng-ring-buffer-client-discard.ko<br> lttng-ring-buffer-client-mmap-discard.ko<br>
lttng-ring-buffer-client-mmap-overwrite.ko<br> lttng/lttng-ring-buffer-client-overwrite.ko<br> lttng/lttng-ring-buffer-metadata-client.ko<br> lttng/lttng-ring-buffer-metadata-mmap-client.ko<br> lttng/lttng-statedump.ko<br>
lttng/lttng-tracer.ko<br><br>and i tried to insert modules to android kernel (actually im using galaxy nexus)<br>but i only can insert "lttng/lttng-statedump.ko" not others<br></blockquote><div><br></div><div>
I don't know about Android specifically, but I'm guessing your problem is that you're not inserting the kernel modules built in subdirectories. The canonical way to do that is using depmod (see the README for instructions), but if that doesn't work on Android, an ordering that works for installing all of the modules is:</div>
<div><br></div><div>insmod probes/lttng-types.ko</div><div>insmod probes/lttng-kretprobes.ko</div><div>insmod probes/lttng-kprobes.ko</div><div>insmod probes/lttng-ftrace.ko</div><div>insmod lib/lttng-lib-ring-buffer.ko</div>
<div>insmod lttng-statedump.ko</div><div>insmod lttng-tracer.ko</div><div>insmod probes/lttng-probe-timer.ko</div><div>insmod probes/lttng-probe-statedump.ko</div><div>insmod probes/lttng-probe-signal.ko</div><div>insmod probes/lttng-probe-sched.ko</div>
<div>insmod probes/lttng-probe-lttng.ko</div><div>insmod probes/lttng-probe-kvm.ko</div><div>insmod probes/lttng-probe-irq.ko</div><div>insmod probes/lttng-probe-block.ko</div><div>insmod lttng-ring-buffer-metadata-mmap-client.ko</div>
<div>insmod lttng-ring-buffer-metadata-client.ko</div><div>insmod lttng-ring-buffer-client-overwrite.ko</div><div>insmod lttng-ring-buffer-client-mmap-overwrite.ko</div><div>insmod lttng-ring-buffer-client-mmap-discard.ko</div>
<div>insmod lttng-ring-buffer-client-discard.ko</div><div><br></div></div>