Re: Context of a kernel routine

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mulyadi,

Thanks.  In fact, instead of setting breakpoints at all call or far
jmps, I could set breakpoints for all functions.  I think they are the
same thing, unless there's some weird control flow.

On 19 September 2010 08:55, Sri Ram Vemulpali <sri.ram.gmu06@xxxxxxxxx> wrote:
> Replying to all.
> Or you can set a timer which interrupts and checks the stack and prints
> stack out. But you will get address of the instruction in the function.
> you can see dtrace concept of hacking stack to insert callback functions to
> trace callee.

Sri,

Thanks!  Another approach would be to use "perf top", which I believe
does something similar.

-- 
Vimal

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux