[tip:perf/core] perf script: Add callchain to generic and tracepoint events

2014-07-17 Thread tip-bot for Joseph Schuchart
Commit-ID: 0f5f5bcd112292f14b75750dde7461463bb1c7bb Gitweb: http://git.kernel.org/tip/0f5f5bcd112292f14b75750dde7461463bb1c7bb Author: Joseph Schuchart AuthorDate: Thu, 10 Jul 2014 13:50:51 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 16 Jul 2014 17:57:33 -0300 perf

[tip:perf/core] perf script: Add missing calls to Py_DECREF for return values

2014-07-17 Thread tip-bot for Joseph Schuchart
Commit-ID: 05f832e3a267d6e45d092595bdf9339d127ea137 Gitweb: http://git.kernel.org/tip/05f832e3a267d6e45d092595bdf9339d127ea137 Author: Joseph Schuchart AuthorDate: Wed, 9 Jul 2014 16:16:31 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 16 Jul 2014 17:57:33 -0300 perf

[tip:perf/core] perf script: Provide additional sample information on generic events

2014-07-17 Thread tip-bot for Joseph Schuchart
Commit-ID: 57608cfd8827a74237d264a197722e2c99f72da4 Gitweb: http://git.kernel.org/tip/57608cfd8827a74237d264a197722e2c99f72da4 Author: Joseph Schuchart AuthorDate: Thu, 10 Jul 2014 13:50:56 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 16 Jul 2014 17:57:33 -0300 perf

[PATCH 3/3] perf script: Provide additional sample information on generic events

2014-07-10 Thread Joseph Schuchart
dictionaries for easy access by Python scripts. Signed-off-by: Joseph Schuchart Acked-by: Thomas Ilsche --- .../util/scripting-engines/trace-event-python.c| 23 +++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/tools/perf/util/scripting-engines/trace-event

[PATCH 2/3] perf script: Add callchain to generic and tracepoint events

2014-07-10 Thread Joseph Schuchart
perf script: Add callchain to generic and tracepoint events. This provides valuable information for tracing performance problems. Since this change alters the interface for the python scripts, also adjust the script generation and the provided scripts. Signed-off-by: Joseph Schuchart

Re: [PATCH 2/3] perf script: Add callchain to generic and tracepoint events

2014-07-10 Thread Joseph Schuchart
Arnaldo, On 09.07.2014 21:29, Arnaldo Carvalho de Melo wrote: > Em Wed, Jul 09, 2014 at 04:12:23PM -0300, Arnaldo Carvalho de Melo escreveu: >> Em Wed, Jul 09, 2014 at 04:09:21PM -0300, Arnaldo Carvalho de Melo escreveu: > >> It is full of: > >> self.cpu =3D common_cpu > > Ok, I

Re: [PATCH 2/3] perf script: Add callchain to generic and tracepoint events

2014-07-09 Thread Joseph Schuchart
: > On Wed, Jul 09, 2014 at 01:43:18PM +0200, Joseph Schuchart wrote: >> Jirka, >> >> I tried to apply the patches to the latest version of the perf/core branch >> before sending. Can you please send me some more information about the >> conflict? > > is you

[PATCH 2/3] perf script: Add callchain to generic and tracepoint events

2014-07-09 Thread Joseph Schuchart
perf script: Add callchain to generic and tracepoint events. Since this alters the interface for the python scripts, also adjust the script generation and the provided scripts. Signed-off-by: Joseph Schuchart Acked-by: Thomas Ilsche --- .../python/Perf-Trace-Util/lib/Perf/Trace/Core.py

[PATCH 1/3] perf script: Add missing calls to Py_DECREF

2014-07-09 Thread Joseph Schuchart
perf script: Add missing calls to Py_DECREF for return values Signed-off-by: Joseph Schuchart --- tools/perf/util/scripting-engines/trace-event-python.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/tools/perf/util/scripting-engines/trace-event-python.c b

[PATCH 3/3] perf script: Provide additional sample information on generic events

2014-07-09 Thread Joseph Schuchart
dictionaries for easy access by Python scripts. Signed-off-by: Joseph Schuchart Acked-by: Thomas Ilsche --- .../util/scripting-engines/trace-event-python.c| 23 +++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/tools/perf/util/scripting-engines/trace-event

Re: [PATCH 2/3] perf script: Add callchain to generic and tracepoint events

2014-07-09 Thread Joseph Schuchart
Jirka, I tried to apply the patches to the latest version of the perf/core branch before sending. Can you please send me some more information about the conflict? Thanks Joseph On 09.07.2014 13:27, Jiri Olsa wrote: > On Wed, Jul 09, 2014 at 09:40:34AM +0200, Joseph Schuchart wr

[PATCH 2/3] perf script: Add callchain to generic and tracepoint events

2014-07-09 Thread Joseph Schuchart
[PATCH 2/3] perf script: Add callchain to generic and tracepoint events. Since this alters the interface for the python scripts, also adjust the script generation and the provided scripts. Signed-off-by: Joseph Schuchart Acked-by: Thomas Ilsche --- .../python/Perf-Trace-Util/lib/Perf

[PATCH 3/3] perf script: Provide additional sample information on generic events

2014-07-09 Thread Joseph Schuchart
information in dictionaries for easy access by Python scripts. Signed-off-by: Joseph Schuchart Acked-by: Thomas Ilsche --- .../util/scripting-engines/trace-event-python.c| 23 +++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/tools/perf/util/scripting-engines

[PATCH 1/3] perf script: Add missing calls to Py_DECREF for return values

2014-07-09 Thread Joseph Schuchart
[PATCH 1/3] perf script: Add missing calls to Py_DECREF for return values Signed-off-by: Joseph Schuchart --- tools/perf/util/scripting-engines/trace-event-python.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/tools/perf/util/scripting-engines/trace-event

[PATCH 1/3] Add missing calls to Py_DECREF

2014-06-04 Thread Joseph Schuchart
else statements. Note that the abort() is necessary since Py_FatalError() does not return but seems to be missing the __noretun__ attribute in Python versions <=2.7 Signed-off-by: Joseph Schuchart --- tools/perf/util/scripting-engines/trace-event-python.c | 12 ++-- 1 file changed,

Re: [PATCH] Provide additional sample information to Python scripts

2014-06-04 Thread Joseph Schuchart
, Namhyung Kim wrote: > Hi Joseph, > > Sorry for late review, this looks very useful.. But please send a > separate email for each patch and make it inlined (not attached) in the > next version. > > > On Thu, 03 Apr 2014 10:57:39 +0200, Joseph Schuchart wrote: >

[PATCH 3/3] Provide additional sample information on generic events

2014-06-04 Thread Joseph Schuchart
access by Python scripts. Signed-off-by: Joseph Schuchart Acked-by: Thomas Ilsche --- .../util/scripting-engines/trace-event-python.c | 21 ++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/tools/perf/util/scripting-engines/trace-event-python.c b/tools/perf

[PATCH 2/3] Add callchain to generic and tracepoint events.

2014-06-04 Thread Joseph Schuchart
Add callchain to generic and tracepoint events. Since this alters the interface for the python scripts, also adjust the script generation and the provided scripts. Signed-off-by: Joseph Schuchart Acked-by: Thomas Ilsche --- .../python/Perf-Trace-Util/lib/Perf/Trace/Core.py | 3 +- tools

Re: [PATCH] Provide additional sample information to Python scripts

2014-04-03 Thread Joseph Schuchart
formation in dictionaries for easy access by Python scripts. Signed-off-by: Joseph Schuchart Acked-by: Thomas Ilsche diff --git a/tools/perf/util/scripting-engines/trace-event-python.c b/tools/perf/util/scripting-engines/trace-event-python.c index a7c8932..255d451 100644 --- a/tools/perf/util/

[PATCH] Provide additional sample information to Python scripts

2014-02-18 Thread Joseph Schuchart
mentioned information is already available to the scripting engine and just has to be handed down. This is done by the attached patch. The patch is based on Linux-3.13.3. Please let me know if you have any questions on this. Thanks Joseph -- Dipl. Inf. Joseph Schuchart Computer Scientist Technische

Re: [PATCH] Perf: Correct Assumptions about Sample Timestamps in Passes

2013-12-20 Thread Joseph Schuchart
On 27.11.2013 14:51, Ingo Molnar wrote: > > * Joseph Schuchart wrote: > >> Sorry for my delayed reply, it's been a busy week and I really wanted to >> give Ingo's idea below some thought. Please find my comments below. >> >>>>> If d

Re: [PATCH] Perf: Correct Assumptions about Sample Timestamps in Passes

2013-11-14 Thread Joseph Schuchart
> Just a quick side note, while I realize that you are > (rightfully!) concerned about correctness primarily, if that loop > over MAX_NR_CPUS executes often enough then this might hurt > performance: > >perf.h:#define MAX_NR_CPUS 256 > > So it might be better to mainta

[PATCH] Perf: Correct Assumptions about Sample Timestamps in Passes

2013-11-14 Thread Joseph Schuchart
CPU in this pass. The change should be small and do not interfere with any other functionality of perf. The patch is based on the current Linux version in git. Please let me know if you need any further information. Signed-off-by: Joseph Schuchart Thanks, Joseph -- Dipl. Inf. Joseph Schuch

[tip:perf/urgent] perf script python: Fix mem leak due to missing Py_DECREFs on dict entries

2013-10-28 Thread tip-bot for Joseph Schuchart
Commit-ID: c0268e8d1f450e286fc55e77f53a9ede6b72acab Gitweb: http://git.kernel.org/tip/c0268e8d1f450e286fc55e77f53a9ede6b72acab Author: Joseph Schuchart AuthorDate: Thu, 24 Oct 2013 10:10:51 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 24 Oct 2013 10:16:54 -0300 perf

Re: Perf Python Scripting Leaks Memory

2013-10-23 Thread Joseph Schuchart
On 23.10.2013 22:01, Arnaldo Carvalho de Melo wrote: > Em Wed, Oct 23, 2013 at 04:37:41PM +0200, Joseph Schuchart escreveu: >>We are using the Python scripting interface in perf to extract kernel >>events relevant for performance analysis of HPC codes. We noticed that