Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Commit [7cf28f] Maximize Restore History

operf, remove support to report multiplexing.

The multiplexing reporting doesn't work correctly when profiling
multi-threaded apps or apps that do fork/exec. The detection of
multiplexing doesn't work when processes migrate between CPUs.
The event is enabled on all CPUs. The running time stops when the
event migrates to another CPU however, the enabled time does not stop as it
is enabled on each CPU. The issue is that the running time across CPUs
doesn't add up to the enabled time because of the running time is not
increasing while the process is being migrated. This results in the running
time being less then the enabled time. There is no way to detect if the
reason the running time is less then the enabled time was do to migration
or due to multiplexing.

The support is being removed so that the operf tool is not incorrectly
flagging events for multiplexing.

Signed-off-by: Carl Love <cel@us.ibm.com>

Carl Love Carl Love 2013-03-12

Maynard Johnson Maynard Johnson 2013-03-12

changed libperf_events/operf_counter.cpp
changed libperf_events/operf_stats.cpp
changed libperf_events/operf_stats.h
changed libpp/profile_spec.cpp
changed pe_profiling/operf.cpp
libperf_events/operf_counter.cpp Diff Switch to side-by-side view
Loading...
libperf_events/operf_stats.cpp Diff Switch to side-by-side view
Loading...
libperf_events/operf_stats.h Diff Switch to side-by-side view
Loading...
libpp/profile_spec.cpp Diff Switch to side-by-side view
Loading...
pe_profiling/operf.cpp Diff Switch to side-by-side view
Loading...