This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: How to show kernel side function invocations?
- From: Daniel Meir Doron <danielmeirdoron at gmail dot com>
- To: Shiyao MA <i at introo dot me>
- Cc: systemtap at sourceware dot org
- Date: Sun, 1 Apr 2018 08:27:09 +0300
- Subject: Re: How to show kernel side function invocations?
- References: <CAJQX3Dwt7DWqqvxrHzin+7wh_ZyyC3mYaERa4iX=rueysRxf2g@mail.gmail.com>
Hi,
There are many examples in systemtap to probe kernel side of things. You
can find them here: https://sourceware.org/systemtap/examples/
Here is an example of strace on kernel side:
https://sourceware.org/systemtap/examples/process/strace.stp
There are many options like printing backtrace (
https://sourceware.org/systemtap/examples/profiling/pf4.stp) and so much
more...
Daniel.
On Fri, Mar 30, 2018 at 6:47 PM, Shiyao MA <i@introo.me> wrote:
> Hi,
>
> Suppose I run the command `ls'.
>
> Strace only shows the syscall invocations.
>
> Is it possible to show all the functions invoked at the kernel land
> with the help of systemtap?
>
>
>
> --
> Best,
> Shiyao
>