Commit [589207]  Maximize  Restore  History

Remove unused "--kernel-buffersize-multiplier" option from operf

The "--kernel-buffersize-multiplier" option was not wired in to
perform any actions. In the course of wiring it in to the mmap
call (where the operf record process mmap's the perf_events kernel
data) and performing functional tests, I found that bumping up
the mmap size had little noticeable beneficial effect -- perhaps
even *no* effect at all. I expected that the perf_event_header type
of PERF_RECORD_LOST would be an indication that a larger kernel
buffer (i.e., mmap'ed area) was needed. I was able to force such
"LOST" samples by using a very high sampling rate, yet increasing
the number mmap pages did not eliminate the LOST samples. So I
removed this option from the code and the man page.

Signed-off-by: Maynard Johnson <>

Maynard Johnson Maynard Johnson 2012-06-25

changed doc/
changed libperf_events/operf_stats.cpp
changed libperf_events/operf_stats.h
changed pe_profiling/operf.cpp
doc/ Diff Switch to side-by-side view
libperf_events/operf_stats.cpp Diff Switch to side-by-side view
libperf_events/operf_stats.h Diff Switch to side-by-side view
pe_profiling/operf.cpp Diff Switch to side-by-side view

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks