[PATCH 0/2] btrace: perf improvements
Markus Metzger
markus.t.metzger@intel.com
Fri Mar 7 08:57:00 GMT 2014
The subsequent patches improve the performance of processing branch trace by
reducing the number of symbol table lookups.
For the currently hard-coded buffer size the impact should only be noticeable
for big programs. When tracing GDB itself, for example, there is no noticeable
delay.
Subsequent patches will allow the buffer size to be configurable. Bigger
buffers will require faster processing.
Markus Metzger (2):
btrace: only search for lines in current symtab
btrace: avoid symbol lookup
gdb/btrace.c | 128 +++++++++++++-------------
gdb/btrace.h | 3 +
gdb/record-btrace.c | 8 +-
gdb/testsuite/gdb.btrace/exception.exp | 4 +-
gdb/testsuite/gdb.btrace/static_functions.exp | 62 +++++++++++++
5 files changed, 135 insertions(+), 70 deletions(-)
create mode 100644 gdb/testsuite/gdb.btrace/static_functions.exp
--
1.8.3.1
More information about the Gdb-patches
mailing list