Loading package/oprofile/oprofile-0.9.4-avr32-enable-lookup_dcookie.patch→package/oprofile/oprofile-0.9.4-001-avr32-enable-lookup_dcookie.patch +0 −0 File moved. View file package/oprofile/oprofile-0.9.4-002-no-query-modules.patch 0 → 100644 +21 −0 Original line number Diff line number Diff line 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 } package/oprofile/oprofile.mk +6 −4 Original line number Diff line number Diff line Loading @@ -5,7 +5,8 @@ ############################################################# OPROFILE_VERSION := 0.9.4 OPROFILE_CONF_OPT := --localstatedir=/var \ --with-extra-includes="$(BUILD_DIR)/binutils-$(BR2_BINUTILS_VERSION)-target/bfd -I$(TOOL_BUILD_DIR)/binutils-$(BR2_BINUTILS_VERSION)/include" \ --with-extra-includes="$(BUILD_DIR)/binutils-$(BR2_BINUTILS_VERSION)-target/bfd \ -I$(TOOL_BUILD_DIR)/binutils-$(BR2_BINUTILS_VERSION)/include" \ --with-extra-libs=$(BUILD_DIR)/binutils-$(BR2_BINUTILS_VERSION)-target/bfd \ --with-kernel-support Loading Loading @@ -43,3 +44,4 @@ $(OPROFILE_TARGET_CLEAN): rm -rf $(TARGET_DIR)/usr/share/oprofile -$(MAKE) -C $(OPROFILE_DIR) clean touch $@ Loading
package/oprofile/oprofile-0.9.4-avr32-enable-lookup_dcookie.patch→package/oprofile/oprofile-0.9.4-001-avr32-enable-lookup_dcookie.patch +0 −0 File moved. View file
package/oprofile/oprofile-0.9.4-002-no-query-modules.patch 0 → 100644 +21 −0 Original line number Diff line number Diff line 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 }
package/oprofile/oprofile.mk +6 −4 Original line number Diff line number Diff line Loading @@ -5,7 +5,8 @@ ############################################################# OPROFILE_VERSION := 0.9.4 OPROFILE_CONF_OPT := --localstatedir=/var \ --with-extra-includes="$(BUILD_DIR)/binutils-$(BR2_BINUTILS_VERSION)-target/bfd -I$(TOOL_BUILD_DIR)/binutils-$(BR2_BINUTILS_VERSION)/include" \ --with-extra-includes="$(BUILD_DIR)/binutils-$(BR2_BINUTILS_VERSION)-target/bfd \ -I$(TOOL_BUILD_DIR)/binutils-$(BR2_BINUTILS_VERSION)/include" \ --with-extra-libs=$(BUILD_DIR)/binutils-$(BR2_BINUTILS_VERSION)-target/bfd \ --with-kernel-support Loading Loading @@ -43,3 +44,4 @@ $(OPROFILE_TARGET_CLEAN): rm -rf $(TARGET_DIR)/usr/share/oprofile -$(MAKE) -C $(OPROFILE_DIR) clean touch $@