Commit be8ecc57 authored by Tony Garnock-Jones's avatar Tony Garnock-Jones Committed by Arnaldo Carvalho de Melo

perf srcline: Use long-running addr2line per DSO

Invoking addr2line in a separate subprocess, one for each required
lookup, takes a terribly long time.

This patch introduces a long-running addr2line process for each DSO,
*DRAMATICALLY* speeding up runs of perf.

What used to take tens of minutes now takes tens of seconds.

Debian bug report about this issue:

  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=911815Signed-off-by: default avatarTony Garnock-Jones <tonyg@leastfixedpoint.com>
Tested-by: default avatarIan Rogers <irogers@google.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/r/20210916120939.453536-1-tonyg@leastfixedpoint.comSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent 2b775152
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment