Re: [PATCH v6 0/4] perf: add support for profiling jitted code

2015-03-31 Thread Stephane Eranian
Hi Gregg, On Tue, Mar 31, 2015 at 2:31 PM, Brendan Gregg wrote: > > On Tue, Mar 31, 2015 at 12:33 AM, Brendan Gregg > wrote: > > G'Day Stephane, > > > > On Mon, Mar 30, 2015 at 3:19 PM, Stephane Eranian > > wrote: > > [...] > >> The current support only works when the runtime is monitored from

Re: [PATCH v6 0/4] perf: add support for profiling jitted code

2015-03-31 Thread Brendan Gregg
On Tue, Mar 31, 2015 at 12:33 AM, Brendan Gregg wrote: > G'Day Stephane, > > On Mon, Mar 30, 2015 at 3:19 PM, Stephane Eranian wrote: > [...] >> The current support only works when the runtime is monitored from >> start to finish: perf record java --agentpath:libpfmjvmti.so my_class. >> >> Once t

Re: [PATCH v6 0/4] perf: add support for profiling jitted code

2015-03-31 Thread Brendan Gregg
G'Day Stephane, On Mon, Mar 30, 2015 at 3:19 PM, Stephane Eranian wrote: [...] > The current support only works when the runtime is monitored from > start to finish: perf record java --agentpath:libpfmjvmti.so my_class. > > Once the run is completed, the jitdump file needs to be injected into > t

[PATCH v6 0/4] perf: add support for profiling jitted code

2015-03-30 Thread Stephane Eranian
This patch series extends perf record/report/annotate to enable profiling of jitted (just-in-time compiled) code. The current perf tool provides very limited support for profiling jitted code for some runtime environments. But the support is experimental and cannot be used in complex environments.