Commit [745ede]  Maximize  Restore  History

Change location to store intermediate JIT dump files

Since JIT support was added to Oprofile the intermediate JIT dump files
holding the sampling data collected for a Java process were stored in a
hard coded directory /var/lib/oprofile/jitdump that was world-writable.
The setting of a session specific directory (i.e. "--session-dir=...")
was not used anyway.

Now during profiling JIT dump files are stored under /tmp/.oprofile/jitdump.
When opjitconv has finished the conversion of the JIT dump files (the result
is stored under the default location (e.g. /var/lib/oprofile, ./oprofile_data
or the specified session directory) the intermediate JIT dump file will be
deleted.

Signed-off-by: Daniel Hansel <daniel.hansel@linux.vnet.ibm.com>

Daniel Hansel Daniel Hansel 2013-01-23

Maynard Johnson Maynard Johnson 2013-01-23

changed daemon/init.c
changed libopagent/Makefile.am
changed libopagent/opagent.c
changed libopagent/opagent.h
changed opjitconv/opjitconv.c
changed utils/opcontrol
daemon/init.c Diff Switch to side-by-side view
Loading...
libopagent/Makefile.am Diff Switch to side-by-side view
Loading...
libopagent/opagent.c Diff Switch to side-by-side view
Loading...
libopagent/opagent.h Diff Switch to side-by-side view
Loading...
opjitconv/opjitconv.c Diff Switch to side-by-side view
Loading...
utils/opcontrol Diff Switch to side-by-side view
Loading...

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

Sign up for the SourceForge newsletter:





No, thanks