diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-06-06 10:51:44 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-06-06 10:51:44 +0000 |
commit | 5d680ffda8f34ffba86817a2039d4e01383bdb36 (patch) | |
tree | 7010503e4766e3cf452395729229bba4d2a1594a /package/devel/oprofile/patches/100-use_insmod_instead_of_modprobe.patch | |
parent | b1c3bf7cf0ff6c2e5d033607a32c17147d9e8ada (diff) | |
download | upstream-5d680ffda8f34ffba86817a2039d4e01383bdb36.tar.gz upstream-5d680ffda8f34ffba86817a2039d4e01383bdb36.tar.bz2 upstream-5d680ffda8f34ffba86817a2039d4e01383bdb36.zip |
oprofile: update to 0.9.9, fix compile error
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41035
Diffstat (limited to 'package/devel/oprofile/patches/100-use_insmod_instead_of_modprobe.patch')
-rw-r--r-- | package/devel/oprofile/patches/100-use_insmod_instead_of_modprobe.patch | 11 |
1 files changed, 1 insertions, 10 deletions
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 10107980a5..cd71d0d959 100644 --- 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 -@@ -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 |