2) Install the "systemtap" package and any required dependencies. Refer to
the "2. Using SystemTap" chapter in the Red Hat Enterprise Linux 6
"SystemTap Beginners Guide" document, available from docs.redhat.com, for
information on installing the required -debuginfo packages.
3) Run the "stap -g [filename-from-step-1].stp" command as root.
If the host is rebooted, the changes will be lost and the script must be
run again.
To mitigate the issue:
1) On the host, save the following in a file with the ".stp" extension:
probe kernel. function( "mem_write@ fs/proc/ base.c" ).call {
$count = 0
}
2) Install the "systemtap" package and any required dependencies. Refer to
the "2. Using SystemTap" chapter in the Red Hat Enterprise Linux 6
"SystemTap Beginners Guide" document, available from docs.redhat.com, for
information on installing the required -debuginfo packages.
3) Run the "stap -g [filename- from-step- 1].stp" command as root.
If the host is rebooted, the changes will be lost and the script must be
run again.