public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
From: Dmitry Malichenko <dmitryml@gmail.com>
To: systemtap@sourceware.org
Subject: Is it possible to create, using stap command, a kernel module which  	accepts arguments
Date: Thu, 18 Jun 2009 14:32:00 -0000	[thread overview]
Message-ID: <7e975d0b0906180732pf15e630y6af76a903828994a@mail.gmail.com> (raw)

Hello,

could you please help me with one question.
I saw some *.stp scripts which accept arguments, but these arguments
I should pass while running stap command.

Is it possible to write script in such a way, that argument should be
passed while running staprun command?
My goal is using *.ko module with command line argument instead of
recompiling *.stp script for each argument change.

I was looking for such information in manuals, but didn't find.

Thanks in advance,
Dmitry

             reply	other threads:[~2009-06-18 14:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-18 14:32 Dmitry Malichenko [this message]
2009-06-18 15:47 ` Frank Ch. Eigler
2009-06-18 17:21   ` Dmitry Malichenko

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=7e975d0b0906180732pf15e630y6af76a903828994a@mail.gmail.com \
    --to=dmitryml@gmail.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).