linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Daniel Chumak <daniel.chumak@student.HTW-Berlin.de>
To: linux-perf-users@vger.kernel.org
Subject: Perf Script Handler Arguments
Date: Tue, 06 May 2014 11:53:13 +0200	[thread overview]
Message-ID: <5368B109.2000206@student.HTW-Berlin.de> (raw)

Hi,

I am currently in the process of learning perfs python script support. 
Is there a way to find out, without trial and error, how much parameter 
a handler function has and what iformation the parameters are holding ?
The first 7 (event_name,context,common_cpu,common_secs, 
common_nsecs,common_pid,common_comm ) are documented in the man-page and 
are allways the same (?) but what is with the remaining ones ?
Syscalls__sys_enter_write for example needs 4 additional parameters: 
unkown0, unkown1, unkown2 and bytesToWrite.

Regards

D.C.

                 reply	other threads:[~2014-05-06 10: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=5368B109.2000206@student.HTW-Berlin.de \
    --to=daniel.chumak@student.htw-berlin.de \
    --cc=linux-perf-users@vger.kernel.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 NNTP newsgroup(s).