oprofile: update to 0.9.9, fix compile error
[openwrt-github/.git] / package / devel / oprofile / patches / 100-use_insmod_instead_of_modprobe.patch
1 --- a/utils/opcontrol
2 +++ b/utils/opcontrol
3 @@ -249,7 +249,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