Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package rpcs3 for openSUSE:Factory checked in at 2024-01-22 20:31:49 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rpcs3 (Old) and /work/SRC/openSUSE:Factory/.rpcs3.new.16006 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rpcs3" Mon Jan 22 20:31:49 2024 rev:14 rq:1140067 version:0.0.30~git20240112 Changes: -------- --- /work/SRC/openSUSE:Factory/rpcs3/rpcs3.changes 2024-01-06 19:26:12.992288150 +0100 +++ /work/SRC/openSUSE:Factory/.rpcs3.new.16006/rpcs3.changes 2024-01-22 20:31:56.500215926 +0100 @@ -1,0 +2,89 @@ +Sat Jan 13 05:30:40 UTC 2024 - [email protected] + +- Update to version 0.0.30~git20240112: + * media_utils: fix segfault when stopping a recording + * cellFont: some stubs + * Ensure HDD1 is never damaged or corrupted due to unexpected RPCS3/game termination + * cellMouse: silence some log spam + * audio_decoder: fix more memleaks and dangling files + * cellMusicDecode: fix random pop at the end of a stream + * cellSearch: fix vfs music and video paths + * get_media_info: improve logging + * audio_decoder: ignore first invalid data error + * audio_decoder: improve logging + * audio_decoder: properly free packets + * audio_decoder: check for failed av_packet_alloc + * overlays: decrease log level + * cellVideoExport: export movies to /video/ instead of /movie + * Windows: remove QtCore5Compat dependency + * Update FAudio to 24.01 + * sdl: log version + * sys_ss: Corrected sys_ss_update_manager(0x6011) version data format + * sys_fs: Improved get_device_root() path identifying security + * sys_fs: Prevented duplicate device mounting + * sys_fs: Fixed sys_fs_unlink()'s failing to delete files in dev_usbXXX + * Honk if you knew memset(nullptr, 0, 0) was UB + * Fix weird cmp in np_handler.cpp + * Fix games passing invalid npids + * sceNp: don't return error if assignedReqId is null + * sceNp: add missing roomPassword check + * sceNp: add missing withPassword check + * sceNp: add missing check for roomSlotInfo + * Misc NP fixes + * Add -Werror=implicit-fallthrough to cmake build + * Improve sceNpEula + * Impl sceNpBasicSendMessage + +------------------------------------------------------------------- +Sun Jan 07 10:28:18 UTC 2024 - [email protected] + +- Update to version 0.0.30~git20240105: + * Check room event callback has been set before calling it + * Fix sceNpBasicSetPresence when data is nullptr and size is 0 + * vk: Force GPU texture processing if the input is already GPU-resident (Tiled RCB read) + * RPCN 0.9 (#15002) + * gl: Implement display output format correction + * vk: Implement display output format correction + * rsx: Add an option to force hardware MSAA resolve + * rpcs3_version: Bump to 0.0.30 + * whitespace and format + * cellSearch: mount paths in /dev_hdd0/.tmp/ instead of /,tmp/ + * cellSearch: fix mounting of files + * Improve Emulator::GetBdvdDir + * Savestates: Experimental pads fix + * Fix report_fatal_error duplicate messages + * Fix PPU progress dialog hint + * sys: fix games.yml hdd paths + * Warn on use of privileged port on Linux + * rsx: Fix RSX tiling when using optimized DMA views + * macOS CI: downgrade ffmpeg (#14987) + * cellPad LDD fixup + * Qt: Add build version, title, emulation state and date to fatal error dialog + * cellPad: Fix LDD pads registration + * Savestates/vm: Improve saving performance + * sys_spu: Fix warning and theoretical bug + * Savestates: Fix g_fxo->init for types which use a pointer + * PPUTranslator: Try to fix a regression + * Utilities\BitField.h: Try to fix some warnings + * Add more debug info in serial_breathe_and_tag() + * Savestates: Rename DeferDeserialization, add some asserts + * Fix a corner case in lv2_timer_thread abort + * Simplify lv2_timer_thread management + * Move initialize_timebased_time call to a safer spot + * Fix pad_state_notify_state_change + * Savestates/cellPad: Save old controller state + * Compression: Fix infinite loop + * Compression: Improve async compression performance + * Savestates/TAR: Fix huge files handling in TAR serialization + * SPU LLVM: Minor fixup + * Update deploy-mac.sh - libjxl_cms.0.9.dylib + * HOTFIX for atomic wait + * fixes + * fix some more warnings + * Update wolfssl to v5.6.6 + * rsx: remove unused param + * fix more warnings + * fix some warnings + * sceNp: fix size_t data types + +------------------------------------------------------------------- Old: ---- rpcs3-0.0.29~git20231230.tar.xz New: ---- rpcs3-0.0.30~git20240112.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rpcs3.spec ++++++ --- /var/tmp/diff_new_pack.C2XewC/_old 2024-01-22 20:31:57.844265014 +0100 +++ /var/tmp/diff_new_pack.C2XewC/_new 2024-01-22 20:31:57.844265014 +0100 @@ -1,7 +1,7 @@ # # spec file for package rpcs3 # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: rpcs3 -Version: 0.0.29~git20231230 +Version: 0.0.30~git20240112 Release: 0 Summary: PS3 emulator/debugger License: GPL-2.0-only ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.C2XewC/_old 2024-01-22 20:31:57.896266913 +0100 +++ /var/tmp/diff_new_pack.C2XewC/_new 2024-01-22 20:31:57.900267059 +0100 @@ -5,6 +5,6 @@ </service> <service name="tar_scm"> <param name="url">https://github.com/RPCS3/rpcs3.git</param> - <param name="changesrevision">d4796c46b1195bb9e473f96f94d6f8991f036ac7</param></service></servicedata> + <param name="changesrevision">f7fa5aab701a7ea51d35edf41dcfb7f415eb8a1f</param></service></servicedata> (No newline at EOF) ++++++ intel-ittapi.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/intel-ittapi/README.md new/intel-ittapi/README.md --- old/intel-ittapi/README.md 2023-12-19 18:24:49.000000000 +0100 +++ new/intel-ittapi/README.md 2024-01-12 18:07:30.000000000 +0100 @@ -23,15 +23,16 @@ - Windows: requires Visual Studio installed or requires [Ninja](https://github.com/ninja-build/ninja/releases) to be set in `PATH` - To list available build options execute: `python buildall.py -h` ``` -usage: buildall.py [-h] [-d] [-c] [-v] [-pt] [--force_bits] +usage: buildall.py [-h] [-d] [-c] [-v] [-pt] [--force_bits] [-ft] optional arguments: - -h, --help show this help message and exit - -d, --debug specify debug build configuration (release by default) - -c, --clean delete any intermediate and output files - -v, --verbose enable verbose output from build process - -pt, --ptmark enable anomaly detection support - --force_bits specify bit version for the target + -h, --help show this help message and exit + -d, --debug specify debug build configuration (release by default) + -c, --clean delete any intermediate and output files + -v, --verbose enable verbose output from build process + -pt, --ptmark enable anomaly detection support + --force_bits specify bit version for the target + -ft, --fortran enable fortran support ``` ### License diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/intel-ittapi/include/fortran/advisor_annotate.f90 new/intel-ittapi/include/fortran/advisor_annotate.f90 --- old/intel-ittapi/include/fortran/advisor_annotate.f90 2023-12-19 18:24:49.000000000 +0100 +++ new/intel-ittapi/include/fortran/advisor_annotate.f90 2024-01-12 18:07:30.000000000 +0100 @@ -309,196 +309,196 @@ subroutine annotate_induction_uses_i2(x) !DEC$ ATTRIBUTES DEFAULT :: annotate_induction_uses_i2 - integer(kind=2), intent(in) :: x + integer(kind=2), intent(in), target :: x if (.not. initialized) call load_itt_library call induction_uses(C_LOC(x), 2) end subroutine annotate_induction_uses_i2 subroutine annotate_induction_uses_i4(x) !DEC$ ATTRIBUTES DEFAULT :: annotate_induction_uses_i4 - integer(kind=4), intent(in) :: x + integer(kind=4), intent(in), target :: x if (.not. initialized) call load_itt_library call induction_uses(C_LOC(x), 4) end subroutine annotate_induction_uses_i4 subroutine annotate_induction_uses_i8(x) !DEC$ ATTRIBUTES DEFAULT :: annotate_induction_uses_i8 - integer(kind=8), intent(in) :: x + integer(kind=8), intent(in), target :: x if (.not. initialized) call load_itt_library call induction_uses(C_LOC(x), 8) end subroutine annotate_induction_uses_i8 subroutine annotate_induction_uses_r4(x) !DEC$ ATTRIBUTES DEFAULT :: annotate_induction_uses_r4 - real(kind=4), intent(in) :: x + real(kind=4), intent(in), target :: x if (.not. initialized) call load_itt_library call induction_uses(C_LOC(x), 4) end subroutine annotate_induction_uses_r4 subroutine annotate_induction_uses_r8(x) !DEC$ ATTRIBUTES DEFAULT :: annotate_induction_uses_r8 - real(kind=8), intent(in) :: x + real(kind=8), intent(in), target :: x if (.not. initialized) call load_itt_library call induction_uses(C_LOC(x), 8) end subroutine annotate_induction_uses_r8 subroutine annotate_induction_uses_c4(x) !DEC$ ATTRIBUTES DEFAULT :: annotate_induction_uses_c4 - complex(kind=4), intent(in) :: x + complex(kind=4), intent(in), target :: x if (.not. initialized) call load_itt_library call induction_uses(C_LOC(x), 8) end subroutine annotate_induction_uses_c4 subroutine annotate_induction_uses_c8(x) !DEC$ ATTRIBUTES DEFAULT :: annotate_induction_uses_c8 - complex(kind=16), intent(in) :: x + complex(kind=16), intent(in), target :: x if (.not. initialized) call load_itt_library call reduction_uses(C_LOC(x), 16) end subroutine annotate_induction_uses_c8 subroutine annotate_reduction_uses_i2(x) !DEC$ ATTRIBUTES DEFAULT :: annotate_reduction_uses_i2 - integer(kind=2), intent(in) :: x + integer(kind=2), intent(in), target :: x if (.not. initialized) call load_itt_library call reduction_uses(C_LOC(x), 2) end subroutine annotate_reduction_uses_i2 subroutine annotate_reduction_uses_i4(x) !DEC$ ATTRIBUTES DEFAULT :: annotate_reduction_uses_i4 - integer(kind=4), intent(in) :: x + integer(kind=4), intent(in), target :: x if (.not. initialized) call load_itt_library call reduction_uses(C_LOC(x), 4) end subroutine annotate_reduction_uses_i4 subroutine annotate_reduction_uses_i8(x) !DEC$ ATTRIBUTES DEFAULT :: annotate_reduction_uses_i8 - integer(kind=8), intent(in) :: x + integer(kind=8), intent(in), target :: x if (.not. initialized) call load_itt_library call reduction_uses(C_LOC(x), 8) end subroutine annotate_reduction_uses_i8 subroutine annotate_reduction_uses_r4(x) !DEC$ ATTRIBUTES DEFAULT :: annotate_reduction_uses_r4 - real(kind=4), intent(in) :: x + real(kind=4), intent(in), target :: x if (.not. initialized) call load_itt_library call reduction_uses(C_LOC(x), 4) end subroutine annotate_reduction_uses_r4 subroutine annotate_reduction_uses_r8(x) !DEC$ ATTRIBUTES DEFAULT :: annotate_reduction_uses_r8 - real(kind=8), intent(in) :: x + real(kind=8), intent(in), target :: x if (.not. initialized) call load_itt_library call reduction_uses(C_LOC(x), 8) end subroutine annotate_reduction_uses_r8 subroutine annotate_reduction_uses_c4(x) !DEC$ ATTRIBUTES DEFAULT :: annotate_reduction_uses_c4 - complex(kind=4), intent(in) :: x + complex(kind=4), intent(in), target :: x if (.not. initialized) call load_itt_library call reduction_uses(C_LOC(x), 8) end subroutine annotate_reduction_uses_c4 subroutine annotate_reduction_uses_c8(x) !DEC$ ATTRIBUTES DEFAULT :: annotate_reduction_uses_c8 - complex(kind=16), intent(in) :: x + complex(kind=16), intent(in), target :: x if (.not. initialized) call load_itt_library call reduction_uses(C_LOC(x), 16) end subroutine annotate_reduction_uses_c8 subroutine annotate_observe_uses_i2(x) !DEC$ ATTRIBUTES DEFAULT :: annotate_observe_uses_i2 - integer(kind=2), intent(in) :: x + integer(kind=2), intent(in), target :: x if (.not. initialized) call load_itt_library call observe_uses(C_LOC(x), 2) end subroutine annotate_observe_uses_i2 subroutine annotate_observe_uses_i4(x) !DEC$ ATTRIBUTES DEFAULT :: annotate_observe_uses_i4 - integer(kind=4), intent(in) :: x + integer(kind=4), intent(in), target :: x if (.not. initialized) call load_itt_library call observe_uses(C_LOC(x), 4) end subroutine annotate_observe_uses_i4 subroutine annotate_observe_uses_i8(x) !DEC$ ATTRIBUTES DEFAULT :: annotate_observe_uses_i8 - integer(kind=8), intent(in) :: x + integer(kind=8), intent(in), target :: x if (.not. initialized) call load_itt_library call observe_uses(C_LOC(x), 8) end subroutine annotate_observe_uses_i8 subroutine annotate_observe_uses_r4(x) !DEC$ ATTRIBUTES DEFAULT :: annotate_observe_uses_r4 - real(kind=4), intent(in) :: x + real(kind=4), intent(in), target :: x if (.not. initialized) call load_itt_library call observe_uses(C_LOC(x), 4) end subroutine annotate_observe_uses_r4 subroutine annotate_observe_uses_r8(x) !DEC$ ATTRIBUTES DEFAULT :: annotate_observe_uses_r8 - real(kind=8), intent(in) :: x + real(kind=8), intent(in), target :: x if (.not. initialized) call load_itt_library call observe_uses(C_LOC(x), 8) end subroutine annotate_observe_uses_r8 subroutine annotate_observe_uses_c4(x) !DEC$ ATTRIBUTES DEFAULT :: annotate_observe_uses_c4 - complex(kind=4), intent(in) :: x + complex(kind=4), intent(in), target :: x if (.not. initialized) call load_itt_library call observe_uses(C_LOC(x), 8) end subroutine annotate_observe_uses_c4 subroutine annotate_observe_uses_c8(x) !DEC$ ATTRIBUTES DEFAULT :: annotate_observe_uses_c8 - complex(kind=16), intent(in) :: x + complex(kind=16), intent(in), target :: x if (.not. initialized) call load_itt_library call observe_uses(C_LOC(x), 16) end subroutine annotate_observe_uses_c8 subroutine annotate_clear_uses_i2(x) !DEC$ ATTRIBUTES DEFAULT :: annotate_clear_uses_i2 - integer(kind=2), intent(in) :: x + integer(kind=2), intent(in), target :: x if (.not. initialized) call load_itt_library call clear_uses(C_LOC(x), 2) end subroutine annotate_clear_uses_i2 subroutine annotate_clear_uses_i4(x) !DEC$ ATTRIBUTES DEFAULT :: annotate_clear_uses_i4 - integer(kind=4), intent(in) :: x + integer(kind=4), intent(in), target :: x if (.not. initialized) call load_itt_library call clear_uses(C_LOC(x), 4) end subroutine annotate_clear_uses_i4 subroutine annotate_clear_uses_i8(x) !DEC$ ATTRIBUTES DEFAULT :: annotate_clear_uses_i8 - integer(kind=8), intent(in) :: x + integer(kind=8), intent(in), target :: x if (.not. initialized) call load_itt_library call clear_uses(C_LOC(x), 8) end subroutine annotate_clear_uses_i8 subroutine annotate_clear_uses_r4(x) !DEC$ ATTRIBUTES DEFAULT :: annotate_clear_uses_r4 - real(kind=4), intent(in) :: x + real(kind=4), intent(in), target :: x if (.not. initialized) call load_itt_library call clear_uses(C_LOC(x), 4) end subroutine annotate_clear_uses_r4 subroutine annotate_clear_uses_r8(x) !DEC$ ATTRIBUTES DEFAULT :: annotate_clear_uses_r8 - real(kind=8), intent(in) :: x + real(kind=8), intent(in), target :: x if (.not. initialized) call load_itt_library call clear_uses(C_LOC(x), 8) end subroutine annotate_clear_uses_r8 subroutine annotate_clear_uses_c4(x) !DEC$ ATTRIBUTES DEFAULT :: annotate_clear_uses_c4 - complex(kind=4), intent(in) :: x + complex(kind=4), intent(in), target :: x if (.not. initialized) call load_itt_library call clear_uses(C_LOC(x), 8) end subroutine annotate_clear_uses_c4 subroutine annotate_clear_uses_c8(x) !DEC$ ATTRIBUTES DEFAULT :: annotate_clear_uses_c8 - complex(kind=16), intent(in) :: x + complex(kind=16), intent(in), target :: x if (.not. initialized) call load_itt_library call clear_uses(C_LOC(x), 16) end subroutine annotate_clear_uses_c8 Binary files old/intel-ittapi/include/fortran/posix/x86_64/advisor_annotate.mod and new/intel-ittapi/include/fortran/posix/x86_64/advisor_annotate.mod differ Binary files old/intel-ittapi/include/fortran/posix/x86_64/advisor_annotate.o and new/intel-ittapi/include/fortran/posix/x86_64/advisor_annotate.o differ Binary files old/intel-ittapi/include/fortran/posix/x86_64/ittfortran.o and new/intel-ittapi/include/fortran/posix/x86_64/ittfortran.o differ Binary files old/intel-ittapi/include/fortran/posix/x86_64/ittnotify.mod and new/intel-ittapi/include/fortran/posix/x86_64/ittnotify.mod differ Binary files old/intel-ittapi/include/fortran/win32/x86_64/advisor_annotate.mod and new/intel-ittapi/include/fortran/win32/x86_64/advisor_annotate.mod differ Binary files old/intel-ittapi/include/fortran/win32/x86_64/advisor_annotate.obj and new/intel-ittapi/include/fortran/win32/x86_64/advisor_annotate.obj differ Binary files old/intel-ittapi/include/fortran/win32/x86_64/ittfortran.obj and new/intel-ittapi/include/fortran/win32/x86_64/ittfortran.obj differ Binary files old/intel-ittapi/include/fortran/win32/x86_64/ittnotify.mod and new/intel-ittapi/include/fortran/win32/x86_64/ittnotify.mod differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/intel-ittapi/rust/ittapi/README.md new/intel-ittapi/rust/ittapi/README.md --- old/intel-ittapi/rust/ittapi/README.md 2023-12-19 18:24:49.000000000 +0100 +++ new/intel-ittapi/rust/ittapi/README.md 2024-01-12 18:07:30.000000000 +0100 @@ -33,9 +33,13 @@ ```toml [dependencies] -ittapi = "0.3" +ittapi = "*" ``` +Instrument the code to measure with `ittapi`; e.g.,: + - to [pause and resume](https://docs.rs/ittapi/latest/ittapi/fn.pause.html#example) collection + - to [measure a task](https://docs.rs/ittapi/latest/ittapi/struct.Task.html) + ### Build ``` diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/intel-ittapi/rust/ittapi/src/domain.rs new/intel-ittapi/rust/ittapi/src/domain.rs --- old/intel-ittapi/rust/ittapi/src/domain.rs 2023-12-19 18:24:49.000000000 +0100 +++ new/intel-ittapi/rust/ittapi/src/domain.rs 2024-01-12 18:07:30.000000000 +0100 @@ -15,6 +15,10 @@ /// # use ittapi::Domain; /// let domain = Domain::new("test-domain"); /// ``` + /// + /// # Panics + /// + /// Panics if the domain name contains a `0` byte. #[must_use] pub fn new(name: &str) -> Self { #[cfg(unix)] @@ -29,7 +33,7 @@ /// Use the `__itt_domain` pointer internally. pub(crate) fn as_ptr(&self) -> *const ittapi_sys::__itt_domain { - self.0 as *const _ + self.0.cast_const() } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/intel-ittapi/rust/ittapi/src/event.rs new/intel-ittapi/rust/ittapi/src/event.rs --- old/intel-ittapi/rust/ittapi/src/event.rs 2023-12-19 18:24:49.000000000 +0100 +++ new/intel-ittapi/rust/ittapi/src/event.rs 2024-01-12 18:07:30.000000000 +0100 @@ -15,6 +15,11 @@ pub struct Event(ittapi_sys::__itt_event); impl Event { /// Create the event. + /// + /// # Panics + /// + /// Panics if the name contains a `0` byte or if its size will not fit in a 32-bit + /// representation. #[must_use] pub fn new(name: &str) -> Self { #[cfg(unix)] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/intel-ittapi/rust/ittapi/src/jit.rs new/intel-ittapi/rust/ittapi/src/jit.rs --- old/intel-ittapi/rust/ittapi/src/jit.rs 2023-12-19 18:24:49.000000000 +0100 +++ new/intel-ittapi/rust/ittapi/src/jit.rs 2024-01-12 18:07:30.000000000 +0100 @@ -1,10 +1,9 @@ //! The JIT (Just-In-Time) Profiling API provides functionality to report information about -//! just-in-time generated code that can be used by performance tools. The [Jit] Rust structure is a -//! high-level view of a subset of the full functionality available. See the [JIT Profiling API] for -//! more information. +//! just-in-time generated code that can be used by performance tools. The [`Jit`] Rust structure +//! is a high-level view of a subset of the full functionality available. See the [JIT Profiling +//! API] for more information. //! -//! [JIT Profiling API]: -/// https://www.intel.com/content/www/us/en/develop/documentation/vtune-help/top/api-support/jit-profiling-api.html +//! [JIT Profiling API]: https://www.intel.com/content/www/us/en/develop/documentation/vtune-help/top/api-support/jit-profiling-api.html use anyhow::Context; use std::{ffi::CString, os, ptr}; @@ -176,16 +175,20 @@ /// /// # Errors /// - /// May fail if the various names passed to this builder are not valid C strings. + /// May fail if the various names passed to this builder are not valid C strings or if the + /// length of the code region will not fit in a 32-bit representation. pub fn build(self, method_id: MethodId) -> anyhow::Result<EventType> { Ok(EventType::MethodLoadFinished(MethodLoad( ittapi_sys::_iJIT_Method_Load { method_id: method_id.0, method_name: CString::new(self.method_name) - .context("CString::new failed")? + .context("method name cannot be represented as a CString")? .into_raw(), method_load_address: self.addr as *mut os::raw::c_void, - method_size: self.len.try_into().expect("cannot fit length into 32 bits"), + method_size: self + .len + .try_into() + .context("cannot fit code length into 32 bits")?, line_number_size: 0, line_number_table: ptr::null_mut(), class_id: 0, // Field officially obsolete in Intel's doc. @@ -194,14 +197,14 @@ .as_deref() .unwrap_or("<unknown class file name>"), ) - .context("CString::new failed")? + .context("class file name cannot be represented as a CString")? .into_raw(), source_file_name: CString::new( self.source_file_name .as_deref() .unwrap_or("<unknown source file name>"), ) - .context("CString::new failed")? + .context("source file name cannot be represented as a CString")? .into_raw(), }, ))) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/intel-ittapi/rust/ittapi/src/string.rs new/intel-ittapi/rust/ittapi/src/string.rs --- old/intel-ittapi/rust/ittapi/src/string.rs 2023-12-19 18:24:49.000000000 +0100 +++ new/intel-ittapi/rust/ittapi/src/string.rs 2024-01-12 18:07:30.000000000 +0100 @@ -17,6 +17,10 @@ /// let b: StringHandle = "test".into(); /// assert_eq!(a, b); /// ``` + /// + /// # Panics + /// + /// Panics if the string contains a `0` byte. #[must_use] pub fn new(name: &str) -> Self { #[cfg(unix)] @@ -43,11 +47,18 @@ mod tests { #[test] - fn with_dynamic_part_specified() { - // When INTEL_LIBITTNOTIFY64 is set in the environment, the static part of ittnotify will - // allocate; otherwise, if the dynamic part is not present, the pointer will be null. - let _env_path = scoped_env::ScopedEnv::remove("INTEL_LIBITTNOTIFY64"); + fn construct_string_handle() { let sh = super::StringHandle::new("test2"); - assert!(sh.as_ptr().is_null()); + // `ittapi` profiling is only enabled when the `INTEL_LIBITTNOTIFY64` environment variable + // is set, which points to the profiling collector. If set, the string handle is actually + // allocated; if not set, no allocation is performed (this is a general `ittapi` property: + // no allocation without a profiling collector). Note that string handles are thus invalid + // in the latter case--no collector--but the API safely does not provide any way to observe + // this. + if std::env::var("INTEL_LIBITTNOTIFY64").is_ok() { + assert!(!sh.as_ptr().is_null()); + } else { + assert!(sh.as_ptr().is_null()); + } } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/intel-ittapi/rust/ittapi/src/task.rs new/intel-ittapi/rust/ittapi/src/task.rs --- old/intel-ittapi/rust/ittapi/src/task.rs 2023-12-19 18:24:49.000000000 +0100 +++ new/intel-ittapi/rust/ittapi/src/task.rs 2024-01-12 18:07:30.000000000 +0100 @@ -3,12 +3,11 @@ /// A task is a logical unit of work performed by a particular thread. See the [Task API] /// documentation for more information. /// -/// [Task API]: -/// https://www.intel.com/content/www/us/en/develop/documentation/vtune-help/top/api-support/instrumentation-and-tracing-technology-apis/instrumentation-tracing-technology-api-reference/task-api.html +/// [Task API]: https://www.intel.com/content/www/us/en/develop/documentation/vtune-help/top/api-support/instrumentation-and-tracing-technology-apis/instrumentation-tracing-technology-api-reference/task-api.html /// /// ``` /// # use ittapi::{Domain, StringHandle, Task}; -/// let _env_path = scoped_env::ScopedEnv::set("INTEL_LIBITTNOTIFY64", "<some path>"); +/// # let _env_path = scoped_env::ScopedEnv::set("INTEL_LIBITTNOTIFY64", "<some path>"); /// let domain = Domain::new("domain"); /// let name = StringHandle::new("task"); /// // Measure a task using a pre-initialized string handle (most efficient). diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/intel-ittapi/src/ittnotify/ittnotify_config.h new/intel-ittapi/src/ittnotify/ittnotify_config.h --- old/intel-ittapi/src/ittnotify/ittnotify_config.h 2023-12-19 18:24:49.000000000 +0100 +++ new/intel-ittapi/src/ittnotify/ittnotify_config.h 2024-01-12 18:07:30.000000000 +0100 @@ -211,7 +211,7 @@ #define API_VERSION_BUILD 20230630 #ifndef API_VERSION_NUM -#define API_VERSION_NUM 3.24.2 +#define API_VERSION_NUM 3.24.6 #endif /* API_VERSION_NUM */ #define API_VERSION "ITT-API-Version " ITT_TO_STR(API_VERSION_NUM) \ ++++++ rpcs3-0.0.29~git20231230.tar.xz -> rpcs3-0.0.30~git20240112.tar.xz ++++++ /work/SRC/openSUSE:Factory/rpcs3/rpcs3-0.0.29~git20231230.tar.xz /work/SRC/openSUSE:Factory/.rpcs3.new.16006/rpcs3-0.0.30~git20240112.tar.xz differ: char 15, line 1
