public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
From: "Frank Ch. Eigler" <fche@redhat.com>
To: "Jose R. Santos" <jrsantos@austin.ibm.com>
Cc: systemtap@sources.redhat.com
Subject: Re: next steps
Date: Mon, 26 Sep 2005 22:13:00 -0000	[thread overview]
Message-ID: <20050926221239.GG27733@redhat.com> (raw)
In-Reply-To: <20050926213411.GA9468@rx8.austin.ibm.com>

[-- Attachment #1: Type: text/plain, Size: 1051 bytes --]

Hi -

On Mon, Sep 26, 2005 at 04:34:11PM -0500, Jose R. Santos wrote:
> [...]
> >   ln ("cpu", cpu()) # cpu() to go into context tapset
> This would need to look something like this:
> 
> function cpu:long () %{
>         [...]
>         THIS->__retvalue = task_cpu(current);
> %}
> right?  Seems to be working on my 4-way system.

Yes, or perhaps just smp_processor_id() if that were more general and
still safe.

> [...]
> >   ln ("jiffies", jiffies()))  # jiffies() to go into in timestamp tapset
> 
> Just notice the availability of gettimeofday_(us/ms/s) on the
> timestamp tapset so I don't think jiffies are needed.  Either
> way, it should be quick and painless to implement.

Exactly.  Feel free to submit a patch for one or both of these
additions to the appropriate .stp files, and brief documentation in
src/stapfuncs.5.  I can commit them for you, or if you forsee becoming
a frequent contributor, you may request cvs write access.

That reminds me.  Time to add a GPL header to the tapset files.


- FChE

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2005-09-26 22:13 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-20 15:50 Frank Ch. Eigler
2005-09-21 15:46 ` Richard J Moore
2005-09-21 20:56   ` Frank Ch. Eigler
2005-09-21 23:33     ` Richard J Moore
2005-09-29 13:00       ` Masami Hiramatsu
2005-09-21 21:24 ` Martin Hunt
2005-09-21 23:58   ` Frank Ch. Eigler
2005-09-26 15:12   ` Jose R. Santos
2005-09-26 15:36     ` Frank Ch. Eigler
2005-09-26 16:26       ` Jose R. Santos
2005-09-26 16:56         ` Frank Ch. Eigler
2005-09-26 21:34       ` Jose R. Santos
2005-09-26 22:13         ` Frank Ch. Eigler [this message]
2005-09-27 15:30           ` Jose R. Santos
2005-09-26 17:44     ` thoughts Mathieu Desnoyers
2005-09-26 18:19       ` thoughts [re LTT] Frank Ch. Eigler
2005-09-26 18:30         ` Mathieu Desnoyers
2005-09-26 19:45         ` Karim Yaghmour
2005-09-29 16:44       ` thoughts Jose R. Santos

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=20050926221239.GG27733@redhat.com \
    --to=fche@redhat.com \
    --cc=jrsantos@austin.ibm.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).