aboutsummaryrefslogtreecommitdiffstats
path: root/package/devel/oprofile/patches/.svn/text-base/100-use_insmod_instead_of_modprobe.patch.svn-base
diff options
context:
space:
mode:
authorJames <>2013-03-17 12:16:37 +0000
committerJames <>2013-03-17 12:16:37 +0000
commit27b76ab0671089c47506615a796a261e993896a7 (patch)
tree61213d67e7fa87b20356b23798558e2c4212c42f /package/devel/oprofile/patches/.svn/text-base/100-use_insmod_instead_of_modprobe.patch.svn-base
downloadtrunk-36060-27b76ab0671089c47506615a796a261e993896a7.tar.gz
trunk-36060-27b76ab0671089c47506615a796a261e993896a7.tar.bz2
trunk-36060-27b76ab0671089c47506615a796a261e993896a7.zip
Diffstat (limited to 'package/devel/oprofile/patches/.svn/text-base/100-use_insmod_instead_of_modprobe.patch.svn-base')
-rw-r--r--package/devel/oprofile/patches/.svn/text-base/100-use_insmod_instead_of_modprobe.patch.svn-base20
1 files changed, 20 insertions, 0 deletions
diff --git a/package/devel/oprofile/patches/.svn/text-base/100-use_insmod_instead_of_modprobe.patch.svn-base b/package/devel/oprofile/patches/.svn/text-base/100-use_insmod_instead_of_modprobe.patch.svn-base
new file mode 100644
index 0000000..1010798
--- /dev/null
+++ b/package/devel/oprofile/patches/.svn/text-base/100-use_insmod_instead_of_modprobe.patch.svn-base
@@ -0,0 +1,20 @@
+--- a/utils/opcontrol
++++ b/utils/opcontrol
+@@ -248,7 +248,7 @@ load_module_26()
+ {
+ 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
+@@ -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