libcgroup: bump to version 0.41 and use LIBCGROUP_VERSION
[buildroot-gz.git] / package / oprofile / oprofile-002-no-query-modules.patch
blob9f00da641997b178280edb57a20f5286ac21d531
1 diff -urN oprofile-0.9.4-0rig//daemon/liblegacy/opd_kernel.c oprofile-0.9.4/daemon/liblegacy/opd_kernel.c
2 --- oprofile-0.9.4-0rig//daemon/liblegacy/opd_kernel.c 2005-05-04 04:47:03.000000000 +0200
3 +++ oprofile-0.9.4/daemon/liblegacy/opd_kernel.c 2009-01-21 07:40:20.000000000 +0100
4 @@ -270,6 +270,9 @@
5 */
6 static void opd_drop_module_sample(unsigned long eip)
8 + verbprintf(vmodule, "query_module not available on linux-2.6: %s\n", strerror(EPERM));
10 +#if 0
11 char * module_names;
12 char * name;
13 size_t size = 1024;
14 @@ -307,6 +310,7 @@
16 if (module_names)
17 free(module_names);
18 +#endif