diff options
author | Gustavo Zacarias <gustavo@zacarias.com.ar> | 2011-10-26 21:21:43 -0300 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2011-10-27 14:04:56 +0200 |
commit | 2a56a141e09b1540875abb572229e5eaec68aef8 (patch) | |
tree | e908a9459c051e55f1b531deab32cfaceffead85 /package/oprofile/oprofile-0.9.7-002-no-query-modules.patch | |
parent | 48391acd2c63ea373f9771210b3acd54ec97fb00 (diff) |
oprofile: bump to version 0.9.7 and fixes
* Bump to version 0.9.7
* Style fixes
* Build fix for x86: i386 is expected, not some other random i?86 as arch
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/oprofile/oprofile-0.9.7-002-no-query-modules.patch')
-rw-r--r-- | package/oprofile/oprofile-0.9.7-002-no-query-modules.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/package/oprofile/oprofile-0.9.7-002-no-query-modules.patch b/package/oprofile/oprofile-0.9.7-002-no-query-modules.patch new file mode 100644 index 000000000..9f00da641 --- /dev/null +++ b/package/oprofile/oprofile-0.9.7-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 + } + + |