summaryrefslogtreecommitdiffstats
path: root/package/devel/oprofile/patches/100-use_insmod_instead_of_modprobe.patch
blob: cd71d0d9594be382c769195bc6c5d9e3daf3bf22 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- 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