[tip:perf/core] perf event-parse: Use fixed size string for comms

2018-09-06 Thread tip-bot for Chris Phlipot
Commit-ID: c9f23d2bc21cb263ae931f3e264d003d746107bb Gitweb: https://git.kernel.org/tip/c9f23d2bc21cb263ae931f3e264d003d746107bb Author: Chris Phlipot AuthorDate: Wed, 29 Aug 2018 19:19:50 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 30 Aug 2018 14:51:45 -0300 perf event

[tip:perf/core] perf event-parse: Use fixed size string for comms

2018-09-06 Thread tip-bot for Chris Phlipot
Commit-ID: c9f23d2bc21cb263ae931f3e264d003d746107bb Gitweb: https://git.kernel.org/tip/c9f23d2bc21cb263ae931f3e264d003d746107bb Author: Chris Phlipot AuthorDate: Wed, 29 Aug 2018 19:19:50 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 30 Aug 2018 14:51:45 -0300 perf event

[tip:perf/core] perf util: Fix bad memory access in trace info.

2018-09-06 Thread tip-bot for Chris Phlipot
Commit-ID: a72f64261359b7451f8478f2a2bf357b4e6c757f Gitweb: https://git.kernel.org/tip/a72f64261359b7451f8478f2a2bf357b4e6c757f Author: Chris Phlipot AuthorDate: Tue, 28 Aug 2018 23:19:54 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 30 Aug 2018 14:50:50 -0300 perf util

[tip:perf/core] perf util: Fix bad memory access in trace info.

2018-09-06 Thread tip-bot for Chris Phlipot
Commit-ID: a72f64261359b7451f8478f2a2bf357b4e6c757f Gitweb: https://git.kernel.org/tip/a72f64261359b7451f8478f2a2bf357b4e6c757f Author: Chris Phlipot AuthorDate: Tue, 28 Aug 2018 23:19:54 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 30 Aug 2018 14:50:50 -0300 perf util

[tip:perf/core] perf tools: Update android build documentation

2016-07-05 Thread tip-bot for Chris Phlipot
Commit-ID: 3d0376113ed9cf92b86885bf5102944b61523f5b Gitweb: http://git.kernel.org/tip/3d0376113ed9cf92b86885bf5102944b61523f5b Author: Chris Phlipot <cphlip...@gmail.com> AuthorDate: Thu, 30 Jun 2016 22:12:35 -0700 Committer: Arnaldo Carvalho de Melo <a...@redhat.com> Commit

[tip:perf/core] perf tools: Update android build documentation

2016-07-05 Thread tip-bot for Chris Phlipot
Commit-ID: 3d0376113ed9cf92b86885bf5102944b61523f5b Gitweb: http://git.kernel.org/tip/3d0376113ed9cf92b86885bf5102944b61523f5b Author: Chris Phlipot AuthorDate: Thu, 30 Jun 2016 22:12:35 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 4 Jul 2016 20:27:27 -0300 perf tools

[tip:perf/core] tools lib api: Respect WERROR=0 for build

2016-07-05 Thread tip-bot for Chris Phlipot
Commit-ID: b983d54473344a9ef524a231943478047a779796 Gitweb: http://git.kernel.org/tip/b983d54473344a9ef524a231943478047a779796 Author: Chris Phlipot <cphlip...@gmail.com> AuthorDate: Thu, 30 Jun 2016 22:12:32 -0700 Committer: Arnaldo Carvalho de Melo <a...@redhat.com> Commit

[tip:perf/core] tools lib api: Respect WERROR=0 for build

2016-07-05 Thread tip-bot for Chris Phlipot
Commit-ID: b983d54473344a9ef524a231943478047a779796 Gitweb: http://git.kernel.org/tip/b983d54473344a9ef524a231943478047a779796 Author: Chris Phlipot AuthorDate: Thu, 30 Jun 2016 22:12:32 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 4 Jul 2016 20:27:26 -0300 tools lib api

[tip:perf/core] tools lib subcmd: Respect WERROR=0 for build

2016-07-05 Thread tip-bot for Chris Phlipot
Commit-ID: fd01d06ae33be63cff7d133e650cd1eb32f1d548 Gitweb: http://git.kernel.org/tip/fd01d06ae33be63cff7d133e650cd1eb32f1d548 Author: Chris Phlipot <cphlip...@gmail.com> AuthorDate: Thu, 30 Jun 2016 22:12:33 -0700 Committer: Arnaldo Carvalho de Melo <a...@redhat.com> Commit

[tip:perf/core] tools lib subcmd: Respect WERROR=0 for build

2016-07-05 Thread tip-bot for Chris Phlipot
Commit-ID: fd01d06ae33be63cff7d133e650cd1eb32f1d548 Gitweb: http://git.kernel.org/tip/fd01d06ae33be63cff7d133e650cd1eb32f1d548 Author: Chris Phlipot AuthorDate: Thu, 30 Jun 2016 22:12:33 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 4 Jul 2016 20:27:26 -0300 tools lib

Re: [PATCH 3/4] perf tool: Fix build when sysconf doesn't support cache line size

2016-07-04 Thread Chris Phlipot
On 07/04/2016 05:26 PM, Arnaldo Carvalho de Melo wrote: Em Mon, Jul 04, 2016 at 05:19:20PM -0700, Chris Phlipot escreveu: On 07/04/2016 03:48 PM, Arnaldo Carvalho de Melo wrote: Em Thu, Jun 30, 2016 at 10:12:34PM -0700, Chris Phlipot escreveu: Enable perf to build on libc implementations

Re: [PATCH 3/4] perf tool: Fix build when sysconf doesn't support cache line size

2016-07-04 Thread Chris Phlipot
On 07/04/2016 05:26 PM, Arnaldo Carvalho de Melo wrote: Em Mon, Jul 04, 2016 at 05:19:20PM -0700, Chris Phlipot escreveu: On 07/04/2016 03:48 PM, Arnaldo Carvalho de Melo wrote: Em Thu, Jun 30, 2016 at 10:12:34PM -0700, Chris Phlipot escreveu: Enable perf to build on libc implementations

Re: [PATCH 3/4] perf tool: Fix build when sysconf doesn't support cache line size

2016-07-04 Thread Chris Phlipot
On 07/04/2016 03:48 PM, Arnaldo Carvalho de Melo wrote: Em Thu, Jun 30, 2016 at 10:12:34PM -0700, Chris Phlipot escreveu: Enable perf to build on libc implementations where sysconf() doesn't support _SC_LEVEL1_DCACHE_LINESIZE as a parameter. For example, the Bionic implementation does

Re: [PATCH 3/4] perf tool: Fix build when sysconf doesn't support cache line size

2016-07-04 Thread Chris Phlipot
On 07/04/2016 03:48 PM, Arnaldo Carvalho de Melo wrote: Em Thu, Jun 30, 2016 at 10:12:34PM -0700, Chris Phlipot escreveu: Enable perf to build on libc implementations where sysconf() doesn't support _SC_LEVEL1_DCACHE_LINESIZE as a parameter. For example, the Bionic implementation does

[PATCH 3/4] perf tool: Fix build when sysconf doesn't support cache line size

2016-06-30 Thread Chris Phlipot
versions will just return 0 as the cache line size. Signed-off-by: Chris Phlipot <cphlip...@gmail.com> --- tools/perf/perf.c | 4 1 file changed, 4 insertions(+) diff --git a/tools/perf/perf.c b/tools/perf/perf.c index 8f21922..113ca5b 100644 --- a/tools/perf/perf.c +++ b/tools/perf/

[PATCH 1/4] tools lib api: Respect WERROR=0 for build

2016-06-30 Thread Chris Phlipot
This enables the workaround for compilers that generate warnings when compiling libapi. Signed-off-by: Chris Phlipot <cphlip...@gmail.com> --- tools/lib/api/Makefile | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tools/lib/api/Makefile b/tools/lib/api/Makefile

[PATCH 3/4] perf tool: Fix build when sysconf doesn't support cache line size

2016-06-30 Thread Chris Phlipot
versions will just return 0 as the cache line size. Signed-off-by: Chris Phlipot --- tools/perf/perf.c | 4 1 file changed, 4 insertions(+) diff --git a/tools/perf/perf.c b/tools/perf/perf.c index 8f21922..113ca5b 100644 --- a/tools/perf/perf.c +++ b/tools/perf/perf.c @@ -509,7 +509,11

[PATCH 1/4] tools lib api: Respect WERROR=0 for build

2016-06-30 Thread Chris Phlipot
This enables the workaround for compilers that generate warnings when compiling libapi. Signed-off-by: Chris Phlipot --- tools/lib/api/Makefile | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tools/lib/api/Makefile b/tools/lib/api/Makefile index 67ff93e..c7ceea6

[PATCH 2/4] tools lib subcmd: Respect WERROR=0 for build

2016-06-30 Thread Chris Phlipot
this enables the workaround for compilers that generate warnings when compiling libsubcmd. Signed-off-by: Chris Phlipot <cphlip...@gmail.com> --- tools/lib/subcmd/Makefile | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tools/lib/subcmd/Makefile b/tools/lib/

[PATCH 2/4] tools lib subcmd: Respect WERROR=0 for build

2016-06-30 Thread Chris Phlipot
this enables the workaround for compilers that generate warnings when compiling libsubcmd. Signed-off-by: Chris Phlipot --- tools/lib/subcmd/Makefile | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tools/lib/subcmd/Makefile b/tools/lib/subcmd/Makefile index a810370

[PATCH 0/4] perf tool: Fix Android build

2016-06-30 Thread Chris Phlipot
SROOT}" Chris Phlipot (4): tools lib api: Respect WERROR=0 for build tools lib subcmd: Respect WERROR=0 for build perf tool: Fix build when sysconf doesn't support cache line size perf tool: Update android build documentation tools/lib/api/Makefile | 8 +++- tools/

[PATCH 0/4] perf tool: Fix Android build

2016-06-30 Thread Chris Phlipot
SROOT}" Chris Phlipot (4): tools lib api: Respect WERROR=0 for build tools lib subcmd: Respect WERROR=0 for build perf tool: Fix build when sysconf doesn't support cache line size perf tool: Update android build documentation tools/lib/api/Makefile | 8 +++- tools/

[PATCH 4/4] perf tool: Update android build documentation

2016-06-30 Thread Chris Phlipot
Update the android build documentation according to recent android build fixes. The instructions for step 1a and step 2 were updated to work with NDK version 11(oldest supported version) and NDK version 12(current version). Signed-off-by: Chris Phlipot <cphlip...@gmail.com> --- tool

[PATCH 4/4] perf tool: Update android build documentation

2016-06-30 Thread Chris Phlipot
Update the android build documentation according to recent android build fixes. The instructions for step 1a and step 2 were updated to work with NDK version 11(oldest supported version) and NDK version 12(current version). Signed-off-by: Chris Phlipot --- tools/perf/Documentation/android.txt

[tip:perf/core] perf script: Fix export of callchains with recursion in db-export

2016-05-12 Thread tip-bot for Chris Phlipot
Commit-ID: 83302e79b18f75266e4a44281e8432f61d57d441 Gitweb: http://git.kernel.org/tip/83302e79b18f75266e4a44281e8432f61d57d441 Author: Chris Phlipot <cphlip...@gmail.com> AuthorDate: Tue, 10 May 2016 20:26:49 -0700 Committer: Arnaldo Carvalho de Melo <a...@redhat.com> CommitD

[tip:perf/core] perf script: Fix export of callchains with recursion in db-export

2016-05-12 Thread tip-bot for Chris Phlipot
Commit-ID: 83302e79b18f75266e4a44281e8432f61d57d441 Gitweb: http://git.kernel.org/tip/83302e79b18f75266e4a44281e8432f61d57d441 Author: Chris Phlipot AuthorDate: Tue, 10 May 2016 20:26:49 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 11 May 2016 12:24:58 -0300 perf script

[tip:perf/core] perf script: Fix callchain addresses in db-export

2016-05-12 Thread tip-bot for Chris Phlipot
Commit-ID: 7a2544c004a6c576b1e307f30925b165affe6a22 Gitweb: http://git.kernel.org/tip/7a2544c004a6c576b1e307f30925b165affe6a22 Author: Chris Phlipot <cphlip...@gmail.com> AuthorDate: Tue, 10 May 2016 20:26:48 -0700 Committer: Arnaldo Carvalho de Melo <a...@redhat.com> CommitD

[tip:perf/core] perf script: Fix symbol insertion behavior in db-export

2016-05-12 Thread tip-bot for Chris Phlipot
Commit-ID: bd0a51dd2794f1d17d4e7a34ad66db845cef3e5a Gitweb: http://git.kernel.org/tip/bd0a51dd2794f1d17d4e7a34ad66db845cef3e5a Author: Chris Phlipot <cphlip...@gmail.com> AuthorDate: Tue, 10 May 2016 20:26:47 -0700 Committer: Arnaldo Carvalho de Melo <a...@redhat.com> CommitD

[tip:perf/core] perf script: Fix callchain addresses in db-export

2016-05-12 Thread tip-bot for Chris Phlipot
Commit-ID: 7a2544c004a6c576b1e307f30925b165affe6a22 Gitweb: http://git.kernel.org/tip/7a2544c004a6c576b1e307f30925b165affe6a22 Author: Chris Phlipot AuthorDate: Tue, 10 May 2016 20:26:48 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 11 May 2016 12:24:58 -0300 perf script

[tip:perf/core] perf script: Fix symbol insertion behavior in db-export

2016-05-12 Thread tip-bot for Chris Phlipot
Commit-ID: bd0a51dd2794f1d17d4e7a34ad66db845cef3e5a Gitweb: http://git.kernel.org/tip/bd0a51dd2794f1d17d4e7a34ad66db845cef3e5a Author: Chris Phlipot AuthorDate: Tue, 10 May 2016 20:26:47 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 11 May 2016 12:24:57 -0300 perf script

[tip:perf/core] perf symbols: Add dso__insert_symbol function

2016-05-12 Thread tip-bot for Chris Phlipot
Commit-ID: ae93a6c70838b87151ac12589dc507dbf4f2f067 Gitweb: http://git.kernel.org/tip/ae93a6c70838b87151ac12589dc507dbf4f2f067 Author: Chris Phlipot <cphlip...@gmail.com> AuthorDate: Tue, 10 May 2016 20:26:46 -0700 Committer: Arnaldo Carvalho de Melo <a...@redhat.com> CommitD

[tip:perf/core] perf symbols: Add dso__insert_symbol function

2016-05-12 Thread tip-bot for Chris Phlipot
Commit-ID: ae93a6c70838b87151ac12589dc507dbf4f2f067 Gitweb: http://git.kernel.org/tip/ae93a6c70838b87151ac12589dc507dbf4f2f067 Author: Chris Phlipot AuthorDate: Tue, 10 May 2016 20:26:46 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 11 May 2016 12:24:57 -0300 perf symbols

[PATCH v2 0/4] perf script: fix duplicate symbols in db-export

2016-05-10 Thread Chris Phlipot
der by cnt desc limit 1; cnt - 299 (1 row) After applying the fixes no symbol occurs more than once: test=# select count(*) as cnt from symbols group by sym_start,sym_end,dso_id order by cnt desc limit 1; cnt - 1 (1 row) Chris Phlipot (4): perf sy

[PATCH v2 0/4] perf script: fix duplicate symbols in db-export

2016-05-10 Thread Chris Phlipot
der by cnt desc limit 1; cnt - 299 (1 row) After applying the fixes no symbol occurs more than once: test=# select count(*) as cnt from symbols group by sym_start,sym_end,dso_id order by cnt desc limit 1; cnt - 1 (1 row) Chris Phlipot (4): perf sy

[PATCH v2 3/4] perf script: fix callchain addresses in db-export

2016-05-10 Thread Chris Phlipot
Remove the call to map_ip, because it has already been called when assembling the callchain. Calling it a second time can result in incorrect addresses being used. This can have effects such as duplicate symbols being created and exported. Signed-off-by: Chris Phlipot <cphlip...@gmail.

[PATCH v2 3/4] perf script: fix callchain addresses in db-export

2016-05-10 Thread Chris Phlipot
Remove the call to map_ip, because it has already been called when assembling the callchain. Calling it a second time can result in incorrect addresses being used. This can have effects such as duplicate symbols being created and exported. Signed-off-by: Chris Phlipot --- tools/perf/util/db

[PATCH v2 2/4] perf script: fix symbol insertion behavior in db-export

2016-05-10 Thread Chris Phlipot
to dso__find_symbol using a stale symbol cache. Signed-off-by: Chris Phlipot <cphlip...@gmail.com> --- tools/perf/util/db-export.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/perf/util/db-export.c b/tools/perf/util/db-export.c index f8e3057..2ef1f69 100644 --- a/tools/per

[PATCH v2 4/4] perf script: fix export of callchains with recursion in db-export

2016-05-10 Thread Chris Phlipot
already added a symbol at that IP since we started traversing the callchain. This change prevents duplicate symbols from being exported when duplicate IPs are present in the callchain. Signed-off-by: Chris Phlipot <cphlip...@gmail.com> --- tools/perf/util/db-export.c | 4 1 file chan

[PATCH v2 2/4] perf script: fix symbol insertion behavior in db-export

2016-05-10 Thread Chris Phlipot
to dso__find_symbol using a stale symbol cache. Signed-off-by: Chris Phlipot --- tools/perf/util/db-export.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/perf/util/db-export.c b/tools/perf/util/db-export.c index f8e3057..2ef1f69 100644 --- a/tools/perf/util/db-export.c +++ b

[PATCH v2 4/4] perf script: fix export of callchains with recursion in db-export

2016-05-10 Thread Chris Phlipot
already added a symbol at that IP since we started traversing the callchain. This change prevents duplicate symbols from being exported when duplicate IPs are present in the callchain. Signed-off-by: Chris Phlipot --- tools/perf/util/db-export.c | 4 1 file changed, 4 insertions(+) diff

[PATCH v2 1/4] perf symbols: add dso__insert_symbol function

2016-05-10 Thread Chris Phlipot
. If dso__insert_symbol is used in (2) instead of symbols__insert, then the undesired behavior in (3) is avoided. Signed-off-by: Chris Phlipot <cphlip...@gmail.com> --- tools/perf/util/symbol.c | 12 tools/perf/util/symbol.h | 3 +++ 2 files changed, 15 insertions(+) diff --git a/tools/per

[PATCH v2 1/4] perf symbols: add dso__insert_symbol function

2016-05-10 Thread Chris Phlipot
. If dso__insert_symbol is used in (2) instead of symbols__insert, then the undesired behavior in (3) is avoided. Signed-off-by: Chris Phlipot --- tools/perf/util/symbol.c | 12 tools/perf/util/symbol.h | 3 +++ 2 files changed, 15 insertions(+) diff --git a/tools/perf/util/symbol.c b/tools/perf

[PATCH 2/4] perf script: fix symbol insertion behavior in db-export

2016-05-10 Thread Chris Phlipot
to dso__find_symbol using a stale symbol cache. Signed-off-by: Chris Phlipot <cphlip...@gmail.com> --- tools/perf/util/db-export.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/perf/util/db-export.c b/tools/perf/util/db-export.c index f8e3057..2ef1f69 100644 --- a/tools/per

[PATCH 2/4] perf script: fix symbol insertion behavior in db-export

2016-05-10 Thread Chris Phlipot
to dso__find_symbol using a stale symbol cache. Signed-off-by: Chris Phlipot --- tools/perf/util/db-export.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/perf/util/db-export.c b/tools/perf/util/db-export.c index f8e3057..2ef1f69 100644 --- a/tools/perf/util/db-export.c +++ b

[PATCH 3/4] perf script: fix callchain addresses in db-export

2016-05-10 Thread Chris Phlipot
Remove the call to map_ip, because it has already been called when assembling the callchain. Calling it a second time can result in incorrect addresses being used. This can have effects such as duplicate symbols being created and exported. Signed-off-by: Chris Phlipot <cphlip...@gmail.

[PATCH 4/4] perf script: fix export of callchains with recursion in db-export

2016-05-10 Thread Chris Phlipot
already added a symbol at that IP since we started traversing the callchain. This change prevents duplicate symbols from being exported when duplicate IPs are present in the callchain. Signed-off-by: Chris Phlipot <cphlip...@gmail.com> --- tools/perf/util/db-export.c | 4 1 file chan

[PATCH 3/4] perf script: fix callchain addresses in db-export

2016-05-10 Thread Chris Phlipot
Remove the call to map_ip, because it has already been called when assembling the callchain. Calling it a second time can result in incorrect addresses being used. This can have effects such as duplicate symbols being created and exported. Signed-off-by: Chris Phlipot --- tools/perf/util/db

[PATCH 4/4] perf script: fix export of callchains with recursion in db-export

2016-05-10 Thread Chris Phlipot
already added a symbol at that IP since we started traversing the callchain. This change prevents duplicate symbols from being exported when duplicate IPs are present in the callchain. Signed-off-by: Chris Phlipot --- tools/perf/util/db-export.c | 4 1 file changed, 4 insertions(+) diff

[PATCH 0/4] perf script: fix duplicate symbols in db-export

2016-05-10 Thread Chris Phlipot
: test=# select count(*) as cnt from symbols group by sym_start,sym_end,dso_id order by cnt desc limit 1; cnt - 1 (1 row) Chris Phlipot (4): perf symbols: add dso__insert_symbol function perf script: fix symbol insertion behavior in db-export perf script: fix callchain

[PATCH 1/4] perf symbols: add dso__insert_symbol function

2016-05-10 Thread Chris Phlipot
. If dso__insert_symbol is used in (2) instead of symbols__insert, then the undesired behavior in (3) is avoided. Signed-off-by: Chris Phlipot <cphlip...@gmail.com> --- tools/perf/util/symbol.c | 12 tools/perf/util/symbol.h | 3 +++ 2 files changed, 15 insertions(+) diff --git a/tools/per

[PATCH 0/4] perf script: fix duplicate symbols in db-export

2016-05-10 Thread Chris Phlipot
: test=# select count(*) as cnt from symbols group by sym_start,sym_end,dso_id order by cnt desc limit 1; cnt - 1 (1 row) Chris Phlipot (4): perf symbols: add dso__insert_symbol function perf script: fix symbol insertion behavior in db-export perf script: fix callchain

[PATCH 1/4] perf symbols: add dso__insert_symbol function

2016-05-10 Thread Chris Phlipot
. If dso__insert_symbol is used in (2) instead of symbols__insert, then the undesired behavior in (3) is avoided. Signed-off-by: Chris Phlipot --- tools/perf/util/symbol.c | 12 tools/perf/util/symbol.h | 3 +++ 2 files changed, 15 insertions(+) diff --git a/tools/perf/util/symbol.c b/tools/perf

[tip:perf/core] perf symbols: Fix handling of zero-length symbols.

2016-05-10 Thread tip-bot for Chris Phlipot
Commit-ID: 9c7b37cd63d0d910c531233209286f169993cbd9 Gitweb: http://git.kernel.org/tip/9c7b37cd63d0d910c531233209286f169993cbd9 Author: Chris Phlipot <cphlip...@gmail.com> AuthorDate: Sat, 7 May 2016 02:16:59 -0700 Committer: Arnaldo Carvalho de Melo <a...@redhat.com> Commit

[tip:perf/core] perf symbols: Fix handling of zero-length symbols.

2016-05-10 Thread tip-bot for Chris Phlipot
Commit-ID: 9c7b37cd63d0d910c531233209286f169993cbd9 Gitweb: http://git.kernel.org/tip/9c7b37cd63d0d910c531233209286f169993cbd9 Author: Chris Phlipot AuthorDate: Sat, 7 May 2016 02:16:59 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 9 May 2016 18:40:03 -0300 perf symbols

[tip:perf/core] perf script: Fix incorrect python db-export error message

2016-05-10 Thread tip-bot for Chris Phlipot
Commit-ID: aff633406ca2772554bad7b37f2dfbc409b6ea74 Gitweb: http://git.kernel.org/tip/aff633406ca2772554bad7b37f2dfbc409b6ea74 Author: Chris Phlipot <cphlip...@gmail.com> AuthorDate: Sat, 7 May 2016 02:17:00 -0700 Committer: Arnaldo Carvalho de Melo <a...@redhat.com> Commit

[tip:perf/core] perf script: Fix incorrect python db-export error message

2016-05-10 Thread tip-bot for Chris Phlipot
Commit-ID: aff633406ca2772554bad7b37f2dfbc409b6ea74 Gitweb: http://git.kernel.org/tip/aff633406ca2772554bad7b37f2dfbc409b6ea74 Author: Chris Phlipot AuthorDate: Sat, 7 May 2016 02:17:00 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 9 May 2016 14:08:39 -0300 perf script

Re: [PATCH 1/2] perf tools: fix handling of zero-length symbols.

2016-05-09 Thread Chris Phlipot
> On May 9, 2016, at 10:06 AM, Arnaldo Carvalho de Melo > <arnaldo.m...@gmail.com> wrote: > > Em Sat, May 07, 2016 at 02:16:59AM -0700, Chris Phlipot escreveu: >> This change introduces a fix to symbols__find, so that it is able to find >> symbols of

Re: [PATCH 1/2] perf tools: fix handling of zero-length symbols.

2016-05-09 Thread Chris Phlipot
> On May 9, 2016, at 10:06 AM, Arnaldo Carvalho de Melo > wrote: > > Em Sat, May 07, 2016 at 02:16:59AM -0700, Chris Phlipot escreveu: >> This change introduces a fix to symbols__find, so that it is able to find >> symbols of length zero (where start==end) >

[PATCH 2/2] perf script: fix incorrect python db-export error message

2016-05-07 Thread Chris Phlipot
fix the error message printed when attempting and failing to create the call path root incorrectly references the call return process. this change fixes the message to properly reference the failure to create the call path root. Signed-off-by: Chris Phlipot <cphlip...@gmail.com> --- tool

[PATCH 1/2] perf tools: fix handling of zero-length symbols.

2016-05-07 Thread Chris Phlipot
lect count(*) from symbols where name!='unknown'; count --- 2858 (1 row) Signed-off-by: Chris Phlipot <cphlip...@gmail.com> --- tools/perf/util/symbol.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/perf/util/symbol.c b/tools/perf/util/symbol

[PATCH 2/2] perf script: fix incorrect python db-export error message

2016-05-07 Thread Chris Phlipot
fix the error message printed when attempting and failing to create the call path root incorrectly references the call return process. this change fixes the message to properly reference the failure to create the call path root. Signed-off-by: Chris Phlipot --- tools/perf/util/scripting

[PATCH 1/2] perf tools: fix handling of zero-length symbols.

2016-05-07 Thread Chris Phlipot
lect count(*) from symbols where name!='unknown'; count --- 2858 (1 row) Signed-off-by: Chris Phlipot --- tools/perf/util/symbol.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/perf/util/symbol.c b/tools/perf/util/symbol.c index 415c4f6..e42b

[tip:perf/core] perf script: Update export-to-postgresql to support callchain export

2016-05-06 Thread tip-bot for Chris Phlipot
Commit-ID: 3521f3bc9dae4a79cfb9cc9ffcf6d961bbb7cbac Gitweb: http://git.kernel.org/tip/3521f3bc9dae4a79cfb9cc9ffcf6d961bbb7cbac Author: Chris Phlipot <cphlip...@gmail.com> AuthorDate: Thu, 28 Apr 2016 01:19:11 -0700 Committer: Arnaldo Carvalho de Melo <a...@redhat.com> Commit

[tip:perf/core] perf script: Update export-to-postgresql to support callchain export

2016-05-06 Thread tip-bot for Chris Phlipot
Commit-ID: 3521f3bc9dae4a79cfb9cc9ffcf6d961bbb7cbac Gitweb: http://git.kernel.org/tip/3521f3bc9dae4a79cfb9cc9ffcf6d961bbb7cbac Author: Chris Phlipot AuthorDate: Thu, 28 Apr 2016 01:19:11 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 6 May 2016 13:00:55 -0300 perf script

[tip:perf/core] perf script: Expose usage of the callchain db export via the python api

2016-05-06 Thread tip-bot for Chris Phlipot
Commit-ID: 2c15f5eb04e9e7e19a2c8be6b50c63a4c6062a44 Gitweb: http://git.kernel.org/tip/2c15f5eb04e9e7e19a2c8be6b50c63a4c6062a44 Author: Chris Phlipot <cphlip...@gmail.com> AuthorDate: Thu, 28 Apr 2016 01:19:10 -0700 Committer: Arnaldo Carvalho de Melo <a...@redhat.com> Commit

[tip:perf/core] perf script: Add call path id to exported sample in db export

2016-05-06 Thread tip-bot for Chris Phlipot
Commit-ID: 568850eaad8cdd3783c3347623dfcad4f043cf1c Gitweb: http://git.kernel.org/tip/568850eaad8cdd3783c3347623dfcad4f043cf1c Author: Chris Phlipot <cphlip...@gmail.com> AuthorDate: Thu, 28 Apr 2016 01:19:09 -0700 Committer: Arnaldo Carvalho de Melo <a...@redhat.com> Commit

[tip:perf/core] perf script: Expose usage of the callchain db export via the python api

2016-05-06 Thread tip-bot for Chris Phlipot
Commit-ID: 2c15f5eb04e9e7e19a2c8be6b50c63a4c6062a44 Gitweb: http://git.kernel.org/tip/2c15f5eb04e9e7e19a2c8be6b50c63a4c6062a44 Author: Chris Phlipot AuthorDate: Thu, 28 Apr 2016 01:19:10 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 6 May 2016 13:00:54 -0300 perf script

[tip:perf/core] perf script: Add call path id to exported sample in db export

2016-05-06 Thread tip-bot for Chris Phlipot
Commit-ID: 568850eaad8cdd3783c3347623dfcad4f043cf1c Gitweb: http://git.kernel.org/tip/568850eaad8cdd3783c3347623dfcad4f043cf1c Author: Chris Phlipot AuthorDate: Thu, 28 Apr 2016 01:19:09 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 6 May 2016 13:00:53 -0300 perf script

[tip:perf/core] perf script: Enable db export to output sampled callchains

2016-05-06 Thread tip-bot for Chris Phlipot
Commit-ID: 0a3eba3ad613fa9d5af754f7ae8c4b46047cb2a7 Gitweb: http://git.kernel.org/tip/0a3eba3ad613fa9d5af754f7ae8c4b46047cb2a7 Author: Chris Phlipot <cphlip...@gmail.com> AuthorDate: Thu, 28 Apr 2016 01:19:08 -0700 Committer: Arnaldo Carvalho de Melo <a...@redhat.com> Commit

[tip:perf/core] perf script: Enable db export to output sampled callchains

2016-05-06 Thread tip-bot for Chris Phlipot
Commit-ID: 0a3eba3ad613fa9d5af754f7ae8c4b46047cb2a7 Gitweb: http://git.kernel.org/tip/0a3eba3ad613fa9d5af754f7ae8c4b46047cb2a7 Author: Chris Phlipot AuthorDate: Thu, 28 Apr 2016 01:19:08 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 6 May 2016 13:00:52 -0300 perf script

[tip:perf/core] perf tools: Refactor code to move call path handling out of thread-stack

2016-05-06 Thread tip-bot for Chris Phlipot
Commit-ID: 451db12617bc6ff1bb8ed456ed4f257594134255 Gitweb: http://git.kernel.org/tip/451db12617bc6ff1bb8ed456ed4f257594134255 Author: Chris Phlipot <cphlip...@gmail.com> AuthorDate: Thu, 28 Apr 2016 01:19:07 -0700 Committer: Arnaldo Carvalho de Melo <a...@redhat.com> Commit

[tip:perf/core] perf tools: Refactor code to move call path handling out of thread-stack

2016-05-06 Thread tip-bot for Chris Phlipot
Commit-ID: 451db12617bc6ff1bb8ed456ed4f257594134255 Gitweb: http://git.kernel.org/tip/451db12617bc6ff1bb8ed456ed4f257594134255 Author: Chris Phlipot AuthorDate: Thu, 28 Apr 2016 01:19:07 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 6 May 2016 13:00:43 -0300 perf tools

[tip:perf/core] perf callchain: Fix incorrect ordering of entries

2016-05-06 Thread tip-bot for Chris Phlipot
Commit-ID: 9919a65ec532799544dfdfd6df6f994b74c12b42 Gitweb: http://git.kernel.org/tip/9919a65ec532799544dfdfd6df6f994b74c12b42 Author: Chris Phlipot <cphlip...@gmail.com> AuthorDate: Thu, 28 Apr 2016 01:19:06 -0700 Committer: Arnaldo Carvalho de Melo <a...@redhat.com> Commit

[tip:perf/core] perf callchain: Fix incorrect ordering of entries

2016-05-06 Thread tip-bot for Chris Phlipot
Commit-ID: 9919a65ec532799544dfdfd6df6f994b74c12b42 Gitweb: http://git.kernel.org/tip/9919a65ec532799544dfdfd6df6f994b74c12b42 Author: Chris Phlipot AuthorDate: Thu, 28 Apr 2016 01:19:06 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 6 May 2016 08:59:47 -0300 perf

Re: [PATCH 2/5] perf script: extend db-export api to include callchains for samples

2016-04-28 Thread Chris Phlipot
Hi Adrian, I have just resubmitted these changes as a new patch set, which I believe should address most of your concerns. Please review the new patch set instead of continuing with this one. https://lkml.org/lkml/2016/4/28/75 Thanks, Chris On 04/22/2016 09:41 PM, Chris Phlipot wrote

Re: [PATCH 2/5] perf script: extend db-export api to include callchains for samples

2016-04-28 Thread Chris Phlipot
Hi Adrian, I have just resubmitted these changes as a new patch set, which I believe should address most of your concerns. Please review the new patch set instead of continuing with this one. https://lkml.org/lkml/2016/4/28/75 Thanks, Chris On 04/22/2016 09:41 PM, Chris Phlipot wrote

[PATCH 3/6] perf script: enable db export to output sampled callchains

2016-04-28 Thread Chris Phlipot
-visible changes. Signed-off-by: Chris Phlipot <cphlip...@gmail.com> --- tools/perf/util/db-export.c | 86 + tools/perf/util/db-export.h | 2 ++ 2 files changed, 88 insertions(+) diff --git a/tools/perf/util/db-export.c b/tools/perf/util/db-ex

[PATCH 3/6] perf script: enable db export to output sampled callchains

2016-04-28 Thread Chris Phlipot
-visible changes. Signed-off-by: Chris Phlipot --- tools/perf/util/db-export.c | 86 + tools/perf/util/db-export.h | 2 ++ 2 files changed, 88 insertions(+) diff --git a/tools/perf/util/db-export.c b/tools/perf/util/db-export.c index 4fc607c..cb96591

[PATCH 1/6] perf tools: fix incorrect ordering of callchain entries

2016-04-28 Thread Chris Phlipot
ret_from_intr do_IRQ handle_irq handle_edge_irq handle_irq_event handle_irq_event_percpu gen8_irq_handler Signed-off-by: Chris Phlipot <cphlip...@gmail.com> --- tools/perf/util/machine.c | 56

[PATCH 5/6] perf script: expose usage of the callchain db export via the python api

2016-04-28 Thread Chris Phlipot
ents to be added in the future. ie. using *x as the final argument of the sample_table function. Signed-off-by: Chris Phlipot <cphlip...@gmail.com> --- .../util/scripting-engines/trace-event-python.c| 35 -- tools/perf/util/thread-stack.c | 13

[PATCH 1/6] perf tools: fix incorrect ordering of callchain entries

2016-04-28 Thread Chris Phlipot
ret_from_intr do_IRQ handle_irq handle_edge_irq handle_irq_event handle_irq_event_percpu gen8_irq_handler Signed-off-by: Chris Phlipot --- tools/perf/util/machine.c | 56 +++

[PATCH 5/6] perf script: expose usage of the callchain db export via the python api

2016-04-28 Thread Chris Phlipot
ents to be added in the future. ie. using *x as the final argument of the sample_table function. Signed-off-by: Chris Phlipot --- .../util/scripting-engines/trace-event-python.c| 35 -- tools/perf/util/thread-stack.c | 13

[PATCH 6/6] perf script: update export-to-postgresql to support callchain export

2016-04-28 Thread Chris Phlipot
It is intended to demonstrate how it accounts separately for the two ways to reach the "inc_x_loop" function(via "a" and "b"). Recursive common table expressions can be used as well to get cumulative time spent in a function as well, but that is beyond the scope of this ba

[PATCH 2/6] perf tools: refractor code to move call path handling out of thread-stack

2016-04-28 Thread Chris Phlipot
contains no user-visible changes. Signed-off-by: Chris Phlipot <cphlip...@gmail.com> --- tools/perf/util/Build | 1 + tools/perf/util/call-path.c| 122 tools/perf/util/call-path.h

[PATCH 4/6] perf script: add call path id to exported sample in db export

2016-04-28 Thread Chris Phlipot
layer to make this information available for subsequent patches in this change set, but by itself, does not make any changes visible to the user. Signed-off-by: Chris Phlipot <cphlip...@gmail.com> --- tools/perf/util/db-export.c | 4 +++- tools/perf/util/db-export.h | 1 + 2 files chan

[PATCH 6/6] perf script: update export-to-postgresql to support callchain export

2016-04-28 Thread Chris Phlipot
It is intended to demonstrate how it accounts separately for the two ways to reach the "inc_x_loop" function(via "a" and "b"). Recursive common table expressions can be used as well to get cumulative time spent in a function as well, but that is beyond the scope of this basic

[PATCH 2/6] perf tools: refractor code to move call path handling out of thread-stack

2016-04-28 Thread Chris Phlipot
contains no user-visible changes. Signed-off-by: Chris Phlipot --- tools/perf/util/Build | 1 + tools/perf/util/call-path.c| 122 tools/perf/util/call-path.h| 77 + tools/perf/util/db

[PATCH 4/6] perf script: add call path id to exported sample in db export

2016-04-28 Thread Chris Phlipot
layer to make this information available for subsequent patches in this change set, but by itself, does not make any changes visible to the user. Signed-off-by: Chris Phlipot --- tools/perf/util/db-export.c | 4 +++- tools/perf/util/db-export.h | 1 + 2 files changed, 4 insertions(+), 1 deletion

[PATCH 0/6] perf script: export sampled callchains to database

2016-04-28 Thread Chris Phlipot
patches to export incorrect call paths for a small percentage of samples (depending on the workload). Chris Phlipot (6): perf tools: fix incorrect ordering of callchain entries perf tools: refractor code to move call path handling out of thread-stack perf script: enable db export to output

[PATCH 0/6] perf script: export sampled callchains to database

2016-04-28 Thread Chris Phlipot
patches to export incorrect call paths for a small percentage of samples (depending on the workload). Chris Phlipot (6): perf tools: fix incorrect ordering of callchain entries perf tools: refractor code to move call path handling out of thread-stack perf script: enable db export to output

[tip:perf/core] perf script: Fix segfault when printing callchains

2016-04-27 Thread tip-bot for Chris Phlipot
Commit-ID: e557b674a9470dae99916be6105e6780b3a072ca Gitweb: http://git.kernel.org/tip/e557b674a9470dae99916be6105e6780b3a072ca Author: Chris Phlipot <cphlip...@gmail.com> AuthorDate: Tue, 19 Apr 2016 19:32:11 -0700 Committer: Arnaldo Carvalho de Melo <a...@redhat.com> CommitD

[tip:perf/core] perf script: Fix segfault when printing callchains

2016-04-27 Thread tip-bot for Chris Phlipot
Commit-ID: e557b674a9470dae99916be6105e6780b3a072ca Gitweb: http://git.kernel.org/tip/e557b674a9470dae99916be6105e6780b3a072ca Author: Chris Phlipot AuthorDate: Tue, 19 Apr 2016 19:32:11 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 25 Apr 2016 12:49:17 -0300 perf script

[tip:perf/core] perf script: Fix postgresql ubuntu install instructions

2016-04-23 Thread tip-bot for Chris Phlipot
Commit-ID: d6632dd59b66c89724ef28e2723586d1429382aa Gitweb: http://git.kernel.org/tip/d6632dd59b66c89724ef28e2723586d1429382aa Author: Chris Phlipot <cphlip...@gmail.com> AuthorDate: Tue, 19 Apr 2016 01:56:02 -0700 Committer: Arnaldo Carvalho de Melo <a...@redhat.com> CommitD

[tip:perf/core] perf script: Fix postgresql ubuntu install instructions

2016-04-23 Thread tip-bot for Chris Phlipot
Commit-ID: d6632dd59b66c89724ef28e2723586d1429382aa Gitweb: http://git.kernel.org/tip/d6632dd59b66c89724ef28e2723586d1429382aa Author: Chris Phlipot AuthorDate: Tue, 19 Apr 2016 01:56:02 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 19 Apr 2016 12:36:54 -0300 perf script

Re: [PATCH 2/5] perf script: extend db-export api to include callchains for samples

2016-04-22 Thread Chris Phlipot
On 04/22/2016 12:56 AM, Adrian Hunter wrote: The call_paths table already has symbol_id which belongs uniquely to a DSO, so why do we need dso_id as well? If the symbol_id is 0 because the IP could not be resolved to a symbol, this is not necessarily a valid assumption. Without a dso_id in

Re: [PATCH 2/5] perf script: extend db-export api to include callchains for samples

2016-04-22 Thread Chris Phlipot
On 04/22/2016 12:56 AM, Adrian Hunter wrote: The call_paths table already has symbol_id which belongs uniquely to a DSO, so why do we need dso_id as well? If the symbol_id is 0 because the IP could not be resolved to a symbol, this is not necessarily a valid assumption. Without a dso_id in

Re: [PATCH 1/5] perf tools: fix incorrect ordering of callchain entries

2016-04-22 Thread Chris Phlipot
rian Hunter wrote: +Jiri since he wrote the original code On 22/04/16 10:55, Adrian Hunter wrote: On 19/04/16 11:56, Chris Phlipot wrote: The existing implentation implementation of thread__resolve_callchain, Remove 'implentation' under certain circumstanes, can assemble callchain entries

Re: [PATCH 1/5] perf tools: fix incorrect ordering of callchain entries

2016-04-22 Thread Chris Phlipot
rian Hunter wrote: +Jiri since he wrote the original code On 22/04/16 10:55, Adrian Hunter wrote: On 19/04/16 11:56, Chris Phlipot wrote: The existing implentation implementation of thread__resolve_callchain, Remove 'implentation' under certain circumstanes, can assemble callchain entries

[PATCH] perf script: fix segfault when printing callchains using builtin-script

2016-04-19 Thread Chris Phlipot
replacing cursor_callchain with a reference to the global callchain_cursor which also resolves all 3 issues mentioned above. How to reproduce the crash: $ perf record --call-graph=dwarf stress -t 1 -c 1 $ perf script > /dev/null Segfault Signed-off-by: Chris Phlipot <cphlip...@gmail.com> ---

[PATCH] perf script: fix segfault when printing callchains using builtin-script

2016-04-19 Thread Chris Phlipot
replacing cursor_callchain with a reference to the global callchain_cursor which also resolves all 3 issues mentioned above. How to reproduce the crash: $ perf record --call-graph=dwarf stress -t 1 -c 1 $ perf script > /dev/null Segfault Signed-off-by: Chris Phlipot --- tools/perf/builtin-

  1   2   >