public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* Help required in relation with static probe points, STAP_MARK
@ 2009-01-15 17:23 beginner966
  2009-01-15 18:56 ` David Smith
  0 siblings, 1 reply; 6+ messages in thread
From: beginner966 @ 2009-01-15 17:23 UTC (permalink / raw)
  To: systemtap


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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-01-17 15:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-15 17:23 Help required in relation with static probe points, STAP_MARK beginner966
2009-01-15 18:56 ` David Smith
2009-01-16  9:44   ` beginner966
2009-01-16  9:59   ` beginner966
2009-01-17 15:23     ` Frank Ch. Eigler
2009-01-17 16:35       ` beginner966

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).