public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
From: Li Guanglei <guanglei@cn.ibm.com>
To: "systemtap@sourceware.org" <systemtap@sourceware.org>
Subject: optimize event register codes for LKET
Date: Fri, 10 Nov 2006 15:14:00 -0000	[thread overview]
Message-ID: <45543530.40900@cn.ibm.com> (raw)

Hi,
   I checked in some changes about the event register codes of LKET. 
The problem with the old codes is that register_sys_event() is a 
script function which make stap unable to optimize away the unused 
events register codes and global variables.

  Here is a comparison:

"stap -e 'probe addevent.* {}' -bMv" will reduce the Pass 4 time from 
136841real ms to 82107real ms, and the generated .ko size reduce from 
  4.2M to 3.8MB

And it will be more obvious, say, only a few events are traced, e.g, 
'stap -e "probe addevent.iosyscall.read.entry {}" -bMv' will reduce 
the Pass 4 time from 77616real ms to 8557real ms, and generated .ko 
size reduce from 1.6M to 585KB.

- Guanglei

                 reply	other threads:[~2006-11-10  8:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45543530.40900@cn.ibm.com \
    --to=guanglei@cn.ibm.com \
    --cc=systemtap@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).