This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
GDB fast tracepoint query
- From: Suchakrapani Datt Sharma <suchakrapani dot sharma at polymtl dot ca>
- To: gdb at sourceware dot org
- Date: Mon, 29 Apr 2013 15:27:24 -0400
- Subject: GDB fast tracepoint query
Hi,
I am trying to do some performance analysis of various dynamic
instrumentation/tracing tools. I started with simple overhead analysis of my
'dummy' test program when traced with fast tracepoints using gdb. If I do not
provide 'actions' after setting a tracepoint, will gdb still pass through the
tracepoint and induce some overhead or its just the same as *not* setting the
fast tracepoint and running a clean test? Is the first instruction at the
tracepoint on foo() modified immediately upon setting the tracepoint using
'ftrace foo'?
Regards,
Suchakra
--
Suchakrapani Datt Sharma
Laboratorie DORSAL
École Polytechnique de Montréal