Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH 0/2] btrace: perf improvements
@ 2014-03-07  8:57 Markus Metzger
  2014-03-07  8:57 ` [PATCH 1/2] btrace: only search for lines in current symtab Markus Metzger
  2014-03-07  8:57 ` [PATCH 2/2] btrace: avoid symbol lookup Markus Metzger
  0 siblings, 2 replies; 13+ messages in thread
From: Markus Metzger @ 2014-03-07  8:57 UTC (permalink / raw)
  To: jan.kratochvil; +Cc: gdb-patches

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


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

end of thread, other threads:[~2014-03-24  9:21 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-07  8:57 [PATCH 0/2] btrace: perf improvements Markus Metzger
2014-03-07  8:57 ` [PATCH 1/2] btrace: only search for lines in current symtab Markus Metzger
2014-03-21 17:43   ` Jan Kratochvil
2014-03-07  8:57 ` [PATCH 2/2] btrace: avoid symbol lookup Markus Metzger
2014-03-07 15:55   ` Pedro Alves
2014-03-10  8:05     ` Metzger, Markus T
2014-03-07 15:56   ` Pedro Alves
2014-03-10 21:43   ` Jan Kratochvil
2014-03-11 10:08     ` Metzger, Markus T
2014-03-21 17:22       ` Jan Kratochvil
2014-03-24  7:57         ` Metzger, Markus T
2014-03-24  8:37           ` Jan Kratochvil
2014-03-24  9:21             ` Metzger, Markus T

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox