4 ms·
What distribution do you use with SystemTap, and do you get it from your distro's repositories or externally? I've spent a few hours trying to get a 'hello worl
by krakensden 12y ago
What distribution do you use with SystemTap, and do you get it from your distro's repositories or externally? I've spent a few hours trying to get a 'hello world' working on a couple occasions on CentOS and Ubuntu, and never really gotten anywhere. Although I have gotten kernel panics.
- suprjami 12y agoEL 5 and 6, just run "yum install systemtap" and "stap-prep" Here's a basic example from my scripts folder: http://pastie.org/private/zggvir0zdflcixnvleximq http://pastie.org/private/zggvir0zdflcixnvleximq When a kernel module calls request_module(), this prints out the backtrace so you can see what calls it and why. Example output from a "service iptables restart" is included. If you want some homework, add the name of the module being requested to the printf, at a glance it should be accessible via $name