This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Script with static probe point throws error in Pass 3


This is the declaration present in linux/marker.h

typedef void marker_probe_func(void *probe_private, void *call_private,
                const char *fmt, ...);

Actually it was same as you mentioned, but during compilation it threw an
error:

In file included from kernel/sched.c:31:
include/linux/marker.h:33: error: expected declaration specifiers or ...
before 'va_list'

for which Frank mentioned the following:

"I don't understand this error.  Maybe it's a compiler version issue.
Different versions of marker.h use "..." in that declaration."
-- 
View this message in context: http://www.nabble.com/Script-with-static-probe-point-throws-error-in-Pass-3-tp21528274p21603765.html
Sent from the Sourceware - systemtap mailing list archive at Nabble.com.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]