projects
/
openwrt-github
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
oprofile: update to 0.9.9, fix compile error
[openwrt-github/.git]
/
package
/
devel
/
oprofile
/
patches
/
100-use_insmod_instead_of_modprobe.patch
diff --git
a/package/devel/oprofile/patches/100-use_insmod_instead_of_modprobe.patch
b/package/devel/oprofile/patches/100-use_insmod_instead_of_modprobe.patch
index 10107980a5d4689353976f4c61d1c763cd112ad8..cd71d0d9594be382c769195bc6c5d9e3daf3bf22 100644
(file)
--- a/
package/devel/oprofile/patches/100-use_insmod_instead_of_modprobe.patch
+++ b/
package/devel/oprofile/patches/100-use_insmod_instead_of_modprobe.patch
@@
-1,6
+1,6
@@
--- a/utils/opcontrol
+++ b/utils/opcontrol
--- a/utils/opcontrol
+++ b/utils/opcontrol
-@@ -24
8,7 +248
,7 @@ load_module_26()
+@@ -24
9,7 +249
,7 @@ load_module_26()
{
grep oprofilefs /proc/filesystems >/dev/null
if test "$?" -ne 0; then
{
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
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