public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
From: fche@redhat.com (Frank Ch. Eigler)
To: <systemtap@sources.redhat.com>
Subject: Re: is systemtap's language more complicated than needed.
Date: Thu, 14 Dec 2006 01:06:00 -0000	[thread overview]
Message-ID: <y0m64cfl3kd.fsf@ton.toronto.redhat.com> (raw)
In-Reply-To: <C56DB814FAA30B418C75310AC4BB279D0111735B@scsmsx413.amr.corp.intel.com>

"Stone, Joshua I" <joshua.i.stone@intel.com> writes:

> [...]
> > this change will make it much easier to read and create scripts for
> > the end user, especially if a function is inlined at some point in the
> > future.
> 
> This is a strong point in your favor, for the maintainability of scripts
> and tapsets.  And given that the compiler might also inline functions on
> its own, the function/inline distinction can be a real headache.
> [...]

Indeed, and resolving this problem had been recorded as the goal of
bug #1570.  Indeed, the issue is complicated by tension between the
in-probability inline function returns and the compiler's propensity
to inline things.

> Perhaps we could implement what you suggest as a shorthand, but
> still leave the function/inline/statement variants in place to allow
> one to be explicit. [...]

Perhaps, though we would be saving just two tokens ("." and "function"
/ "statement" / ...) for each such shorthand use.  Or one could save
typing effort by supporting explicit abbreviations like "k.stmt(...)"
for "kernel.statement(...)".

- FChE

  reply	other threads:[~2006-12-14  0:32 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-14  0:46 Stone, Joshua I
2006-12-14  1:06 ` Frank Ch. Eigler [this message]
2006-12-14 12:20   ` James Dickens
2006-12-14 13:15     ` Vara Prasad
2006-12-14 13:20       ` Frank Ch. Eigler
  -- strict thread matches above, loose matches on Subject: below --
2006-12-14  6:51 Stone, Joshua I
2006-12-14  0:32 James Dickens

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=y0m64cfl3kd.fsf@ton.toronto.redhat.com \
    --to=fche@redhat.com \
    --cc=systemtap@sources.redhat.com \
    /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).