Root/package/devel/oprofile/patches/100-use_insmod_instead_of_modprobe.patch

1--- a/utils/opcontrol
2+++ b/utils/opcontrol
3@@ -248,7 +248,7 @@ load_module_26()
4 {
5     grep oprofilefs /proc/filesystems >/dev/null
6     if test "$?" -ne 0; then
7- modprobe oprofile
8+ insmod oprofile
9         if test "$?" != "0"; then
10             # couldn't load the module
11             return
12@@ -278,7 +278,7 @@ load_module_24()
13 {
14     grep oprof /proc/devices >/dev/null
15     if test "$?" -ne 0; then
16- modprobe oprofile
17+ insmod oprofile
18         if test "$?" != "0"; then
19             # couldn't load a module
20             return
21

Archive Download this file



interactive