Commit [369998]  Maximize  Restore  History

Send 'Unable to obtain appname' message to stdout

In operf_process_info::set_appname, we look at /proc/<PID>/exe
to see if we can obtain the process's appname. However, the
process may have already ended, in which case we print the message

"Unable to obtain appname from /proc/<PID>/exe"

This error message should *NOT* be sent to stderr, but instead,
should go to stdout so that it's not seen on the screen when doing:
operf --verbose=all <cmd> > out-file

Signed-off-by: Maynard Johnson <>

Maynard Johnson Maynard Johnson 2014-05-13

changed libperf_events/operf_process_info.cpp
libperf_events/operf_process_info.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