Skip to contentSkip to conversation

Perf Python Scripting Leaks Memory

DISCUSSION Arnaldo Carvalho de Melo 3 participants 3 messages Oct 23, 2013 – Oct 24, 2013 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Em Wed, Oct 23, 2013 at 04:37:41PM +0200, Joseph Schuchart escreveu:

Quoted 4 lines

We are using the Python scripting interface in perf to extract kernel events relevant for performance analysis of HPC codes. We noticed that the "perf script" call allocates a significant amount of memory (in the order of several 100 MiB) during it's run, e.g. 125 MiB for a 25 MiB input file:

Thanks for the analysis and the bug fix!

I asked Tom Zanussi and he kindly reviewed your patch and provided an Acked-by tag for it, Tom, may I add a Reviewed-by: as well?

Joseph, can I have your Signed-off-by: tag, as documented in:

Documentation/SubmittingPatches

In the "12) Sign your work" section?

Thanks!

- Arnaldo

Reviewed-by
#2 lore raw
Quoted 11 lines · Arnaldo Carvalho de Melo

Em Wed, Oct 23, 2013 at 04:37:41PM +0200, Joseph Schuchart escreveu:

Quoted 4 lines

We are using the Python scripting interface in perf to extract kernel events relevant for performance analysis of HPC codes. We noticed that the "perf script" call allocates a significant amount of memory (in the order of several 100 MiB) during it's run, e.g. 125 MiB for a 25 MiB input file:

Thanks for the analysis and the bug fix!

I asked Tom Zanussi and he kindly reviewed your patch and provided an Acked-by tag for it, Tom, may I add a Reviewed-by: as well?

Sure.

Tom

Quoted 9 lines

Joseph, can I have your Signed-off-by: tag, as documented in:

Documentation/SubmittingPatches

In the "12) Sign your work" section?

Thanks!

- Arnaldo

#3 lore raw
In reply to Arnaldo Carvalho de Melo
Quoted 6 lines · Arnaldo Carvalho de Melo

Em Wed, Oct 23, 2013 at 04:37:41PM +0200, Joseph Schuchart escreveu:

Quoted 4 lines

We are using the Python scripting interface in perf to extract kernel events relevant for performance analysis of HPC codes. We noticed that the "perf script" call allocates a significant amount of memory (in the order of several 100 MiB) during it's run, e.g. 125 MiB for a 25 MiB input file:

Quoted 9 lines

Thanks for the analysis and the bug fix!

I asked Tom Zanussi and he kindly reviewed your patch and provided an Acked-by tag for it, Tom, may I add a Reviewed-by: as well?

Joseph, can I have your Signed-off-by: tag, as documented in:

Documentation/SubmittingPatches

Thanks for your quick reply and sorry for not following the recommendations in the documentation.

Thanks!
Joseph