All of lore.kernel.org
 help / color / mirror / Atom feed
From: su@seds.nl (Ben Mezger)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Keeping track of called syscalls in real-time
Date: Wed, 28 Jun 2017 17:48:15 -0300	[thread overview]
Message-ID: <bda7a828-015e-7009-ce52-bfe885505380@seds.nl> (raw)

Can the kernel keep track of all the system calls that were called by an
application/module in real-time?
I know I can statically use strace, or even gdb, but I am looking for a
solution in real time when the application/module is already running and
the user has no control over it.

I am not sure if a system call needs to go through a sort of wrapper to
get it from the syscall table, which I'm then assuming I can get such
info from there, but I am not sure.

I am looking for hints/options to archive this.

Many thanks

-- 
- seds
~> https://seds.nl

             reply	other threads:[~2017-06-28 20:48 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-28 20:48 Ben Mezger [this message]
2017-06-28 21:19 ` Keeping track of called syscalls in real-time valdis.kletnieks at vt.edu
2017-06-28 22:06   ` Ben Mezger
2017-06-28 22:26     ` valdis.kletnieks at vt.edu
2017-06-28 23:16       ` Ben Mezger
2017-06-29  0:49         ` W. Michael Petullo
2017-06-29 13:45           ` Ben Mezger
2017-06-29  1:19         ` valdis.kletnieks at vt.edu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bda7a828-015e-7009-ce52-bfe885505380@seds.nl \
    --to=su@seds.nl \
    --cc=kernelnewbies@lists.kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.