oprofile: update to 0.9.9, fix compile error

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41035
This commit is contained in:
Felix Fietkau
2014-06-06 10:51:44 +00:00
parent b1c3bf7cf0
commit 5d680ffda8
4 changed files with 33 additions and 76 deletions

View File

@@ -1,6 +1,6 @@
--- a/utils/opcontrol
+++ b/utils/opcontrol
@@ -248,7 +248,7 @@ load_module_26()
@@ -249,7 +249,7 @@ load_module_26()
{
grep oprofilefs /proc/filesystems >/dev/null
if test "$?" -ne 0; then
@@ -9,12 +9,3 @@
if test "$?" != "0"; then
# couldn't load the module
return
@@ -278,7 +278,7 @@ load_module_24()
{
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