* [committed] Mention DIE counting phase with --devel-trace
@ 2019-01-01 0:00 Tom de Vries
0 siblings, 0 replies; only message in thread
From: Tom de Vries @ 2019-01-01 0:00 UTC (permalink / raw)
To: dwz, jakub
Hi,
Now that DIE counting is an additional phase, mention it in the trace:
...
$ cp cc1 1; time.sh dwz 1 --devel-trace
Compressing 1
+Counting DIEs
Hit low-mem die-limit
Compressing 1 in low-mem mode
maxmem: 655324
real: 9.81
user: 9.53
system: 0.27
...
Which makes it also clear when we're not using that phase:
...
$ cp cc1 1; time.sh dwz 1 -l11000000 --devel-trace
Compressing 1
maxmem: 1177616
real: 5.89
user: 5.55
system: 0.33
...
Committed to trunk.
Thanks,
- Tom
Mention DIE counting phase with --devel-trace
2019-11-26 Tom de Vries <tdevries@suse.de>
* dwz.c (try_debug_info): Mention DIE counting phase in trace.
---
dwz.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/dwz.c b/dwz.c
index fc41b0e..095af49 100644
--- a/dwz.c
+++ b/dwz.c
@@ -4900,6 +4900,9 @@ try_debug_info (DSO *dso)
unsigned ret = 1;
int kind = DEBUG_INFO;
+ if (tracing)
+ fprintf (stderr, "Counting DIEs\n");
+
ndies = 0;
ptr = debug_sections[kind].data;
endsec = ptr + debug_sections[kind].size;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-11-26 11:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-01 0:00 [committed] Mention DIE counting phase with --devel-trace Tom de Vries
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).