This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 0/2] btrace: perf improvements
- From: Markus Metzger <markus dot t dot metzger at intel dot com>
- To: jan dot kratochvil at redhat dot com
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 7 Mar 2014 09:57:43 +0100
- Subject: [PATCH 0/2] btrace: perf improvements
- Authentication-results: sourceware.org; auth=none
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