This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Help required in relation with static probe points, STAP_MARK
- From: beginner966 <nitin966 at gmail dot com>
- To: systemtap at sourceware dot org
- Date: Thu, 15 Jan 2009 08:56:44 -0800 (PST)
- Subject: Help required in relation with static probe points, STAP_MARK
Hi,
I am a beginner and was trying to use STAP_MARK to create static probe
points in kernel/sched.c. When I patched the sched.c file and did a make,
following errors were obtained:
kernel/sched.c: In function Ãadd_preempt_countÃ:
kernel/sched.c:4425: warning: unused variable Ãparent_eipÃ
kernel/sched.c:4424: warning: unused variable ÃeipÃ
kernel/sched.c: In function Ã__migrate_taskÃ:
kernel/sched.c:6295: error: implicit declaration of function ÃSTAP_MARKÃ
kernel/sched.c:6295: error: Ãcpu_offlineà undeclared (first use in this
function)
kernel/sched.c:6295: error: (Each undeclared identifier is reported only
once
kernel/sched.c:6295: error: for each function it appears in.)
kernel/sched.c:6311: error: Ãalready_movedà undeclared (first use in this
function)
kernel/sched.c:6317: error: Ãaffinity_changedà undeclared (first use in this
function)
kernel/sched.c:6326: error: Ãmigration_successà undeclared (first use in
this function)
Which header file is to be included for STAP_MARK to work ?
Please reply. Thanks !
--
View this message in context: http://www.nabble.com/Help-required-in-relation-with-static-probe-points%2C-STAP_MARK-tp21481846p21481846.html
Sent from the Sourceware - systemtap mailing list archive at Nabble.com.