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]

patches for turning tapsets wrt kernel configuration available


Hi Guys,

Question, do you guys open to accepting patches that would turn available
tapset wrt available kernel configuration.

Here is an example of a problem that I've run into on some of our
machines. Probe 'probe nd_syscall.*' failed as follows:

semantic error: while resolving probe point: identifier 'kprobe' at /nobackup/kamensky/20180731/binos/linkfarm/sysroot-x86_64_cge7/usr/share/systemtap/tapset/linux/sysc_mq_open.stp:80:30 source: probe __nd_syscall.mq_open = kprobe.function("sys_mq_open")

it turns out my kernel does not enable CONFIG_POSIX_MQUEUE so sys_mq_open
function does not exist in kernel. Fix is obvious: to add proper
'%( CONFIG_POSIX_MQUEUE == "[ym]" %?' in tapset/linux/sysc_mq_open.stp.
But I wonder whether you guys would accept changes like this. Just wanted
to check before I spend time on making clean patch. I suspect there are
more issues like this, which may not be visible on regular distros like
RedHat and Fedora where system running big fully configured kernel.

Thanks,
Victor


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