openwrtv4/package/devel/oprofile/patches/100-use_insmod_instead_of_modprobe.patch
Felix Fietkau 5d680ffda8 oprofile: update to 0.9.9, fix compile error
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41035
2014-06-06 10:51:44 +00:00

11 lines
269 B
Diff

--- a/utils/opcontrol
+++ b/utils/opcontrol
@@ -249,7 +249,7 @@ load_module_26()
{
grep oprofilefs /proc/filesystems >/dev/null
if test "$?" -ne 0; then
- modprobe oprofile
+ insmod oprofile
if test "$?" != "0"; then
# couldn't load the module
return