Help required in relation with static probe points, STAP_MARK

beginner966 nitin966@gmail.com
Thu Jan 15 17:23:00 GMT 2009


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.



More information about the Systemtap mailing list