Profiling supply Ubuntu kernel with sysprof : just how?

There are numerous system - vast debug devices (sysprof, oprofile, systemtap) that require debug icons. Obtaining debug icons for userspace applications is very easy: https://wiki.ubuntu.com/DebuggingProgramCrash

The ddebs database additionally has linux-image-$(uname -r)-dbgsym plans, yet also if I install it, sysprof remains to show me purposeless "in kernel" without thorough details. Where can I get debug icons that sysprof can make use of?

The systemtap plan has a Suggests : linux - debug - 2.6. Proper - cache search falls short to locate anything called linux - debug - 2.6. Is it readily available someplace? Or is this an unsuccessful dead - end?

By the way, oprofile can make use of the debug icons from the above - stated dbgsym plan, yet not out of package - - it desires /lib/modules/$(uname -r)/build/vmlinux, and also I need to inform it to make use of usage /usr/lib/debug/boot/vmlinux-$(uname -r)-generic. Yet oprofile does not have a wonderful GUI, so I would certainly favor sysprof.

So, just how can I encourage sysprof to show me what is taking place in the kernel?

0
2019-05-13 05:10:22
Source Share
Answers: 1

As much as I can inform, I was incorrect and also sysprof does not in fact give any kind of degree of information past "in kernel". Below is sysprof - 1.0.12/ process.c, lines 350 via 355:

    if (address == 0x1)
    {
        kernel.name = "in kernel";
        kernel.address = 0x0001337;
        return &kernel;
    }
0
2019-05-21 03:38:18
Source