linux-trace-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Capturing User-Level Function Calls/Returns
@ 2020-07-15 16:07 ahmadkhorrami
  2020-07-15 18:28 ` Steven Rostedt
  0 siblings, 1 reply; 13+ messages in thread
From: ahmadkhorrami @ 2020-07-15 16:07 UTC (permalink / raw)
  To: Linux-trace Users

Hi,
What is the most efficient way to capture occurrence of a function 
call/return of a binary program in userspace?
It seems the answer is Uprobes. 1) Am I right?
But Uprobes use "int" instruction which leads to a switch into kernel 
mode. 2) Wouldn't it be better to avoid this transition?
I'm looking forward to your reply and will be happy to read your 
opinions.
Regards.

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2020-07-16 16:34 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-15 16:07 Capturing User-Level Function Calls/Returns ahmadkhorrami
2020-07-15 18:28 ` Steven Rostedt
2020-07-15 18:45   ` Mathieu Desnoyers
2020-07-15 21:39     ` ahmadkhorrami
2020-07-15 21:48       ` Steven Rostedt
2020-07-15 22:25         ` ahmadkhorrami
2020-07-16  1:06         ` [lttng-dev] " Michel Dagenais
2020-07-16  1:49           ` Frank Ch. Eigler
2020-07-16 16:26             ` ahmadkhorrami
2020-07-16 16:20           ` ahmadkhorrami
2020-07-16 16:34           ` ahmadkhorrami
2020-07-16  1:04   ` Namhyung Kim
2020-07-16 16:07     ` ahmadkhorrami

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).