Hi Mathieu,
Sorry, I just see this patch today.
I have tested this patch and it works.
Another idea from me is it doesn't need to add a new target->all_threads
flag.
We just use target->per-thread && target->system_wide as a condition to
check for all per-thread case.
I just think for you
Commit ("73c0ca1eee3d perf thread_map: Enumerate all threads from /proc")
is using the target->per_thread flag to specify that all threads in a
system should be taken into account. That is then used in function
thread_map__new_str() where all threads are added to evlist->threads.
Variable target-
2 matches
Mail list logo