diff options
author | Thomas De Schampheleire <patrickdepinguin+buildroot@gmail.com> | 2013-03-12 19:10:55 +0100 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2013-03-18 22:19:51 +0100 |
commit | 145794b56fd0b5df0d6e2ff12c23ad859f40e4a8 (patch) | |
tree | c7acde220a72ea24a2a459d237139141a12978f7 /package/oprofile/oprofile-002-no-query-modules.patch | |
parent | f5fca1330ce572bcfcc3d783b34ba1517b9b41b6 (diff) | |
download | buildroot-novena-145794b56fd0b5df0d6e2ff12c23ad859f40e4a8.tar.gz buildroot-novena-145794b56fd0b5df0d6e2ff12c23ad859f40e4a8.zip |
oprofile: upstep 0.9.7 patches to 0.9.8
The patches to oprofile 0.9.7 seem still relevant for 0.9.8, but for some
reason they were not upstepped.
[Peter: drop version number from patch filenames]
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/oprofile/oprofile-002-no-query-modules.patch')
-rw-r--r-- | package/oprofile/oprofile-002-no-query-modules.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/package/oprofile/oprofile-002-no-query-modules.patch b/package/oprofile/oprofile-002-no-query-modules.patch new file mode 100644 index 000000000..9f00da641 --- /dev/null +++ b/package/oprofile/oprofile-002-no-query-modules.patch @@ -0,0 +1,21 @@ +diff -urN oprofile-0.9.4-0rig//daemon/liblegacy/opd_kernel.c oprofile-0.9.4/daemon/liblegacy/opd_kernel.c +--- oprofile-0.9.4-0rig//daemon/liblegacy/opd_kernel.c 2005-05-04 04:47:03.000000000 +0200 ++++ oprofile-0.9.4/daemon/liblegacy/opd_kernel.c 2009-01-21 07:40:20.000000000 +0100 +@@ -270,6 +270,9 @@ + */ + static void opd_drop_module_sample(unsigned long eip) + { ++ verbprintf(vmodule, "query_module not available on linux-2.6: %s\n", strerror(EPERM)); ++ ++#if 0 + char * module_names; + char * name; + size_t size = 1024; +@@ -307,6 +310,7 @@ + + if (module_names) + free(module_names); ++#endif + } + + |