2009-01-30 01:14:47 +00:00
|
|
|
--- a/utils/opcontrol
|
|
|
|
+++ b/utils/opcontrol
|
2012-03-20 01:00:43 +00:00
|
|
|
@@ -248,7 +248,7 @@ load_module_26()
|
2009-01-30 01:14:47 +00:00
|
|
|
{
|
|
|
|
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
|
2012-03-20 01:00:43 +00:00
|
|
|
@@ -278,7 +278,7 @@ load_module_24()
|
2009-01-30 01:14:47 +00:00
|
|
|
{
|
|
|
|
grep oprof /proc/devices >/dev/null
|
|
|
|
if test "$?" -ne 0; then
|
|
|
|
- modprobe oprofile
|
|
|
|
+ insmod oprofile
|
|
|
|
if test "$?" != "0"; then
|
|
|
|
# couldn't load a module
|
|
|
|
return
|