Commit [7b856a]  Maximize  Restore  History

Fix issues identified by Coverity run from Aug 11 2014

Running Coverity against the oprofile source tree resulted
in 8 problems being identified. One issue was dead code
that was originally created for special handling of the
IBM Cell BE processor. Other issues were fairly mundane,
from uninitialized variables to ignoring return values of
functions, etc.

This patch fixes all issues found by Coverity. One particular
change of note, however, is that the sample data format has
changed with the removal of Cell SPU-related fields. This
change required the bumping of the OPD_VERSION number in the
sample file header, so that sample files created with earlier
oprofile builds will no longer be readable by oprofile. The
error reported by oprofile post-profiling tools would be:
oprofpp: samples files version mismatch

Signed-off-by: Maynard Johnson <maynardj@us.ibm.com>

Maynard Johnson Maynard Johnson 2014-08-13

1 2 > >> (Page 1 of 2)
removed libpp/populate_for_spu.cpp
removed libpp/populate_for_spu.h
removed libutil++/bfd_spu_support.cpp
changed libop
changed libop/op_config.h
changed libop/op_cpu_type.c
changed libop/op_sample_file.h
changed libopagent
changed libopagent/opagent.c
changed libperf_events
changed libperf_events/operf_counter.h
changed libperf_events/operf_mangling.cpp
changed libpp
changed libpp/Makefile.am
changed libpp/callgraph_container.cpp
changed libpp/format_output.cpp
changed libpp/populate.cpp
changed libpp/profile.cpp
changed libpp/profile.h
changed libpp/profile_container.cpp
changed libpp/symbol.h
changed libutil++
changed libutil++/Makefile.am
changed libutil++/bfd_support.h
changed libutil++/op_bfd.cpp
libpp/populate_for_spu.cpp
File was removed.
libpp/populate_for_spu.h
File was removed.
libutil++/bfd_spu_support.cpp
File was removed.
libop
Directory.
libop/op_config.h Diff Switch to side-by-side view
Loading...
libop/op_cpu_type.c Diff Switch to side-by-side view
Loading...
libop/op_sample_file.h Diff Switch to side-by-side view
Loading...
libopagent
Directory.
libopagent/opagent.c Diff Switch to side-by-side view
Loading...
libperf_events
Directory.
libperf_events/operf_counter.h Diff Switch to side-by-side view
Loading...
libperf_events/operf_mangling.cpp Diff Switch to side-by-side view
Loading...
libpp
Directory.
libpp/Makefile.am Diff Switch to side-by-side view
Loading...
libpp/callgraph_container.cpp Diff Switch to side-by-side view
Loading...
libpp/format_output.cpp Diff Switch to side-by-side view
Loading...
libpp/populate.cpp Diff Switch to side-by-side view
Loading...
libpp/profile.cpp Diff Switch to side-by-side view
Loading...
libpp/profile.h Diff Switch to side-by-side view
Loading...
libpp/profile_container.cpp Diff Switch to side-by-side view
Loading...
libpp/symbol.h Diff Switch to side-by-side view
Loading...
libutil++
Directory.
libutil++/Makefile.am Diff Switch to side-by-side view
Loading...
libutil++/bfd_support.h Diff Switch to side-by-side view
Loading...
libutil++/op_bfd.cpp Diff Switch to side-by-side view
Loading...
1 2 > >> (Page 1 of 2)