public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug translator/13847] New: reduce gcc time/space for demanding scripts
@ 2012-03-14 16:29 fche at redhat dot com
  2012-04-03 17:25 ` [Bug translator/13847] " fche at redhat dot com
  2012-04-12 21:32 ` jistone at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: fche at redhat dot com @ 2012-03-14 16:29 UTC (permalink / raw)
  To: systemtap

http://sourceware.org/bugzilla/show_bug.cgi?id=13847

             Bug #: 13847
           Summary: reduce gcc time/space for demanding scripts
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: translator
        AssignedTo: systemtap@sourceware.org
        ReportedBy: fche@redhat.com
    Classification: Unclassified


For a script with thousands of probes, with lots of automated $$vars
pretty-printing, it is possible to generate an amazing quantity of C / object
code.  We should make it less bad.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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

* [Bug translator/13847] reduce gcc time/space for demanding scripts
  2012-03-14 16:29 [Bug translator/13847] New: reduce gcc time/space for demanding scripts fche at redhat dot com
@ 2012-04-03 17:25 ` fche at redhat dot com
  2012-04-12 21:32 ` jistone at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: fche at redhat dot com @ 2012-04-03 17:25 UTC (permalink / raw)
  To: systemtap

http://sourceware.org/bugzilla/show_bug.cgi?id=13847

--- Comment #1 from Frank Ch. Eigler <fche at redhat dot com> 2012-04-03 17:24:55 UTC ---
Created attachment 6314
  --> http://sourceware.org/bugzilla/attachment.cgi?id=6314
some artefacts from a script compilation that went bad, bad, so terribly bad

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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

* [Bug translator/13847] reduce gcc time/space for demanding scripts
  2012-03-14 16:29 [Bug translator/13847] New: reduce gcc time/space for demanding scripts fche at redhat dot com
  2012-04-03 17:25 ` [Bug translator/13847] " fche at redhat dot com
@ 2012-04-12 21:32 ` jistone at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: jistone at redhat dot com @ 2012-04-12 21:32 UTC (permalink / raw)
  To: systemtap

http://sourceware.org/bugzilla/show_bug.cgi?id=13847

Josh Stone <jistone at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jistone at redhat dot com

--- Comment #2 from Josh Stone <jistone at redhat dot com> 2012-04-12 21:31:44 UTC ---
Regarding commit 8f12266 "PR13847: simplify compiled-printf functions", which
undid commit 0a4d3238 "PR3217: Make compiled-printf functions noinline".

I didn't document well my motivation for noinline, especially which platforms
reproduce the issue.  I've just found again this frame size issue though, and
reverting 8f12266 fixes it.

$ stap ../testsuite/systemtap.printf/int1.stp 
/tmp/stapH5c5hz/stap_efb73b1930e23fc0d9274ea48c731d59_2359_src.c: In function
‘probe_2001’:
/tmp/stapH5c5hz/stap_efb73b1930e23fc0d9274ea48c731d59_2359_src.c:3339:1: error:
the frame size of 740 bytes is larger than 256 bytes
[-Werror=frame-larger-than=]
cc1: all warnings being treated as errors
make[1]: *** [/tmp/stapH5c5hz/stap_efb73b1930e23fc0d9274ea48c731d59_2359_src.o]
Error 1
make: *** [_module_/tmp/stapH5c5hz] Error 2
WARNING: make exited with status: 2
Pass 4: compilation failed.  Try again with another '--vp 0001' option.

$ stap -V
Systemtap translator/driver (version 1.8/0.153 commit release-1.7-157-gcc0901e)
Copyright (C) 2005-2012 Red Hat, Inc. and others
This is free software; see the source for copying conditions.
enabled features: AVAHI LIBRPM LIBSQLITE3 NSS BOOST_SHARED_PTR
TR1_UNORDERED_MAP NLS

$ uname -r
3.3.1-3.fc16.i686.PAE
$ rpm -q gcc kernel-PAE
gcc-4.6.3-2.fc16.i686

Another details worth noting?

There are a few other testcases that also fail this way, but not quite so
horribly.

  systemtap.base/warn_overflow.exp    352 bytes
  systemtap.examples/process/syscalls_by_pid    348 bytes
  systemtap.examples/process/syscalls_by_proc    340 bytes
  systemtap.examples/profiling/topsys    352 bytes
  buildok/aux_syscalls-embedded.stp    308 bytes
  buildok/nd_syscalls2-detailed.stp    352 bytes

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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

end of thread, other threads:[~2012-04-12 21:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-14 16:29 [Bug translator/13847] New: reduce gcc time/space for demanding scripts fche at redhat dot com
2012-04-03 17:25 ` [Bug translator/13847] " fche at redhat dot com
2012-04-12 21:32 ` jistone at redhat dot com

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).