pub struct ThreadMap<'a> { /* private fields */ }
Expand description
A list of threads, usually without names.
It’s not clear to me what the point of this list is. It doesn’t even give you the
pid of the process that each thread belongs to. And unless you use perf stat
,
it doesn’t seem to have thread names either.
So it seems like all the useful information is instead in the PERF_RECORD_COMM
records which get synthesized at the start of a file for perf record -p <pid>
.
It seems you’re better of just reading those, instead of looking at the thread map.
Implementations§
Trait Implementations§
impl<'a> Eq for ThreadMap<'a>
impl<'a> StructuralPartialEq for ThreadMap<'a>
Auto Trait Implementations§
impl<'a> Freeze for ThreadMap<'a>
impl<'a> RefUnwindSafe for ThreadMap<'a>
impl<'a> Send for ThreadMap<'a>
impl<'a> Sync for ThreadMap<'a>
impl<'a> Unpin for ThreadMap<'a>
impl<'a> UnwindSafe for ThreadMap<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more