summaryrefslogtreecommitdiff
path: root/proc.h
diff options
context:
space:
mode:
authorDima Kogan <dima@secretsauce.net>2014-05-21 03:47:33 -0700
committerChanho Park <chanho61.park@samsung.com>2014-08-22 20:38:26 +0900
commitd5232406664fdc51640eeba8f0e49f26275921df (patch)
treedae013446ba070970bfac8e9c32c1576979411f2 /proc.h
parente29618826afbca88e505ade97763ffed04b073c3 (diff)
downloadltrace-d5232406664fdc51640eeba8f0e49f26275921df.tar.gz
ltrace-d5232406664fdc51640eeba8f0e49f26275921df.tar.bz2
ltrace-d5232406664fdc51640eeba8f0e49f26275921df.zip
Making sure to not double-examine the same DWARF CU
Diffstat (limited to 'proc.h')
-rw-r--r--proc.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/proc.h b/proc.h
index 659c786..c1408be 100644
--- a/proc.h
+++ b/proc.h
@@ -121,6 +121,12 @@ struct process {
#if defined(HAVE_LIBDW)
/* Unwind info for leader, NULL for non-leader procs. */
Dwfl *dwfl;
+
+ /* Whether we still need to attach the DWARF library to this process. We
+ * try only once, and never again, regardless of whether we succeeded or
+ * not. 0 = shouldn't attach */
+ int should_attach_dwfl;
+
#endif /* defined(HAVE_LIBDW) */
#if defined(HAVE_LIBUNWIND)