Hi
Here are some fixes and small improvements for Intel PT.
Adrian Hunter (11):
perf intel-pt: Fix FUP packet state
perf intel-pt: Fix duplicate branch after CBR
perf tools: Improve aux_output not supported error
perf auxtrace: Add optional error flags to the itrace
On 27/05/20 6:54 pm, Peter Zijlstra wrote:
> On Wed, May 27, 2020 at 12:47:16PM -0300, Arnaldo Carvalho de Melo wrote:
>> Em Wed, May 20, 2020 at 05:56:34PM +0200, Peter Zijlstra escreveu:
>>> On Tue, May 19, 2020 at 10:40:01PM -0300, Arnaldo Carvalho de Melo wrote:
PeterZ, from what we discus
ibe the expected
> function arguments either, we're going to assume that this is
> not actually a bona fide kerneldoc use-case.
>
> Fixes the following W=1 kernel build warning:
>
> drivers/mmc/host/cqhci.c:163: warning: Function parameter or member
> 'cq_host' not d
On 9/06/20 4:18 am, Chun-Hung Wu wrote:
> Support command queue for mt6779 platform.
> a. Add msdc_set_busy_timeout() to calculate emmc write timeout.
> b. Connect mtk msdc driver to cqhci driver through
>host->cq_host->ops = &msdc_cmdq_ops;
> c. msdc_cmdq_irq() will link up with cqchi_irq(). B
ets updated with the required
> strength value.
>
> Signed-off-by: Akshu Agrawal
Acked-by: Adrian Hunter
> ---
> drivers/mmc/host/sdhci-acpi.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/mmc/host/sdhci-acpi.c b/drivers/mmc/host/sdhci-acpi.c
>
On 22/06/20 8:44 am, chen jiangnan wrote:
> From 547e5635c04f4f9d62cbc1e3a4b4527f87c4e83b Mon Sep 17 00:00:00 2001
> From: JiangnanChen
> Date: Mon, 22 Jun 2020 05:32:21 +
> Subject: [PATCH] Fix CQE task queue timeout. CQE notifies the software that
Please separate subject from commit message
On 17/06/20 6:19 pm, Flavio Suligoi wrote:
> Fix typo: "trigered" --> "triggered"
>
> Signed-off-by: Flavio Suligoi
Acked-by: Adrian Hunter
> ---
> drivers/mmc/host/sdhci-msm.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff
nterrupts.
Try 'perf stat'
Fix by suppressing register sampling on the intel_pt evsel.
Signed-off-by: Adrian Hunter
Fixes: 9e64cefe4335b ("perf intel-pt: Process options for PEBS event synthesis")
---
tools/perf/arch/x86/util/intel-pt.c | 1 +
tools/perf/util/evsel.c
a ]
# ./perf script --itrace=eop -F+iregs
Samples for 'dummy:u' event do not have IREGS attribute set. Cannot print
'iregs' field.
Fix by using allow_user_set, which is true when recording AUX area data.
Signed-off-by: Adrian Hunter
Fixes: 9e64cefe4335b ("perf intel
The condition to add XMM registers was missing, the regs array needed to be
in the outer scope, and the size of the regs array was too small.
Signed-off-by: Adrian Hunter
Fixes: 143d34a6b387b ("perf intel-pt: Add XMM registers to synthesized PEBS
sample")
---
tools/perf/util/inte
Hi
Here are some more Intel PT fixes for v5.8.
Adrian Hunter (3):
perf intel-pt: Fix recording PEBS-via-PT with registers
perf intel-pt: Fix displaying PEBS-via-PT with registers
perf intel-pt: Fix PEBS sample for XMM registers
tools/perf/arch/x86/util/intel-pt.c | 1
es
2020-06-26 15:32:15.549716 Done
$ python3 ~/libexec/perf-core/scripts/python/exported-sql-viewer.py
perf.data.db
Select: Reports -> Context-Sensitive Call Graph
Press: Ctrl-F
Enter: unknown
Press: Enter
Before: gets stuck
After: tree is expanded to line showing 'unknown
es
2020-06-26 15:32:15.549716 Done
$ python3 ~/libexec/perf-core/scripts/python/exported-sql-viewer.py
perf.data.db
Select: Reports -> Call Tree
Press: Ctrl-F
Enter: unknown
Press: Enter
Before: displays 'unknown' not found
After: tree is expanded to line showing '
Hi
Here are some Intel PT related fixes for v5.8.
Adrian Hunter (6):
perf scripts python: export-to-postgresql.py: Fix struct.pack() int
argument
perf record: Fix duplicated sideband events with Intel PT system wide
tracing
perf scripts python: exported-sql-viewer.py: Fix
ime
After: displays Call Tree expanded to selected time
Signed-off-by: Adrian Hunter
Fixes: e69d5df75d74d ("perf scripts python: exported-sql-viewer.py: Add ability
for Call tree to open at a specified task and time")
Cc: sta...@vger.kernel.org
---
tools/perf/scripts/python/exported-
0-06-25 16:09:41.541894 Adding foreign keys
2020-06-25 16:09:41.677044 Dropping unused tables
2020-06-25 16:09:41.703761 Done
Signed-off-by: Adrian Hunter
Fixes: aba44287a224 ("perf scripts python: export-to-postgresql.py: Export
Intel PT power and ptwrite events")
Cc: sta...
11 [005] 6450.579704: PERF_RECORD_SWITCH_CPU_WIDE IN
prev pid/tid: 0/0
Signed-off-by: Adrian Hunter
---
tools/perf/builtin-record.c | 18 +-
tools/perf/util/evlist.c| 12
tools/perf/util/evlist.h| 1 +
tools/perf/util/evsel.c | 8 +
7; does not display
After: tree is expanded to line showing 'main'
Signed-off-by: Adrian Hunter
Fixes:; ebd70c7dc2f5f ("perf scripts python: exported-sql-viewer.py: Add
ability to find symbols in the call-graph")
Cc: sta...@vger.kernel.org
---
tools/perf/scripts/python/e
On 24/06/20 2:48 am, Gaurav Singh wrote:
> intel_pt_evsel cannot be NULL here since its already being
> dereferenced above. Remove this redundant check.
>
> Signed-off-by: Gaurav Singh
Acked-by: Adrian Hunter
> ---
> tools/perf/arch/x86/util/intel-pt.c | 24 +++-
On 24/06/20 3:42 pm, Jiri Olsa wrote:
> On Tue, Jun 23, 2020 at 07:48:50PM -0400, Gaurav Singh wrote:
>> intel_pt_evsel cannot be NULL here since its already being
>> dereferenced above. Remove this redundant check.
>>
>> Signed-off-by: Gaurav Singh
>> ---
>> tools/perf/arch/x86/util/intel-pt.c |
On 18/06/20 5:13 pm, Lars Povlsen wrote:
> This adds the eMMC driver for the Sparx5 SoC. It is based upon the
> designware IP, but requires some extra initialization and quirks.
>
> Signed-off-by: Lars Povlsen
Acked-by: Adrian Hunter
> ---
> drivers/mmc/host/Kconf
On 16/06/20 5:00 pm, Lars Povlsen wrote:
> This adds the eMMC driver for the Sparx5 SoC. It is based upon the
> designware IP, but requires some extra initialization and quirks.
>
> Signed-off-by: Lars Povlsen
> ---
> drivers/mmc/host/Kconfig | 13 ++
> drivers/mmc/host/Makefile
On 9/06/20 1:20 pm, Lars Povlsen wrote:
> This adds the eMMC driver for the Sparx5 SoC. It is based upon the
> designware IP, but requires some extra initialization and quirks.
> ---
> drivers/mmc/host/Kconfig | 13 ++
> drivers/mmc/host/Makefile | 1 +
> drivers/mmc/host/sdh
The following commit has been merged into the perf/core branch of tip:
Commit-ID: 548e1f6c76e1eb80ba29edd4286b9b9f2c37f5bf
Gitweb:
https://git.kernel.org/tip/548e1f6c76e1eb80ba29edd4286b9b9f2c37f5bf
Author:Adrian Hunter
AuthorDate:Tue, 12 May 2020 15:19:15 +03:00
The following commit has been merged into the perf/core branch of tip:
Commit-ID: e17d43b93e544f5016c0251d2074c15568d5d963
Gitweb:
https://git.kernel.org/tip/e17d43b93e544f5016c0251d2074c15568d5d963
Author:Adrian Hunter
AuthorDate:Tue, 12 May 2020 15:19:08 +03:00
The following commit has been merged into the perf/core branch of tip:
Commit-ID: d002b8bc6dbc20e9043e279196cff8795dba05fe
Gitweb:
https://git.kernel.org/tip/d002b8bc6dbc20e9043e279196cff8795dba05fe
Author:Adrian Hunter
AuthorDate:Thu, 28 May 2020 11:00:58 +03:00
The following commit has been merged into the perf/core branch of tip:
Commit-ID: dd9ddf466ad7a5d2e247925d81ebb0b878bf3b76
Gitweb:
https://git.kernel.org/tip/dd9ddf466ad7a5d2e247925d81ebb0b878bf3b76
Author:Adrian Hunter
AuthorDate:Tue, 12 May 2020 15:19:14 +03:00
The following commit has been merged into the perf/core branch of tip:
Commit-ID: fc0ea795f53c8d7040fa42471f74fe51d78d0834
Gitweb:
https://git.kernel.org/tip/fc0ea795f53c8d7040fa42471f74fe51d78d0834
Author:Adrian Hunter
AuthorDate:Tue, 12 May 2020 15:19:13 +03:00
The following commit has been merged into the perf/core branch of tip:
Commit-ID: 3e46bb40af8c12947c093efb8af56e0e921cd39b
Gitweb:
https://git.kernel.org/tip/3e46bb40af8c12947c093efb8af56e0e921cd39b
Author:Adrian Hunter
AuthorDate:Tue, 12 May 2020 15:19:12 +03:00
The following commit has been merged into the perf/core branch of tip:
Commit-ID: d769811ca93303deb1d8729d20cceaca7051a6f1
Gitweb:
https://git.kernel.org/tip/d769811ca93303deb1d8729d20cceaca7051a6f1
Author:Adrian Hunter
AuthorDate:Tue, 12 May 2020 15:19:09 +03:00
The following commit has been merged into the perf/core branch of tip:
Commit-ID: 69e49088692899d25dedfa22f00dfb9761e86ed7
Gitweb:
https://git.kernel.org/tip/69e49088692899d25dedfa22f00dfb9761e86ed7
Author:Adrian Hunter
AuthorDate:Tue, 12 May 2020 15:19:11 +03:00
ldo Carvalho de Melo ; Jiri Olsa
>>> ; Namhyung Kim ; Alexander
>>> Shishkin ; Peter Zijlstra
>>> ; Ingo Molnar ; Andi Kleen
>>> ; linux-kernel
>>> Subject: Re: [PATCH v6 01/13] tools/libperf: introduce notion of static
>>> polled
>>> f
On 3/06/20 3:52 pm, Alexey Budankov wrote:
>
> On 03.06.2020 15:05, Adrian Hunter wrote:
>> On 25/05/20 5:23 pm, Alexey Budankov wrote:
>>>
>>> Introduce --ctl-fd[-ack] options to pass open file descriptors numbers
>>> from command line. Extend perf-record.t
On 1/06/20 11:20 pm, Alexey Budankov wrote:
>
> Introduce --ctl-fd[-ack] options to pass open file descriptors numbers
> from command line. Extend perf-record.txt file with --ctl-fd[-ack]
perf-record.txt change seems to be missing.
> options description. Document possible usage model introduced
On 3/06/20 3:01 pm, Alexey Budankov wrote:
> Hi,
>
> On 03.06.2020 14:38, Adrian Hunter wrote:
>> On 1/06/20 11:05 pm, Alexey Budankov wrote:
>>>
>>> Implement adding of file descriptors by fdarray__add_stat() to
>>> fix-sized (currently 1) stat_entries a
On 25/05/20 5:23 pm, Alexey Budankov wrote:
>
> Introduce --ctl-fd[-ack] options to pass open file descriptors numbers
> from command line. Extend perf-record.txt file with --ctl-fd[-ack]
> options description. Document possible usage model introduced by
> --ctl-fd[-ack] options by providing examp
On 1/06/20 11:05 pm, Alexey Budankov wrote:
>
> Implement adding of file descriptors by fdarray__add_stat() to
> fix-sized (currently 1) stat_entries array located at struct fdarray.
> Append added file descriptors to the array used by poll() syscall
> during fdarray__poll() call. Copy poll() resu
On 2/06/20 12:12 pm, Alexey Budankov wrote:
>
> On 02.06.2020 11:32, Alexey Budankov wrote:
>>
>> On 02.06.2020 2:37, Andi Kleen wrote:
> or a pathname, or including also the event default of "disabled".
For my cases conversion of pathnames into open fds belongs to external
cont
On 2/06/20 12:20 pm, Piotr Stankiewicz wrote:
> Seeing as there is shorthand available to use when asking for any type
> of interrupt, or any type of message signalled interrupt, leverage it.
>
> Signed-off-by: Piotr Stankiewicz
> Reviewed-by: Andy Shevchenko
Acked-by
tools/perf/perf script --itrace=e >/dev/null
Warning:
961 instruction trace errors
After:
$ sudo tools/perf/perf script --itrace=e >/dev/null
$
Signed-off-by: Adrian Hunter
Fixes: fb5a88d4131a ("perf tools: Preserve eBPF maps when loading kcore")
Cc: sta...@vger.
On 1/06/20 7:05 pm, Alexey Budankov wrote:
>
> Introduce --ctl-fd[-ack] options to pass open file descriptors numbers
> from command line. Extend perf-record.txt file with --ctl-fd[-ack]
> options description. Document possible usage model introduced by
> --ctl-fd[-ack] options by providing exampl
#x27;: synthesize TLB events
> 'a': synthesize remote access events
>
> This four options will be used by ARM SPE as their first consumer.
>
> Signed-off-by: Tan Xiaojun
> Signed-off-by: James Clark
> Signed-off-by: Leo Yan
> Tested-by: James Clark
Acked-by: Adr
ntel_pt//k -- sleep 0.001
[ perf record: Woken up 1 times to write data ]
[ perf record: Captured and wrote 1.068 MB perf.data ]
$ sudo chmod go-r /proc/kcore
$ sudo setcap -r ~/bin/perf
Signed-off-by: Adrian Hunter
---
tools/perf/arch/x86/util/intel-pt.c | 3 ++-
1 file
up 1 times to write data ]
[ perf record: Captured and wrote 0.838 MB perf.data ]
$ perf script -D | grep PERF_RECORD_SWITCH | wc -l
0
$ sudo chmod go-r /proc/kcore
$ sudo setcap -r ~/bin/perf
Signed-off-by: Adrian Hunter
---
tools/perf/Documentation/perf-record.txt | 4 +++-
ges allocated for kprobes' purposes, even
though "__builtin__kprobes" is not a module.
Signed-off-by: Adrian Hunter
---
Changes in V8:
Move kprobe_cache_get_kallsym() under __ARCH_WANT_KPROBES_INSN_SLOT
include/linux/kprobes.h | 15
On 27/05/20 8:43 pm, Peter Zijlstra wrote:
> On Tue, May 12, 2020 at 03:19:10PM +0300, Adrian Hunter wrote:
>> @@ -2179,6 +2181,49 @@ int kprobe_add_area_blacklist(unsigned long start,
>> unsigned long end)
>> return 0;
>> }
>>
>> +int kprobe_cache_
On 27/05/20 8:20 pm, Peter Zijlstra wrote:
> On Wed, May 27, 2020 at 06:17:32PM +0200, Peter Zijlstra wrote:
>> On Tue, May 12, 2020 at 03:19:11PM +0300, Adrian Hunter wrote:
>>> @@ -202,6 +207,13 @@ static int collect_one_slot(struct kprobe_insn_page
>>> *kip, int i
) _dl_start
Signed-off-by: Adrian Hunter
Fixes: f288e8e1aa4f ("perf script: Enable IP fields for callchains")
---
tools/perf/builtin-script.c | 19 +++
1 file changed, 15 insertions(+), 4 deletions(-)
diff --git a/tools/perf/builtin-script.c b/tools/perf/builti
) _dl_start
uname 14003 [005] 15321.764963233:
(/usr/lib/x86_64-linux-gnu/ld-2.31.so ) _dl_start
Reported-by: Travis Downs
Signed-off-by: Adrian Hunter
Cc: sta...@vger.kernel.org
---
Changes in V2:
Added 'break' after 'ret = -1'
On 26/05/20 6:29 pm, Adrian Hunter wrote:
> Reportedly, from 19.10 Ubuntu has begun mixing up the location of some
> debug symbol files, putting files expected to be in
> /usr/lib/debug/usr/lib into /usr/lib/debug/lib instead. Fix by adding
> another dso_binary_type.
>
> Examp
) _dl_start
uname 14003 [005] 15321.764963233:
(/usr/lib/x86_64-linux-gnu/ld-2.31.so ) _dl_start
Reported-by: Travis Downs
Signed-off-by: Adrian Hunter
Cc: sta...@vger.kernel.org
---
tools/perf/util/dso.c | 14 ++
tools/perf/util/dso.h
Signed-off-by: Vijay Viswanath
> Signed-off-by: Veerabhadrarao Badiganti
Acked-by: Adrian Hunter
> ---
> drivers/mmc/host/sdhci.c | 32 +++-
> drivers/mmc/host/sdhci.h | 1 +
> 2 files changed, 20 insertions(+), 13 deletions(-)
>
> diff --git a/d
On 20/05/20 2:14 pm, Lars Povlsen wrote:
>
> Lars Povlsen writes:
>
>> Adrian Hunter writes:
>>
>>> On 13/05/20 4:31 pm, Lars Povlsen wrote:
>>>> This adds the eMMC driver for the Sparx5 SoC. It is based upon the
>>>> designware
On 19/05/20 5:08 pm, sartg...@codeaurora.org wrote:
> On 2020-05-18 18:20, Ulf Hansson wrote:
>> On Mon, 18 May 2020 at 13:45, Adrian Hunter wrote:
>>>
>>> On 18/05/20 12:39 pm, Ulf Hansson wrote:
>>> > On Wed, 6 May 2020 at 15:53, Sarthak Garg wrote:
supporting 3V3 and 1V8 pad controls.
>
> So, this patch avoids reading these properties from the device tree
> for SoCs not using pad controls and the warning of missing properties
> will not show up on these SoC platforms.
>
> Signed-off-by: Sowjanya Komatineni
Acked-by: Adr
On 15/05/20 2:18 pm, Veerabhadrarao Badiganti wrote:
> From: Vijay Viswanath
>
> If vendor platform drivers are controlling whole logic of voltage
> switching, then sdhci driver no need control vqmmc regulator.
> So skip enabling/disable vqmmc from SDHC driver.
>
> Signed-off-by: Vijay Viswanath
On 18/05/20 12:39 pm, Ulf Hansson wrote:
> On Wed, 6 May 2020 at 15:53, Sarthak Garg wrote:
>>
>> Introduce a new quirk for letting vendor drivers to use reserved
>> timeout value (0xF) in timeout control register.
>>
>> Signed-off-by: Sahitya Tummala
>> Signed-off-by: Sarthak Garg
>> ---
>> dr
On 12/05/20 3:19 pm, Adrian Hunter wrote:
> Hi
>
> Here are patches to add a text poke event to record changes to kernel text
> (i.e. self-modifying code) in order to support tracers like Intel PT
> decoding through jump labels, kprobes and ftrace trampolines.
>
> The fir
On 13/05/20 4:31 pm, Lars Povlsen wrote:
> This adds the eMMC driver for the Sparx5 SoC. It is based upon the
> designware IP, but requires some extra initialization and quirks.
>
> Reviewed-by: Alexandre Belloni
> Signed-off-by: Lars Povlsen
> ---
> drivers/mmc/host/Kconfig | 13 ++
On 15/05/20 7:41 pm, Arnaldo Carvalho de Melo wrote:
> Sorry for the top post: Adrian, can you take a look at this?
>
> Adrian Hunter was not CCed, Adrian?
From: Adrian Hunter
Date: Sat, 16 May 2020 15:12:28 +0300
Subject: [PATCH] perf intel-pt: Use allocated branch stack for PEBS s
g property from device tree file
> mmc: sdhci-msm: Introduce new ops to dump vendor specific registers
> mmc: sdhci-msm: dump vendor specific registers during error
>
> Veerabhadrarao Badiganti (1):
> mmc: host: sdhci-msm: Configure dll-user-control in dll init sequence
For pa
On 12/05/20 6:55 pm, Jiri Olsa wrote:
> On Tue, May 12, 2020 at 06:45:24PM +0300, Adrian Hunter wrote:
>> On 12/05/20 6:10 pm, Jiri Olsa wrote:
>>> On Tue, May 12, 2020 at 05:58:29PM +0300, Adrian Hunter wrote:
>>>> Forgot to cc mailing list
>>>>
>
On 12/05/20 6:10 pm, Jiri Olsa wrote:
> On Tue, May 12, 2020 at 05:58:29PM +0300, Adrian Hunter wrote:
>> Forgot to cc mailing list
>>
>> On 12/05/20 5:50 pm, Adrian Hunter wrote:
>>> Hi
>>>
>>> I am getting a seg fault from your perf/core branch, a
Forgot to cc mailing list
On 12/05/20 5:50 pm, Adrian Hunter wrote:
> Hi
>
> I am getting a seg fault from your perf/core branch, as follows:
>
> # perf record uname
> Linux
> [ perf record: Woken up 1 times to write data ]
> [ perf record: Captured and wrote 0.005
en ops->trampoline and
ops->flags & FTRACE_OPS_FL_ALLOC_TRAMP
Trampoline freed
Signed-off-by: Adrian Hunter
Acked-by: Peter Zijlstra (Intel)
---
kernel/trace/ftrace.c | 14 ++
1 file changed, 14 insertions(+)
diff --git a/kernel/trace/ftrace.c b/kernel/t
addr
0xac601803 old len 5 new len 5
7 313287818979 0x28174b0 [0x40]: PERF_RECORD_TEXT_POKE addr
0xabbea190 old len 5 new len 5
7 313287829357 0x28174f0 [0x40]: PERF_RECORD_TEXT_POKE addr
0xac6016f5 old len 5 new len 5
7 313287841246 0x2817530 [0x40]: PERF_RECOR
Symbols are needed for tools to describe instruction addresses. Pages
allocated for kprobe's purposes need symbols to be created for them.
Add such symbols to be visible via perf ksymbol events.
Signed-off-by: Adrian Hunter
Acked-by: Masami Hiramatsu
Acked-by: Peter Zijlstra (
active
6: INT3 -> old0 arch_disarm_kprobe()
7: probe.ainsn.insn -> NULL (if ainsn.boostable && !kp.post_handler)
arch_remove_kprobe()
Signed-off-by: Adrian Hunter
Acked-by: Masami Hiramatsu
Acked-by: Peter Zijlstra (Intel)
---
arch/x86/includ
It is generally more useful to show the symbol with an address. In this
case, the print function requires the 'machine' which means changing
callers to provide it as a parameter. It is optional because most events
do not need it and the callers that matter can provide it.
Signed-off-
the breakpoint (and hit the exception) or the new instruction.
So by guarding the TEXT_POKE event with an exception on either side;
we can now tell, without doubt, which instruction another CPU will
have observed.
Signed-off-by: Adrian Hunter
Acked-by: Peter Zijlstra (Intel)
---
include/linux
In the absence of any modules, no "modules" map is created, but there are
other executable pages to map, due to eBPF JIT, kprobe or ftrace. Map them
by recognizing that the first "module" symbol is not necessarily from a
module, and adjust the map accordingly.
Signed-o
_schedstats'
$ cat /proc/sys/kernel/sched_schedstats
0
$ sudo kill 1882
[ perf record: Woken up 1 times to write data ]
[ perf record: Captured and wrote 10.893 MB perf.data.after ]
$ perf script -i perf.data.after --itrace=e
$
Adrian Hunter (15):
perf: Add perf text poke event
p
ges allocated for kprobes' purposes, even
though "__builtin__kprobes" is not a module.
Signed-off-by: Adrian Hunter
Acked-by: Peter Zijlstra (Intel)
---
include/linux/kprobes.h | 15 ++
kernel/kallsyms.c | 37 +++
PERF_RECORD_KSYMBOL_TYPE_OOL marks an executable page. Create a map backed
only by memory, which will be populated as necessary by text poke events.
Signed-off-by: Adrian Hunter
---
tools/include/uapi/linux/perf_event.h | 5 +
tools/perf/util/dso.c | 3 +++
tools/perf/util
, even though
"__builtin__ftrace"
is not a module.
Signed-off-by: Adrian Hunter
Acked-by: Peter Zijlstra (Intel)
---
include/linux/ftrace.h | 12 ---
kernel/kallsyms.c | 5 +++
kernel/trace/ftrace.c | 77 --
3 files changed, 88 insertio
Consistent with other new events, add an option to perf script to display
text poke events and ksymbol events. Both text poke events and ksymbol
events are displayed because some text pokes (e.g. ftrace trampolines) have
corresponding ksymbol events.
Signed-off-by: Adrian Hunter
---
tools/perf
Events marked as 'immediate' are started before other events to ensure
that there is context at the start of the main tracing events. The same
is true at the end of tracing, so disable 'immediate' events after other
events.
Signed-off-by: Adrian Hunter
---
tools/per
Add support for perf text poke event for text_poke_bp_batch() callers. That
includes jump labels. See comments for more details.
Signed-off-by: Adrian Hunter
Acked-by: Peter Zijlstra (Intel)
---
arch/x86/kernel/alternative.c | 37 ++-
1 file changed, 36
Symbols are needed for tools to describe instruction addresses. Pages
allocated for ftrace's purposes need symbols to be created for them.
Add such symbols to be visible via perf ksymbol events.
Signed-off-by: Adrian Hunter
Acked-by: Peter Zijlstra (Intel)
---
include/uapi/linux/perf_ev
Add processing for PERF_RECORD_TEXT_POKE events. When a text poke event is
processed, then the kernel dso data cache is updated with the poked bytes.
Signed-off-by: Adrian Hunter
---
tools/include/uapi/linux/perf_event.h | 21 +-
tools/lib/perf/include/perf/event.h | 9
oller with HS400")
> Signed-off-by: Raul E Rangel
Acked-by: Adrian Hunter
> ---
>
> drivers/mmc/host/sdhci-acpi.c | 10 ++
> 1 file changed, 6 insertions(+), 4 deletions(-)
>
> diff --git a/drivers/mmc/host/sdhci-acpi.c b/drivers/mmc/host/sdhci-acpi.c
>
The following commit has been merged into the perf/core branch of tip:
Commit-ID: f0a0251cee800bf90cff92ecfaf4a4d4c9c493b2
Gitweb:
https://git.kernel.org/tip/f0a0251cee800bf90cff92ecfaf4a4d4c9c493b2
Author:Adrian Hunter
AuthorDate:Wed, 29 Apr 2020 18:07:49 +03:00
The following commit has been merged into the perf/core branch of tip:
Commit-ID: 3749e0bbdef24efbf1698bf0dbd9575fddb9ed22
Gitweb:
https://git.kernel.org/tip/3749e0bbdef24efbf1698bf0dbd9575fddb9ed22
Author:Adrian Hunter
AuthorDate:Wed, 29 Apr 2020 18:07:48 +03:00
The following commit has been merged into the perf/core branch of tip:
Commit-ID: 6cd2cbfc6865589c64ac37ec48937e93725622f1
Gitweb:
https://git.kernel.org/tip/6cd2cbfc6865589c64ac37ec48937e93725622f1
Author:Adrian Hunter
AuthorDate:Wed, 29 Apr 2020 18:07:47 +03:00
The following commit has been merged into the perf/core branch of tip:
Commit-ID: cf888e08a030b7430889d0c5c804508c09dad843
Gitweb:
https://git.kernel.org/tip/cf888e08a030b7430889d0c5c804508c09dad843
Author:Adrian Hunter
AuthorDate:Wed, 29 Apr 2020 18:07:45 +03:00
The following commit has been merged into the perf/core branch of tip:
Commit-ID: 43358d9dfb250842383cddad816a7538548a5070
Gitweb:
https://git.kernel.org/tip/43358d9dfb250842383cddad816a7538548a5070
Author:Adrian Hunter
AuthorDate:Wed, 29 Apr 2020 18:07:50 +03:00
The following commit has been merged into the perf/core branch of tip:
Commit-ID: 6dd912cbadb9f9746a525c74f09c0e36cee13ee2
Gitweb:
https://git.kernel.org/tip/6dd912cbadb9f9746a525c74f09c0e36cee13ee2
Author:Adrian Hunter
AuthorDate:Wed, 29 Apr 2020 18:07:51 +03:00
The following commit has been merged into the perf/core branch of tip:
Commit-ID: 86d67180b920d178ae1c2923f50a0759d6ce1a10
Gitweb:
https://git.kernel.org/tip/86d67180b920d178ae1c2923f50a0759d6ce1a10
Author:Adrian Hunter
AuthorDate:Wed, 29 Apr 2020 18:07:43 +03:00
The following commit has been merged into the perf/core branch of tip:
Commit-ID: ec90e42ce5142c4ed2a0061fe23bd4495428c52b
Gitweb:
https://git.kernel.org/tip/ec90e42ce5142c4ed2a0061fe23bd4495428c52b
Author:Adrian Hunter
AuthorDate:Wed, 29 Apr 2020 18:07:46 +03:00
The following commit has been merged into the perf/core branch of tip:
Commit-ID: 1ef998ff1823c8b5b3f7d103ec3971d7baaf677b
Gitweb:
https://git.kernel.org/tip/1ef998ff1823c8b5b3f7d103ec3971d7baaf677b
Author:Adrian Hunter
AuthorDate:Wed, 29 Apr 2020 18:07:44 +03:00
ch "mmc:
core: Fix recursive locking issue in CQE recovery path"
Signed-off-by: Adrian Hunter
Fixes: ad73d6feadbd7b ("mmc: complete requests from ->timeout")
Cc: sta...@vger.kernel.org
---
drivers/mmc/core/queue.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
dif
s already acquired leading
> to watchdog bark.
>
> Fix this issue with the lock only for the required critical section.
>
> Cc:
> Fixes: 1e8e55b67030 ("mmc: block: Add CQE support")
> Suggested-by: Sahitya Tummala
> Signed-off-by: Sarthak Garg
Acked-by: Adrian Hun
apply cleanly without patch "mmc:
core: Fix recursive locking issue in CQE recovery path"
Signed-off-by: Adrian Hunter
Fixes: ad73d6feadbd7b ("mmc: complete requests from ->timeout")
Cc: sta...@vger.kernel.org
---
This is the patch I alluded to when replying to "mmc:
On 6/05/20 5:34 pm, Veerabhadrarao Badiganti wrote:
> From: Sarthak Garg
>
> Consider the following stack trace
>
> -001|raw_spin_lock_irqsave
> -002|mmc_blk_cqe_complete_rq
> -003|__blk_mq_complete_request(inline)
> -003|blk_mq_complete_request(rq)
> -004|mmc_cqe_timed_out(inline)
> -004|mmc_mq
ang issues.
> So, get the request type before completing the request.
>
> Cc: # v4.19+
The fixed commit was in 4.16
> Signed-off-by: Veerabhadrarao Badiganti
Fixes: 1e8e55b67030 ("mmc: block: Add CQE support")
Acked-by: Adrian Hunter
Thank you for finding this!
> --
On 2/05/20 5:28 pm, Wolfram Sang wrote:
> The 'pengutronix' address is defunct for years. Use the proper contact
> address.
>
> Signed-off-by: Wolfram Sang
Acked-by: Adrian Hunter
> ---
> drivers/mmc/host/sdhci-esdhc.h | 2 +-
> include/linux/pl
Signed-off-by: Ben Chuang
Acked-by: Adrian Hunter
> ---
> drivers/mmc/host/sdhci-pci-gli.c | 5 +
> 1 file changed, 5 insertions(+)
>
> diff --git a/drivers/mmc/host/sdhci-pci-gli.c
> b/drivers/mmc/host/sdhci-pci-gli.c
> index ce15a05f23d4..8170b659f2af 100644
>
On 30/04/20 2:03 am, Andi Kleen wrote:
>> +One caveat with the G and L options is that they work poorly with "Large
>> PEBS".
>> +Large PEBS means PEBS records will be accumulated by hardware and the
>> written
>> +into the event buffer in one go. That reduces interrupts, but can give very
>> +l
Provide a little more information about the new G and L options,
particularly the issue with large PEBs.
Signed-off-by: Adrian Hunter
---
tools/perf/Documentation/itrace.txt| 4 +++
tools/perf/Documentation/perf-intel-pt.txt | 35 ++
2 files changed, 39 insertions
separately for each
thread.
The next 3 patches add support for synthesizing branch stacks for regular
events.
The final 2 patches update some documentation.
Adrian Hunter (9):
perf thread-stack: Add branch stack support
perf intel-pt: Consolidate thread-stack use condition
perf
301 - 400 of 2847 matches
Mail list logo