[PATCH 2/3] perf hists browser: add callchain-specific annotation

2017-04-17 Thread Alexis Berlemont
and select the corresponding annotation histogram. Thus, the user will get an annotated view of the symbol code specific to the callchain displayed in the hists browser. Signed-off-by: Alexis Berlemont <alexis.berlem...@gmail.com> --- tools/perf/ui/browsers/hists.c

[PATCH 3/3] perf report: fill per-callchain symbol annotation histograms

2017-04-17 Thread Alexis Berlemont
The per-callchain histograms must be fed at some points with the profiling samples. A solution is to fill them right after having filled the per-symbol ones: in the callback hist_iter__report_callback. Signed-off-by: Alexis Berlemont <alexis.berlem...@gmail.com> --- tools/perf/builtin-re

[PATCH 2/3] perf hists browser: add callchain-specific annotation

2017-04-17 Thread Alexis Berlemont
and select the corresponding annotation histogram. Thus, the user will get an annotated view of the symbol code specific to the callchain displayed in the hists browser. Signed-off-by: Alexis Berlemont --- tools/perf/ui/browsers/hists.c | 188 - 1 file

[PATCH 3/3] perf report: fill per-callchain symbol annotation histograms

2017-04-17 Thread Alexis Berlemont
The per-callchain histograms must be fed at some points with the profiling samples. A solution is to fill them right after having filled the per-symbol ones: in the callback hist_iter__report_callback. Signed-off-by: Alexis Berlemont --- tools/perf/builtin-report.c | 8 1 file changed

[PATCH 1/3] perf annotate: implement per-callchain annotation histogram

2017-04-17 Thread Alexis Berlemont
are not mixed with other ones, The noise should be reduced. Signed-off-by: Alexis Berlemont <alexis.berlem...@gmail.com> --- tools/perf/util/annotate.c | 308 - tools/perf/util/annotate.h | 19 +++ 2 files changed, 324 insertions(+), 3 deletions(-) diff

[PATCH 1/3] perf annotate: implement per-callchain annotation histogram

2017-04-17 Thread Alexis Berlemont
are not mixed with other ones, The noise should be reduced. Signed-off-by: Alexis Berlemont --- tools/perf/util/annotate.c | 308 - tools/perf/util/annotate.h | 19 +++ 2 files changed, 324 insertions(+), 3 deletions(-) diff --git a/tools/perf/util/annotate.c

[PATCH 0/3] perf: callchain-specific annotation

2017-04-17 Thread Alexis Berlemont
is only available in perf-report; * Tests were not performed on real-world applications but on small basic ones. Alexis. Alexis Berlemont (3): perf annotate: implement per-callchain annotation histogram perf hists browser: add callchain-specific annotation perf report: fill per-callchain

[PATCH 0/3] perf: callchain-specific annotation

2017-04-17 Thread Alexis Berlemont
is only available in perf-report; * Tests were not performed on real-world applications but on small basic ones. Alexis. Alexis Berlemont (3): perf annotate: implement per-callchain annotation histogram perf hists browser: add callchain-specific annotation perf report: fill per-callchain

[tip:perf/core] perf probe: Add sdt probes arguments into the uprobe cmd string

2017-03-24 Thread tip-bot for Alexis Berlemont
Commit-ID: 3b1f8311f6963cd11a7d1efbcd2fd900d472ba5c Gitweb: http://git.kernel.org/tip/3b1f8311f6963cd11a7d1efbcd2fd900d472ba5c Author: Alexis Berlemont <alexis.berlem...@gmail.com> AuthorDate: Wed, 14 Dec 2016 01:07:32 +0100 Committer: Arnaldo Carvalho de Melo <a...@r

[tip:perf/core] perf probe: Add sdt probes arguments into the uprobe cmd string

2017-03-24 Thread tip-bot for Alexis Berlemont
Commit-ID: 3b1f8311f6963cd11a7d1efbcd2fd900d472ba5c Gitweb: http://git.kernel.org/tip/3b1f8311f6963cd11a7d1efbcd2fd900d472ba5c Author: Alexis Berlemont AuthorDate: Wed, 14 Dec 2016 01:07:32 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 21 Mar 2017 10:59:01 -0300 perf

[tip:perf/core] perf sdt: Add scanning of sdt probes arguments

2017-03-24 Thread tip-bot for Alexis Berlemont
Commit-ID: be88184b1c7054719296387c6063748fb48fa645 Gitweb: http://git.kernel.org/tip/be88184b1c7054719296387c6063748fb48fa645 Author: Alexis Berlemont <alexis.berlem...@gmail.com> AuthorDate: Wed, 14 Dec 2016 01:07:31 +0100 Committer: Arnaldo Carvalho de Melo <a...@r

[tip:perf/core] perf sdt: Add scanning of sdt probes arguments

2017-03-24 Thread tip-bot for Alexis Berlemont
Commit-ID: be88184b1c7054719296387c6063748fb48fa645 Gitweb: http://git.kernel.org/tip/be88184b1c7054719296387c6063748fb48fa645 Author: Alexis Berlemont AuthorDate: Wed, 14 Dec 2016 01:07:31 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 21 Mar 2017 10:56:28 -0300 perf sdt

Re: [PATCH v5 0/2] perf probe: add sdt probes arguments into the uprobe cmd string

2017-02-22 Thread Alexis Berlemont
Ravi Bangoria wrote: > > > On Wednesday 14 December 2016 01:06 PM, Ingo Molnar wrote: > > * Alexis Berlemont <alexis.berlem...@gmail.com> wrote: > > > >> Hi Masami, > >> > >> Many thanks for your mail. > >> > >&g

Re: [PATCH v5 0/2] perf probe: add sdt probes arguments into the uprobe cmd string

2017-02-22 Thread Alexis Berlemont
Ravi Bangoria wrote: > > > On Wednesday 14 December 2016 01:06 PM, Ingo Molnar wrote: > > * Alexis Berlemont wrote: > > > >> Hi Masami, > >> > >> Many thanks for your mail. > >> > >> Here is another patch set which tries to fix t

[PATCH v2 0/1] perf: check that objdump correctly works

2016-12-19 Thread Alexis Berlemont
able the use waitpid on the whole pipeline and get the appropriate return code. This is the most simple and straightforward solution I found. The downside might be that it relies on the availability of "pipefail" shell option. However, I checked that even busybox's shell implemented it. Alexis.

[PATCH v2 1/1] perf annotate: check that objdump correctly works

2016-12-19 Thread Alexis Berlemont
e " | grep ..."; this prevents the shell from returning the exit code of objdump execution. Signed-off-by: Alexis Berlemont <alexis.berlem...@gmail.com> --- tools/perf/util/annotate.c | 69 +++--- tools/perf/util/annotate.h | 3 ++ 2 files ch

[PATCH v2 0/1] perf: check that objdump correctly works

2016-12-19 Thread Alexis Berlemont
able the use waitpid on the whole pipeline and get the appropriate return code. This is the most simple and straightforward solution I found. The downside might be that it relies on the availability of "pipefail" shell option. However, I checked that even busybox's shell implemented it. Alexis.

[PATCH v2 1/1] perf annotate: check that objdump correctly works

2016-12-19 Thread Alexis Berlemont
e " | grep ..."; this prevents the shell from returning the exit code of objdump execution. Signed-off-by: Alexis Berlemont --- tools/perf/util/annotate.c | 69 +++--- tools/perf/util/annotate.h | 3 ++ 2 files changed, 68 insertions(+), 4 dele

[PATCH v5 1/2] perf sdt: add scanning of sdt probles arguments

2016-12-13 Thread Alexis Berlemont
ow parsed; the probe arguments are extracted for later use. Signed-off-by: Alexis Berlemont <alexis.berlem...@gmail.com> --- tools/perf/util/symbol-elf.c | 25 +++-- tools/perf/util/symbol.h | 1 + 2 files changed, 24 insertions(+), 2 deletions(-) diff --git a/tools/perf

[PATCH v5 1/2] perf sdt: add scanning of sdt probles arguments

2016-12-13 Thread Alexis Berlemont
ow parsed; the probe arguments are extracted for later use. Signed-off-by: Alexis Berlemont --- tools/perf/util/symbol-elf.c | 25 +++-- tools/perf/util/symbol.h | 1 + 2 files changed, 24 insertions(+), 2 deletions(-) diff --git a/tools/perf/util/symbol-elf.c b/tools/perf/u

[PATCH v5 2/2] perf probe: add sdt probes arguments into the uprobe cmd string

2016-12-13 Thread Alexis Berlemont
test_sdt ... 666.255692: sdt_libfoo:table_frob: (4004d7) arg0=2 arg1=4 test_sdt ... 666.255694: sdt_libfoo:table_diddle: (40051a) arg0=6 arg1=8 Signed-off-by: Alexis Berlemont <alexis.berlem...@gmail.com> --- tools/perf/arch/x86/util/perf_regs.c | 83 + tools/per

[PATCH v5 2/2] perf probe: add sdt probes arguments into the uprobe cmd string

2016-12-13 Thread Alexis Berlemont
test_sdt ... 666.255692: sdt_libfoo:table_frob: (4004d7) arg0=2 arg1=4 test_sdt ... 666.255694: sdt_libfoo:table_diddle: (40051a) arg0=6 arg1=8 Signed-off-by: Alexis Berlemont --- tools/perf/arch/x86/util/perf_regs.c | 83 + tools/perf/util/perf_regs.c | 6 ++ tools

[PATCH v5 0/2] perf probe: add sdt probes arguments into the uprobe cmd string

2016-12-13 Thread Alexis Berlemont
of error, skipping, check the sdt arg type index); Many thanks, Alexis. Alexis Berlemont (2): perf sdt: add scanning of sdt probles arguments perf probe: add sdt probes arguments into the uprobe cmd string tools/perf/arch/x86/util/perf_regs.c | 83 + tools/perf/util

[PATCH v5 0/2] perf probe: add sdt probes arguments into the uprobe cmd string

2016-12-13 Thread Alexis Berlemont
of error, skipping, check the sdt arg type index); Many thanks, Alexis. Alexis Berlemont (2): perf sdt: add scanning of sdt probles arguments perf probe: add sdt probes arguments into the uprobe cmd string tools/perf/arch/x86/util/perf_regs.c | 83 + tools/perf/util

Re: [PATCH] perf annotate: check that objdump correctly works

2016-12-09 Thread Alexis Berlemont
Arnaldo Carvalho de Melo wrote: > Em Thu, Dec 01, 2016 at 01:04:36AM +0100, Alexis Berlemont escreveu: > > Before disassembling, the tool objdump is called just to be sure: > > * objdump is available in the path; > > * objdump is an executable binary; > > * objd

Re: [PATCH] perf annotate: check that objdump correctly works

2016-12-09 Thread Alexis Berlemont
Arnaldo Carvalho de Melo wrote: > Em Thu, Dec 01, 2016 at 01:04:36AM +0100, Alexis Berlemont escreveu: > > Before disassembling, the tool objdump is called just to be sure: > > * objdump is available in the path; > > * objdump is an executable binary; > > * objd

Re: [PATCH v4 0/2] perf probe: add sdt probes arguments into the uprobe cmd string

2016-12-05 Thread Alexis Berlemont
Alexis Berlemont wrote: > Hi Arnaldo, > > Here is another patch set which fixes the issues you noticed. > Could you indicate me a way to improve these patches so as to move forward ? Regards, Alexis. > Thank you. > > Alexis. > > Alexis Berlemont (2): >

Re: [PATCH v4 0/2] perf probe: add sdt probes arguments into the uprobe cmd string

2016-12-05 Thread Alexis Berlemont
Alexis Berlemont wrote: > Hi Arnaldo, > > Here is another patch set which fixes the issues you noticed. > Could you indicate me a way to improve these patches so as to move forward ? Regards, Alexis. > Thank you. > > Alexis. > > Alexis Berlemont (2): >

Re: [PATCH v3 0/2] perf: measure page fault duration in perf trace

2016-12-05 Thread Alexis Berlemont
Alexis Berlemont wrote: > Hi, > > Here is another attempt to make the perf-trace subcommand print the > page fault durations. > > This solution is based on static tracepoints and it was necessary to > add 2 more tracepoints. I understood that adding tracepoints is a >

Re: [PATCH v3 0/2] perf: measure page fault duration in perf trace

2016-12-05 Thread Alexis Berlemont
Alexis Berlemont wrote: > Hi, > > Here is another attempt to make the perf-trace subcommand print the > page fault durations. > > This solution is based on static tracepoints and it was necessary to > add 2 more tracepoints. I understood that adding tracepoints is a >

[PATCH] perf annotate: check that objdump correctly works

2016-11-30 Thread Alexis Berlemont
e " | grep ..."; this prevents the shell from returning the exit code of objdump execution. Signed-off-by: Alexis Berlemont <alexis.berlem...@gmail.com> --- tools/perf/util/annotate.c | 79 +- tools/perf/util/annotate.h | 3 ++ 2 files ch

[PATCH] perf annotate: check that objdump correctly works

2016-11-30 Thread Alexis Berlemont
e " | grep ..."; this prevents the shell from returning the exit code of objdump execution. Signed-off-by: Alexis Berlemont --- tools/perf/util/annotate.c | 79 +- tools/perf/util/annotate.h | 3 ++ 2 files changed, 81 insertions(+), 1 del

[PATCH] perf: check that objdump correctly works

2016-11-30 Thread Alexis Berlemont
. Alexis. Alexis Berlemont (1): perf annotate: check that objdump correctly works tools/perf/util/annotate.c | 79 +- tools/perf/util/annotate.h | 3 ++ 2 files changed, 81 insertions(+), 1 deletion(-) -- 2.10.2

[PATCH] perf: check that objdump correctly works

2016-11-30 Thread Alexis Berlemont
. Alexis. Alexis Berlemont (1): perf annotate: check that objdump correctly works tools/perf/util/annotate.c | 79 +- tools/perf/util/annotate.h | 3 ++ 2 files changed, 81 insertions(+), 1 deletion(-) -- 2.10.2

[PATCH v4 1/2] perf sdt: add scanning of sdt probles arguments

2016-11-25 Thread Alexis Berlemont
ow parsed; the probe arguments are extracted for later use. Signed-off-by: Alexis Berlemont <alexis.berlem...@gmail.com> --- tools/perf/util/symbol-elf.c | 25 +++-- tools/perf/util/symbol.h | 1 + 2 files changed, 24 insertions(+), 2 deletions(-) diff --git a/tools/perf

[PATCH v4 2/2] perf probe: add sdt probes arguments into the uprobe cmd string

2016-11-25 Thread Alexis Berlemont
test_sdt ... 666.255692: sdt_libfoo:table_frob: (4004d7) arg0=2 arg1=4 test_sdt ... 666.255694: sdt_libfoo:table_diddle: (40051a) arg0=6 arg1=8 Signed-off-by: Alexis Berlemont <alexis.berlem...@gmail.com> --- tools/perf/arch/x86/util/perf_regs.c | 18 tools/perf/util/perf_

[PATCH v4 1/2] perf sdt: add scanning of sdt probles arguments

2016-11-25 Thread Alexis Berlemont
ow parsed; the probe arguments are extracted for later use. Signed-off-by: Alexis Berlemont --- tools/perf/util/symbol-elf.c | 25 +++-- tools/perf/util/symbol.h | 1 + 2 files changed, 24 insertions(+), 2 deletions(-) diff --git a/tools/perf/util/symbol-elf.c b/tools/perf/u

[PATCH v4 2/2] perf probe: add sdt probes arguments into the uprobe cmd string

2016-11-25 Thread Alexis Berlemont
test_sdt ... 666.255692: sdt_libfoo:table_frob: (4004d7) arg0=2 arg1=4 test_sdt ... 666.255694: sdt_libfoo:table_diddle: (40051a) arg0=6 arg1=8 Signed-off-by: Alexis Berlemont --- tools/perf/arch/x86/util/perf_regs.c | 18 tools/perf/util/perf_regs.c | 4 + tools/perf/util

[PATCH v4 0/2] perf probe: add sdt probes arguments into the uprobe cmd string

2016-11-25 Thread Alexis Berlemont
Hi Arnaldo, Here is another patch set which fixes the issues you noticed. Thank you. Alexis. Alexis Berlemont (2): perf sdt: add scanning of sdt probles arguments perf probe: add sdt probes arguments into the uprobe cmd string tools/perf/arch/x86/util/perf_regs.c | 18 tools/perf

[PATCH v4 0/2] perf probe: add sdt probes arguments into the uprobe cmd string

2016-11-25 Thread Alexis Berlemont
Hi Arnaldo, Here is another patch set which fixes the issues you noticed. Thank you. Alexis. Alexis Berlemont (2): perf sdt: add scanning of sdt probles arguments perf probe: add sdt probes arguments into the uprobe cmd string tools/perf/arch/x86/util/perf_regs.c | 18 tools/perf

[PATCH v3 0/2] perf probe: add sdt probes arguments into the uprobe cmd string

2016-11-24 Thread Alexis Berlemont
/longjmp_target_1 /lib/libc-2.23.so:0x000f7fdf arg0=%di:u64 arg1=%ax:s32 arg2=%dx:u64 ... Thanks, Alexis. Alexis Berlemont (2): perf sdt: add scanning of sdt probles arguments perf probe: add sdt probes arguments into the uprobe cmd string tools/perf/arch/x86/util/perf_regs.c | 18

[PATCH v3 2/2] perf probe: add sdt probes arguments into the uprobe cmd string

2016-11-24 Thread Alexis Berlemont
test_sdt ... 666.255692: sdt_libfoo:table_frob: (4004d7) arg0=2 arg1=4 test_sdt ... 666.255694: sdt_libfoo:table_diddle: (40051a) arg0=6 arg1=8 Signed-off-by: Alexis Berlemont <alexis.berlem...@gmail.com> --- tools/perf/arch/x86/util/perf_regs.c | 18 tools/perf/util/perf_

[PATCH v3 0/2] perf probe: add sdt probes arguments into the uprobe cmd string

2016-11-24 Thread Alexis Berlemont
/longjmp_target_1 /lib/libc-2.23.so:0x000f7fdf arg0=%di:u64 arg1=%ax:s32 arg2=%dx:u64 ... Thanks, Alexis. Alexis Berlemont (2): perf sdt: add scanning of sdt probles arguments perf probe: add sdt probes arguments into the uprobe cmd string tools/perf/arch/x86/util/perf_regs.c | 18

[PATCH v3 2/2] perf probe: add sdt probes arguments into the uprobe cmd string

2016-11-24 Thread Alexis Berlemont
test_sdt ... 666.255692: sdt_libfoo:table_frob: (4004d7) arg0=2 arg1=4 test_sdt ... 666.255694: sdt_libfoo:table_diddle: (40051a) arg0=6 arg1=8 Signed-off-by: Alexis Berlemont --- tools/perf/arch/x86/util/perf_regs.c | 18 tools/perf/util/perf_regs.c | 4 + tools/perf/util

[PATCH v3 1/2] perf sdt: add scanning of sdt probles arguments

2016-11-24 Thread Alexis Berlemont
ow parsed; the probe arguments are extracted for later use. Signed-off-by: Alexis Berlemont <alexis.berlem...@gmail.com> --- tools/perf/util/symbol-elf.c | 16 +++- tools/perf/util/symbol.h | 1 + 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/tools/perf/util/symbol-

[PATCH v3 1/2] perf sdt: add scanning of sdt probles arguments

2016-11-24 Thread Alexis Berlemont
ow parsed; the probe arguments are extracted for later use. Signed-off-by: Alexis Berlemont --- tools/perf/util/symbol-elf.c | 16 +++- tools/perf/util/symbol.h | 1 + 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/tools/perf/util/symbol-elf.c b/tools/perf/util/symbol-elf.c

[PATCH v2 2/2] perf probe: add sdt probes arguments into the uprobe cmd string

2016-11-18 Thread Alexis Berlemont
test_sdt ... 666.255692: sdt_libfoo:table_frob: (4004d7) arg0=2 arg1=4 test_sdt ... 666.255694: sdt_libfoo:table_diddle: (40051a) arg0=6 arg1=8 Signed-off-by: Alexis Berlemont <alexis.berlem...@gmail.com> --- tools/perf/arch/x86/util/perf_regs.c | 18 + tools/perf/util/perf_

[PATCH v2 2/2] perf probe: add sdt probes arguments into the uprobe cmd string

2016-11-18 Thread Alexis Berlemont
test_sdt ... 666.255692: sdt_libfoo:table_frob: (4004d7) arg0=2 arg1=4 test_sdt ... 666.255694: sdt_libfoo:table_diddle: (40051a) arg0=6 arg1=8 Signed-off-by: Alexis Berlemont --- tools/perf/arch/x86/util/perf_regs.c | 18 + tools/perf/util/perf_regs.c | 4 + tools/perf/util

[PATCH v2 0/2] perf probe: add sdt probes arguments into the uprobe cmd string

2016-11-18 Thread Alexis Berlemont
Hi Hemant, Many thanks for your answer. Here is another proposal in which the x86 register renaming table has been moved into the x86-specific part. Thanks, Alexis. Alexis Berlemont (2): perf sdt: add scanning of sdt probles arguments perf probe: add sdt probes arguments into the uprobe

[PATCH v2 0/2] perf probe: add sdt probes arguments into the uprobe cmd string

2016-11-18 Thread Alexis Berlemont
Hi Hemant, Many thanks for your answer. Here is another proposal in which the x86 register renaming table has been moved into the x86-specific part. Thanks, Alexis. Alexis Berlemont (2): perf sdt: add scanning of sdt probles arguments perf probe: add sdt probes arguments into the uprobe

[PATCH v2 1/2] perf sdt: add scanning of sdt probles arguments

2016-11-18 Thread Alexis Berlemont
ow parsed; the probe arguments are extracted for later use. Signed-off-by: Alexis Berlemont <alexis.berlem...@gmail.com> --- tools/perf/util/symbol-elf.c | 16 +++- tools/perf/util/symbol.h | 1 + 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/tools/perf/util/symbol-

[PATCH v2 1/2] perf sdt: add scanning of sdt probles arguments

2016-11-18 Thread Alexis Berlemont
ow parsed; the probe arguments are extracted for later use. Signed-off-by: Alexis Berlemont --- tools/perf/util/symbol-elf.c | 16 +++- tools/perf/util/symbol.h | 1 + 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/tools/perf/util/symbol-elf.c b/tools/perf/util/symbol-elf.c

[PATCH v3 1/2] perf, x86-mm: declare page-faults tracepoints like irq-vectors ones

2016-11-17 Thread Alexis Berlemont
The tracepoints "exceptions:page_fault_(user|kernel)" were renamed "exceptions:page_fault_(user|kernel)_entry". Two more tracepoints were added: "exceptions:page_fault_(user|kernel)_exit". These events are called right before and after __do_page_fault(). S

[PATCH v3 1/2] perf, x86-mm: declare page-faults tracepoints like irq-vectors ones

2016-11-17 Thread Alexis Berlemont
The tracepoints "exceptions:page_fault_(user|kernel)" were renamed "exceptions:page_fault_(user|kernel)_entry". Two more tracepoints were added: "exceptions:page_fault_(user|kernel)_exit". These events are called right before and after __do_page_fault(). Signed-off-b

[PATCH v3 0/2] perf: measure page fault duration in perf trace

2016-11-17 Thread Alexis Berlemont
another idea. Alexis. Alexis Berlemont (2): perf, x86-mm: declare page-faults tracepoints like irq-vectors ones perf: add page fault duration measures in perf trace arch/x86/include/asm/trace/exceptions.h | 17 ++- arch/x86/mm/fault.c | 17 ++- tools/perf/Documentation/perf

[PATCH v3 2/2] perf: add page fault duration measures in perf trace

2016-11-17 Thread Alexis Berlemont
_start+0x0] => /lib/ld-2.23.so@0xc70 (x.) ... Signed-off-by: Alexis Berlemont <alexis.berlem...@gmail.com> --- tools/perf/Documentation/perf-trace.txt | 4 +- tools/perf/builtin-trace.c | 231 2 files changed, 208 insertions(+), 27 deletions

[PATCH v3 0/2] perf: measure page fault duration in perf trace

2016-11-17 Thread Alexis Berlemont
another idea. Alexis. Alexis Berlemont (2): perf, x86-mm: declare page-faults tracepoints like irq-vectors ones perf: add page fault duration measures in perf trace arch/x86/include/asm/trace/exceptions.h | 17 ++- arch/x86/mm/fault.c | 17 ++- tools/perf/Documentation/perf

[PATCH v3 2/2] perf: add page fault duration measures in perf trace

2016-11-17 Thread Alexis Berlemont
_start+0x0] => /lib/ld-2.23.so@0xc70 (x.) ... Signed-off-by: Alexis Berlemont --- tools/perf/Documentation/perf-trace.txt | 4 +- tools/perf/builtin-trace.c | 231 2 files changed, 208 insertions(+), 27 deletions(-) diff --git a/tools/perf/Docu

[PATCH 1/2] perf sdt: add scanning of sdt probles arguments

2016-11-16 Thread Alexis Berlemont
ow parsed; the probe arguments are extracted for later use. Signed-off-by: Alexis Berlemont <alexis.berlem...@gmail.com> --- tools/perf/util/symbol-elf.c | 16 +++- tools/perf/util/symbol.h | 1 + 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/tools/perf/util/symbol-

[PATCH 1/2] perf sdt: add scanning of sdt probles arguments

2016-11-16 Thread Alexis Berlemont
ow parsed; the probe arguments are extracted for later use. Signed-off-by: Alexis Berlemont --- tools/perf/util/symbol-elf.c | 16 +++- tools/perf/util/symbol.h | 1 + 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/tools/perf/util/symbol-elf.c b/tools/perf/util/symbol-elf.c

[PATCH 2/2] perf probe: add sdt probes arguments into the uprobe cmd string

2016-11-16 Thread Alexis Berlemont
test_sdt ... 666.255692: sdt_libfoo:table_frob: (4004d7) arg0=2 arg1=4 test_sdt ... 666.255694: sdt_libfoo:table_diddle: (40051a) arg0=6 arg1=8 Signed-off-by: Alexis Berlemont <alexis.berlem...@gmail.com> --- tools/perf/util/probe-file.c | 176 ++-

[PATCH 2/2] perf probe: add sdt probes arguments into the uprobe cmd string

2016-11-16 Thread Alexis Berlemont
test_sdt ... 666.255692: sdt_libfoo:table_frob: (4004d7) arg0=2 arg1=4 test_sdt ... 666.255694: sdt_libfoo:table_diddle: (40051a) arg0=6 arg1=8 Signed-off-by: Alexis Berlemont --- tools/perf/util/probe-file.c | 176 ++- 1 file changed, 172 insertions

[PATCH 0/2] perf: add support of SDT probes arguments

2016-11-16 Thread Alexis Berlemont
. Alexis Berlemont (2): perf sdt: add scanning of sdt probles arguments perf probe: add sdt probes arguments into the uprobe cmd string tools/perf/util/probe-file.c | 176 ++- tools/perf/util/symbol-elf.c | 16 +++- tools/perf/util/symbol.h | 1 + 3

[PATCH 0/2] perf: add support of SDT probes arguments

2016-11-16 Thread Alexis Berlemont
. Alexis Berlemont (2): perf sdt: add scanning of sdt probles arguments perf probe: add sdt probes arguments into the uprobe cmd string tools/perf/util/probe-file.c | 176 ++- tools/perf/util/symbol-elf.c | 16 +++- tools/perf/util/symbol.h | 1 + 3

[PATCH v2] perf, x86-mm: declare page-faults tracepoints like irq-vectors ones

2016-10-27 Thread Alexis Berlemont
The tracepoints "exceptions:page_fault_(user|kernel)" were renamed "exceptions:page_fault_(user|kernel)_entry". Two more tracepoints were added: "exceptions:page_fault_(user|kernel)_exit". These events are called right before and after __do_page_fault(). S

[PATCH v2] perf, x86-mm: declare page-faults tracepoints like irq-vectors ones

2016-10-27 Thread Alexis Berlemont
The tracepoints "exceptions:page_fault_(user|kernel)" were renamed "exceptions:page_fault_(user|kernel)_entry". Two more tracepoints were added: "exceptions:page_fault_(user|kernel)_exit". These events are called right before and after __do_page_fault(). Signed-off-b

[PATCH v2] perf, x86-mm: declare page-faults tracepoints like irq-vectors ones

2016-10-27 Thread Alexis Berlemont
. Maybe 2 tracepoints (instead of 4) should have been enough; however, there were already 1 tracepoint per mode before. Alexis. Alexis Berlemont (1): perf, x86-mm: declare page-faults tracepoints like irq-vectors ones arch/x86/include/asm/trace/exceptions.h | 17 - arch/x86/

[PATCH v2] perf, x86-mm: declare page-faults tracepoints like irq-vectors ones

2016-10-27 Thread Alexis Berlemont
. Maybe 2 tracepoints (instead of 4) should have been enough; however, there were already 1 tracepoint per mode before. Alexis. Alexis Berlemont (1): perf, x86-mm: declare page-faults tracepoints like irq-vectors ones arch/x86/include/asm/trace/exceptions.h | 17 - arch/x86/

[PATCH 1/2] perf, x86-mm: Add exit-fault tracing

2016-10-25 Thread Alexis Berlemont
Signed-off-by: Alexis Berlemont <alexis.berlem...@gmail.com> --- arch/x86/include/asm/trace/exceptions.h | 21 + arch/x86/mm/fault.c | 1 + 2 files changed, 22 insertions(+) diff --git a/arch/x86/include/asm/trace/exceptions.h b/arch/x86/inclu

[PATCH 2/2] perf: add page fault duration measures in perf trace

2016-10-25 Thread Alexis Berlemont
Signed-off-by: Alexis Berlemont <alexis.berlem...@gmail.com> --- tools/perf/Documentation/perf-trace.txt | 4 +- tools/perf/builtin-trace.c | 225 2 files changed, 202 insertions(+), 27 deletions(-) diff --git a/tools/perf/Documentatio

[PATCH 0/2] perf: measure page fault duration in perf trace

2016-10-25 Thread Alexis Berlemont
hes were generated against tip/perf/core. Alexis. Alexis Berlemont (2): perf, x86-mm: Add exit-fault tracing perf: add page fault duration measures in perf trace arch/x86/include/asm/trace/exceptions.h | 21 +++ arch/x86/mm/fault.c | 1 + tools

[PATCH 1/2] perf, x86-mm: Add exit-fault tracing

2016-10-25 Thread Alexis Berlemont
Signed-off-by: Alexis Berlemont --- arch/x86/include/asm/trace/exceptions.h | 21 + arch/x86/mm/fault.c | 1 + 2 files changed, 22 insertions(+) diff --git a/arch/x86/include/asm/trace/exceptions.h b/arch/x86/include/asm/trace/exceptions.h index 2fbc66c

[PATCH 2/2] perf: add page fault duration measures in perf trace

2016-10-25 Thread Alexis Berlemont
Signed-off-by: Alexis Berlemont --- tools/perf/Documentation/perf-trace.txt | 4 +- tools/perf/builtin-trace.c | 225 2 files changed, 202 insertions(+), 27 deletions(-) diff --git a/tools/perf/Documentation/perf-trace.txt b/tools/perf

[PATCH 0/2] perf: measure page fault duration in perf trace

2016-10-25 Thread Alexis Berlemont
hes were generated against tip/perf/core. Alexis. Alexis Berlemont (2): perf, x86-mm: Add exit-fault tracing perf: add page fault duration measures in perf trace arch/x86/include/asm/trace/exceptions.h | 21 +++ arch/x86/mm/fault.c | 1 + tools

[tip:perf/core] perf trace: Implement --delay

2016-10-24 Thread tip-bot for Alexis Berlemont
Commit-ID: e36b7821a985325dd7074de96deface5c9c6d700 Gitweb: http://git.kernel.org/tip/e36b7821a985325dd7074de96deface5c9c6d700 Author: Alexis Berlemont <alexis.berlem...@gmail.com> AuthorDate: Mon, 10 Oct 2016 07:43:28 +0200 Committer: Arnaldo Carvalho de Melo <a...@r

[tip:perf/core] perf trace: Implement --delay

2016-10-24 Thread tip-bot for Alexis Berlemont
Commit-ID: e36b7821a985325dd7074de96deface5c9c6d700 Gitweb: http://git.kernel.org/tip/e36b7821a985325dd7074de96deface5c9c6d700 Author: Alexis Berlemont AuthorDate: Mon, 10 Oct 2016 07:43:28 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 24 Oct 2016 11:07:43 -0300 perf

[tip:perf/core] perf hists browser: Dynamically change verbosity level

2016-10-24 Thread tip-bot for Alexis Berlemont
Commit-ID: 21e8c81095cdbbde9d2aba8fffc51cb9b5e0eeaa Gitweb: http://git.kernel.org/tip/21e8c81095cdbbde9d2aba8fffc51cb9b5e0eeaa Author: Alexis Berlemont <alexis.berlem...@gmail.com> AuthorDate: Wed, 12 Oct 2016 23:48:23 +0200 Committer: Arnaldo Carvalho de Melo <a...@r

[tip:perf/core] perf hists browser: Dynamically change verbosity level

2016-10-24 Thread tip-bot for Alexis Berlemont
Commit-ID: 21e8c81095cdbbde9d2aba8fffc51cb9b5e0eeaa Gitweb: http://git.kernel.org/tip/21e8c81095cdbbde9d2aba8fffc51cb9b5e0eeaa Author: Alexis Berlemont AuthorDate: Wed, 12 Oct 2016 23:48:23 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 24 Oct 2016 11:07:42 -0300 perf

[PATCH] perf: dynamically change verbosity level in perf top

2016-10-12 Thread Alexis Berlemont
Signed-off-by: Alexis Berlemont <alexis.berlem...@gmail.com> --- tools/perf/ui/browsers/hists.c | 5 - tools/perf/util/map.c | 17 - 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/tools/perf/ui/browsers/hists.c b/tools/perf/ui/browsers/hists.c

[PATCH] perf: dynamically change verbosity level in perf top

2016-10-12 Thread Alexis Berlemont
Signed-off-by: Alexis Berlemont --- tools/perf/ui/browsers/hists.c | 5 - tools/perf/util/map.c | 17 - 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/tools/perf/ui/browsers/hists.c b/tools/perf/ui/browsers/hists.c index fb8e42c..6016909 100644

[PATCH] perf: dynamically change verbosity level in perf top

2016-10-12 Thread Alexis Berlemont
a small grep in the code, the max verbosity level seems 3; so, we cycle at 4; I did not dare define a MAX_VERBOSE_LEVEL constant. Alexis. Alexis Berlemont (1): perf: dynamically change verbosity level in perf top tools/perf/ui/browsers/hists.c | 5 - tools/perf/util/map.c | 17

[PATCH] perf: dynamically change verbosity level in perf top

2016-10-12 Thread Alexis Berlemont
a small grep in the code, the max verbosity level seems 3; so, we cycle at 4; I did not dare define a MAX_VERBOSE_LEVEL constant. Alexis. Alexis Berlemont (1): perf: dynamically change verbosity level in perf top tools/perf/ui/browsers/hists.c | 5 - tools/perf/util/map.c | 17

[PATCH] perf: implement --delay on perf trace

2016-10-09 Thread Alexis Berlemont
Signed-off-by: Alexis Berlemont <alexis.berlem...@gmail.com> --- tools/perf/builtin-trace.c | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/tools/perf/builtin-trace.c b/tools/perf/builtin-trace.c index c298bd3..0bae454 100644 --- a/tools/perf/builtin-trace.c

[PATCH] perf: implement --delay on perf trace

2016-10-09 Thread Alexis Berlemont
Signed-off-by: Alexis Berlemont --- tools/perf/builtin-trace.c | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/tools/perf/builtin-trace.c b/tools/perf/builtin-trace.c index c298bd3..0bae454 100644 --- a/tools/perf/builtin-trace.c +++ b/tools/perf/builtin-trace.c

[PATCH] Implement --delay on perf trace

2016-10-09 Thread Alexis Berlemont
7, PERF_EVENT_IOC_ENABLE, 0) = 0 ... Alexis. Alexis Berlemont (1): perf: implement --delay on perf trace tools/perf/builtin-trace.c | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) -- 2.10.0

[PATCH] Implement --delay on perf trace

2016-10-09 Thread Alexis Berlemont
7, PERF_EVENT_IOC_ENABLE, 0) = 0 ... Alexis. Alexis Berlemont (1): perf: implement --delay on perf trace tools/perf/builtin-trace.c | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) -- 2.10.0

Re: [PATCH v4 04/14] perf tools: Add kbuild support into Makefile.kbuild

2014-10-29 Thread Alexis Berlemont
Jiri Olsa wrote: > On Sun, Oct 26, 2014 at 12:20:29AM +0200, Alexis Berlemont wrote: > > From: Jiri Olsa > > SNIP > > > --- > > tools/perf/Kbuild | 47 +++ > > tools/perf/Kconfig

Re: [PATCH v4 04/14] perf tools: Add kbuild support into Makefile.kbuild

2014-10-29 Thread Alexis Berlemont
Jiri Olsa wrote: On Sun, Oct 26, 2014 at 12:20:29AM +0200, Alexis Berlemont wrote: From: Jiri Olsa jo...@redhat.com SNIP --- tools/perf/Kbuild | 47 +++ tools/perf/Kconfig | 284 ++ tools/perf

Re: [PATCH v4 00/14] Kbuild for perf

2014-10-28 Thread Alexis Berlemont
Jiri Olsa wrote: > On Sun, Oct 26, 2014 at 12:20:25AM +0200, Alexis Berlemont wrote: > > Hello, > > > > Here is a proposal of perf's build process managed by Kbuild: > > * The file Makefile.perf is replaced by Makefile.kbuild > > * Makefile.kbuild generates a de

Re: [PATCH v4 00/14] Kbuild for perf

2014-10-28 Thread Alexis Berlemont
Jiri Olsa wrote: On Sun, Oct 26, 2014 at 12:20:25AM +0200, Alexis Berlemont wrote: Hello, Here is a proposal of perf's build process managed by Kbuild: * The file Makefile.perf is replaced by Makefile.kbuild * Makefile.kbuild generates a default .config file if none exists

[PATCH v4 03/14] perf tools: Kbuild source related fixies

2014-10-25 Thread Alexis Berlemont
: Borislav Petkov Cc: Michal Marek Cc: linux-kbu...@vger.kernel.org Cc: Stephane Eranian Signed-off-by: Alexis Berlemont --- tools/perf/builtin-annotate.c| 6 +++--- tools/perf/builtin-lock.c| 5 - tools/perf/builtin-report.c | 2 +- tools/perf/builtin-sched.c | 3

[PATCH v4 05/14] perf kbuild: remove Makefile.perf

2014-10-25 Thread Alexis Berlemont
-by: Alexis Berlemont --- tools/perf/Makefile | 2 +- tools/perf/Makefile.kbuild| 2 +- tools/perf/Makefile.perf | 981 -- tools/perf/builtin-annotate.c | 4 +- tools/perf/builtin-cmds.h | 25 -- tools/perf/builtin-report.c | 2

[PATCH v4 13/14] perf kbuild: final cosmetic changes

2014-10-25 Thread Alexis Berlemont
generated by Kconfig. * replace HAVE_KVM_STAT_SUPPORT by a Kconfig option * replace HAVE_SKIP_CALLCHAIN_IDX by a Kconfig option * add Kconfig options for 32-bit compatibility VDSOs Signed-off-by: Alexis Berlemont --- Changes since v3: * Add Kconfig options for 32-bit compatibility VDSOs tools

[PATCH v4 06/14] perf kbuild: remove legacy tui/gui-related build variables

2014-10-25 Thread Alexis Berlemont
by CONFIG_LIBGTK2_INFOBAR) Signed-off-by: Alexis Berlemont --- tools/perf/Kconfig| 21 + tools/perf/config/Makefile| 20 ++-- tools/perf/config/Makefile.fix-config | 24 tools/perf/config/Makefile.fix-legacy

[PATCH v4 08/14] perf kbuild: cross-compilation variables are now handled in Kconfig

2014-10-25 Thread Alexis Berlemont
The variable CONFIG_ARCH and CONFIG_CROSS_COMPILE were added. Signed-off-by: Alexis Berlemont --- tools/perf/Kconfig | 24 tools/perf/Makefile.kbuild | 8 tools/perf/arch/x86/include/perf_regs.h | 8

[PATCH v4 10/14] perf kbuild: remove legacy libelf-related build variables

2014-10-25 Thread Alexis Berlemont
Remove NO_LIBELF (replaced by CONFIG_LIBELF) Remove HAVE_LIBELF_SUPPORT (replaced by CONFIG_LIBELF) Remove HAVE_LIBELF_MMAP_SUPPORT (replaced by CONFIG_LIBELF_MMAP) Remove HAVE_LIBELF_GETPHDRNUM__SUPPORT (replaced by CONFIG_LIBELF_GETPHDRNUM_) Signed-off-by: Alexis Berlemont --- tools/perf

[PATCH v4 12/14] perf kbuild: remove legacy script-related build variables

2014-10-25 Thread Alexis Berlemont
Remove NO_LIBPERL (replaced by CONFIG_LIBPERL) Remove NO_LIBPYTHON (replaced by CONFIG_LIBPYTHON) Signed-off-by: Alexis Berlemont --- tools/perf/builtin-script.c | 6 +++-- tools/perf/config/Makefile | 41 + tools/perf/config

[PATCH v4 07/14] perf kbuild: remove legacy demangle-related build variables

2014-10-25 Thread Alexis Berlemont
Remove NO_DEMANGLE (replaced by CONFIG_DEMANGLE) Remove HAVE_LIBBFD_SUPPORT (replaced by CONFIG_LIBBFD) Remove HAVE_CPLUS_DEMANGLE_SUPPORT (replaced by CONFIG_LIBIBERTY_ONLY) Signed-off-by: Alexis Berlemont --- tools/perf/Kconfig| 36 +-- tools/perf

[PATCH v4 09/14] perf kbuild: remove legacy misc build variables

2014-10-25 Thread Alexis Berlemont
) Remove HAVE_LIBNUMA_SUPPORT (replaced by CONFIG_LIBNUMA) Remove NO_BIONIC (replaced by CONFIG_BIONIC) Remove NO_PERF_REGS (replaced by CONFIG_PERF_REGS) Signed-off-by: Alexis Berlemont --- tools/perf/Kconfig| 12 -- tools/perf/arch/arm/tests/Kbuild | 2 +- tools

[PATCH v4 11/14] perf kbuild: remove legacy libdwarf-related build variables

2014-10-25 Thread Alexis Berlemont
* Remove NO_DWARF (replaced by CONFIG_LIBDWARF) * Remove HAVE_DWARF_SUPPORT (replaced by CONFIG_LIBDWARF) * Remove the useless variable PERF_HAVE_DWARF_REGS * fix compilation issues if PERF_REGS is disabled Signed-off-by: Alexis Berlemont --- tools/perf/Kconfig | 59

  1   2   3   4   >