oprofile Log


Commit Date  
[6ee980] (2.3 kB) by Maynard Johnson Maynard Johnson

Fix Coverity errors found on May 20, 2013 git snapshot

Coverity identified the following errors on scans run from May 7 through
May 20, 2013:

Type,Category,File,Function
Wrapper object use after free,Memory - illegal accesses,/agents/jvmpi/jvmpi_oprofile.cpp,compiled_method_load(JVMPI_Event *)
Unchecked return value,Error handling issues,/daemon/opd_mangling.c,opd_open_sample_file
Dereference after null check,Null pointer dereferences,/daemon/opd_sfile.c,sfile_hash
Uninitialized scalar field,Uninitialized members,/gui/oprof_start_config.cpp,config_setting::config_setting()
Division or modulo by zero,Integer handling issues,/libdb/db_stat.c,odb_hash_stat
Resource leak,Resource leaks,/libop/op_cpu_type.c,_auxv_fetch
Resource leak,Resource leaks,/libop/op_cpu_type.c,fetch_at_hw_platform
Negative array index read,Memory - illegal accesses,/libop/op_events.c,_is_um_valid_bitmask
Write to pointer after free,Memory - corruptions,/libop/op_events.c,read_events
Read from pointer after free,Memory - illegal accesses,/libop/op_events.c,_is_um_valid_bitmask
Dereference after null check,Null pointer dereferences,/libop/op_mangle.c,op_mangle_filename
Dereference after null check,Null pointer dereferences,/libop/op_mangle.c,op_mangle_filename
Time of check time of use,Security best practices violations,/libopagent/opagent.c,op_open_agent
Improper use of negative value,Integer handling issues,/libperf_events/operf_counter.cpp,operf_record::setup()
Double free,Memory - corruptions,/libperf_events/operf_counter.cpp,operf_record::setup()
Uninitialized pointer read,Memory - illegal accesses,/libperf_events/operf_counter.cpp,<unnamed>::_get_perf_event_from_file(mmap_info &)
Unchecked return value,Error handling issues,/libperf_events/operf_mangling.cpp,"operf_open_sample_file(odb_t *, operf_sfile *, operf_sfile *, int, int)"
Using invalid iterator,API usage errors,/libperf_events/operf_process_info.cpp,operf_process_info::try_disassociate_from_parent(char *)
Non-array delete for scalars,Memory - illegal accesses,/libregex/op_regex.cpp,"<unnamed>::op_regerror(int, const re_pattern_buffer &)"
Resource leak,Resource leaks,/libutil++/op_bfd.cpp,"op_bfd::op_bfd(const std::basic_string<char, std::char_traits<char>, std::allocator<char>>&, const string_filter &, const extra_images &, bool &)"
Explicit null dereferenced,Null pointer dereferences,/opjitconv/create_bfd.c,fill_symtab
Resource leak,Resource leaks,/opjitconv/opjitconv.c,_cleanup_jitdumps
Use of untrusted string value,Insecure data handling,/opjitconv/opjitconv.c,main
Resource leak,Resource leaks,/pe_profiling/operf.cpp,_get_cpu_for_perf_events_cap()
Dereference null return value,Null pointer dereferences,/pe_profiling/operf.cpp,_process_session_dir()
Incorrect deallocator used,API usage errors,/pe_profiling/operf.cpp,_process_events_list()

===============================

This patch fixes those errors.

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

2013-05-28 13:19:25 View
Download
[00c2ec] (2.3 kB) by Gilles Allard Gilles Allard , pushed by Maynard Johnson Maynard Johnson

Fix for oprof_start when daemonrc file does not exist

This patch fixes a bug if daemonrc file doesn't exist or doesn't contain a
'BUF_SIZE=' line : initalizes 'buffer_size' to the default value to prevent
unpredictable value.

Signed-off-by: Gilles Allard <gilles.allard21@orange.fr>

2013-05-24 12:01:51 View
Download
[fcb818] (2.3 kB) by Maynard Johnson Maynard Johnson

Remove daemon/liblegacy since 2.4 kernels are no longer supported

A build problem reported by Vineet Gupta (Vineet.Gupta1@synopsys.com)
involving a compile failure of liblegacy code when built under uClibc
made it clear that we missed some things when support for 2.4 kernels
was removed in Oct 2012. The daemon/liblegacy directory is all about
support for 2.4 kernels, so this patch completely removes that directory.
Of course, this caused some breakage elsewhere in the oprofile tree
which needed fixing up.

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

2012-12-05 15:55:18 View
Download
[3600ea] (2.6 kB) by Philippe Elie Philippe Elie

gui: cpu-buffer-size handling

2005-08-10 22:23:12 View
Download
[6cc6cd] (2.5 kB) by Philippe Elie Philippe Elie

implement and document 2.6 buffer watershed

2005-08-08 21:25:05 View
Download
[987aa0] (2.4 kB) by Philippe Elie Philippe Elie

gui : allow to reset sample files and set callgraph depth

2005-08-03 19:17:32 View
Download
[ec4423] (2.3 kB) by Philippe Elie Philippe Elie

remove some .h dependencies

2003-11-03 23:48:50 View
Download
[51f4d2] (2.3 kB) by Philippe Elie Philippe Elie

remove tostr()/tobool/touint(), rename lexical_cast_no_ws<> to op_lexical_cast<>, update call site and test.

2003-10-29 23:48:03 View
Download
[5df3b9] (2.2 kB) by John Levon John Levon

add thread separate gui + fixes

2003-10-20 13:41:28 View
Download
[6d0b72] (2.0 kB) by John Levon John Levon

remove --pid/pgrp-filter, --kernel-only

2003-10-12 23:03:25 View
Download
[fd5152] (2.3 kB) by John Levon John Levon

"separate" variables renaming

2003-09-17 23:55:58 View
Download
[71a45a] (2.3 kB) by Philippe Elie Philippe Elie

gui: remove dead code, fix kernel_only read

2003-07-16 20:06:23 View
Download
[7a1e80] (2.8 kB) by John Levon John Levon

--no-vmllinux for 2.5 kernels. It works for me.

I haven't looked at 2.4 yet. I suspect it will be more difficult, as
we can't disambiguate a kernel/user sample without a --kernel-range, can we ?

2003-03-04 06:20:36 View
Download
[93cdf8] (2.7 kB) by John Levon John Levon

Pick up the event configs from daemonrc. Needs testing please !

2003-03-04 02:22:17 View
Download
[862115] (2.8 kB) by John Levon John Levon

opcontrol fixes. First steps towards making the GUI use daemonrc (this
is a real PITA).

2003-03-04 00:50:53 View
Download
[f27360] (4.3 kB) by Philippe Elie Philippe Elie

per application kernel samples files

regards,
Phil

2003-02-11 21:09:06 View
Download
[5a2a00] (4.0 kB) by Philippe Elie Philippe Elie

handle default buffer size value properly

regards,
Phil

2002-12-03 02:20:16 View
Download
[153596] (3.7 kB) by Philippe Elie Philippe Elie

merge from db-branch-1 to head removing module hash table and change
implementation of samples files to use a hash table.

regards,
Phil

2002-12-03 01:57:58 View
Download
[239796] (3.5 kB) by Philippe Elie Philippe Elie

*.cpp: using std::xxx; --> using namespace std;

tested with 2.95.3/3.0.4/3.1.1/3.2 but I have not the necessary
lib to link the gui with gcc >= 3.0 can somene try at least 3.2 ?

regards,
Phil

2002-10-01 22:32:31 View
Download
[2410a5] (3.6 kB) by John Levon John Levon

Config split into old/new oprofile. GUI will only work in 2.4 for now.

2002-09-23 01:44:58 View
Download
[0cb1e4] (3.6 kB) by Philippe Elie Philippe Elie

Big noise only : in all source file remove from the @author the email address

regards,
Phil

2002-09-07 18:19:41 View
Download
[446d01] (3.6 kB) by John Levon John Levon

Will's uname patch

2002-07-27 23:27:12 View
Download
[f72eb1] (3.4 kB) by Philippe Elie Philippe Elie

gui: remove kernel-range specification from the UI. kernel-range is always
calculated in op_start and passed as option to the daemon (more easy to
parse from a script). Update documentation according to this change

regards,
Phil

2002-07-13 09:24:14 View
Download
[a605cd] (3.4 kB) by Philippe Elie Philippe Elie

support for qt3 + minor change to support qt3 with gcc-3.1

Phil

2002-06-28 19:31:26 View
Download
[2efd10] (3.4 kB) by Philippe Elie Philippe Elie

gui + utils/op_start: implement --kernel-range

gui/Makefile.in: for sub-dir ui to make befaore buidling anything in
the gui directory

regards,
Phil

2002-06-25 21:59:18 View
Download
Older >

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

Sign up for the SourceForge newsletter:





No, thanks