Test time ranges work as expected.
Signed-off-by: Adrian Hunter
---
tools/perf/tests/Build | 1 +
tools/perf/tests/builtin-test.c| 4 +
tools/perf/tests/tests.h | 1 +
tools/perf/tests/time-utils-test.c | 234 +
4 files changed, 240
Implement the lookahead callback to let the decoder access subsequent
buffers. intel_pt_lookahead() manages the buffer lifetime and calls the
decoder for each buffer until the decoder returns a non-zero value.
Signed-off-by: Adrian Hunter
---
tools/perf/util/intel-pt.c | 59
Simplify perf_time__parse_for_ranges() error paths slightly.
Signed-off-by: Adrian Hunter
---
tools/perf/util/time-utils.c | 12 +---
1 file changed, 5 insertions(+), 7 deletions(-)
diff --git a/tools/perf/util/time-utils.c b/tools/perf/util/time-utils.c
index 3e87c21c293c
When the decoder gets the next trace buffer, some state is reset if the
buffer is not consecutive to the previous buffer. Add a parameter
'reposition' so that can be done also to support a "fast forward" facility.
Signed-off-by: Adrian Hunter
---
.../util/intel-pt-decoder/intel-pt
Factor out set_percent_time() so it can be reused.
Signed-off-by: Adrian Hunter
---
tools/perf/util/time-utils.c | 39 +---
1 file changed, 18 insertions(+), 21 deletions(-)
diff --git a/tools/perf/util/time-utils.c b/tools/perf/util/time-utils.c
index
Factor out intel_pt_8b_tsc() so it can be reused.
Signed-off-by: Adrian Hunter
---
.../util/intel-pt-decoder/intel-pt-decoder.c | 26 ---
1 file changed, 17 insertions(+), 9 deletions(-)
diff --git a/tools/perf/util/intel-pt-decoder/intel-pt-decoder.c
b/tools/perf/util/intel
Instruction trace decoders can optimize output based on what time intervals
will be filtered, so pass that information in itrace_synth_ops.
Signed-off-by: Adrian Hunter
---
tools/perf/util/auxtrace.h | 34 ++
1 file changed, 34 insertions(+)
diff --git a/tools
Prevent percentage time range overlap. This is only a 1 nanosecond change
but makes the results more logical e.g. a sample cannot be in both the
first 10% and the second 20%.
Note, there is a later patch that adds a test for time-utils.
Signed-off-by: Adrian Hunter
---
tools/perf/util/time
Correct some punctuation and spelling and correct the format to show that
the time resolution is nanoseconds not microseconds.
Signed-off-by: Adrian Hunter
---
tools/perf/Documentation/perf-diff.txt | 6 +++---
tools/perf/Documentation/perf-report.txt | 6 +++---
tools/perf/Documentation/perf
n at a PSB,
"fast forward" stops at the last PSB that has a timestamp before the target
timestamp.
Signed-off-by: Adrian Hunter
---
.../util/intel-pt-decoder/intel-pt-decoder.c | 130 ++
.../util/intel-pt-decoder/intel-pt-decoder.h | 2 +
2 files changed, 132 inser
Factor out intel_pt_reposition() so it can be reused.
Signed-off-by: Adrian Hunter
---
tools/perf/util/intel-pt-decoder/intel-pt-decoder.c | 13 +
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/tools/perf/util/intel-pt-decoder/intel-pt-decoder.c
b/tools/perf/util
l time ranges needed to support the time intervals.
Adrian Hunter (19):
perf auxtrace: Add perf time interval to itrace_synth_ops
perf script: Set perf time interval in itrace_synth_ops
perf report: Set perf time interval in itrace_synth_ops
perf intel-pt: Add lookahead callback
On 31/05/19 7:45 PM, Arnaldo Carvalho de Melo wrote:
> Em Mon, May 20, 2019 at 11:45:16AM -0300, Arnaldo Carvalho de Melo escreveu:
>> Em Mon, May 20, 2019 at 02:37:07PM +0300, Adrian Hunter escreveu:
>>> Commit 4eb068157121 ("perf script: Make itrace script default
Adrian who maintains
> SDHCI drivers, to allow him to provide some input.
Looks OK.
Could address the output of: scripts/checkpatch.pl --strict
And the "readl(host->ioaddr + SDHCI_INT_STATUS) == 0x" thing only
makes sense for PCI.
Nevertheless:
Acked-by: Adrian Hunter
On 20/05/19 1:12 PM, Baolin Wang wrote:
> Set the PHY DLL delay for each timing mode, which is used to sample the clock
> accurately and make the clock more stable.
>
> Signed-off-by: Baolin Wang
One comment, nevertheless:
Acked-by: Adrian Hunter
> ---
> drivers/mmc/host/s
higher clock.
>
> Signed-off-by: Baolin Wang
Acked-by: Adrian Hunter
> ---
> drivers/mmc/host/sdhci-sprd.c | 44
> -
> 1 file changed, 43 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/mmc/host/sdhci-sprd.c b/drivers/m
On 20/05/19 1:11 PM, Baolin Wang wrote:
> Add HS400 enhanced strobe mode support for Spreadtrum SD host controller.
>
> Signed-off-by: Baolin Wang
Acked-by: Adrian Hunter
> ---
> drivers/mmc/host/sdhci-sprd.c | 32
> 1 file chan
On 20/05/19 1:11 PM, Baolin Wang wrote:
> Implement the get_max_timeout_count() interface to set the Spredtrum SD
> host controller actual maximum timeout count.
>
> Signed-off-by: Baolin Wang
Seems surprising that there isn't a custom ->set_timeout() as well.
Nevertheless:
A
On 20/05/19 1:11 PM, Baolin Wang wrote:
> For the Spreadtrum SC9860 platform, we should enable another gate clock
> '2x_enable' to make the SD host controller work well.
>
> Signed-off-by: Baolin Wang
Acked-by: Adrian Hunter
> ---
> drivers/mmc/host/s
On 20/05/19 1:11 PM, Baolin Wang wrote:
> Missed to check the enable clock's return value, fix it.
>
> Signed-off-by: Baolin Wang
Acked-by: Adrian Hunter
> ---
> drivers/mmc/host/sdhci-sprd.c |2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git
On 31/05/19 7:44 PM, Arnaldo Carvalho de Melo wrote:
> Em Mon, May 20, 2019 at 02:37:24PM +0300, Adrian Hunter escreveu:
>> Enhance the "All branches" and "Selected branches" reports to display IPC
>> information if it is available.
>
> So, testing this I
> Addresses-Coverity: ("Logically dead code")
> Signed-off-by: Colin Ian King
Acked-by: Adrian Hunter
> ---
> drivers/mmc/host/sdhci-pci-core.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/drivers/mmc/host/sdhci-pci-core.c
> b/drivers/mmc/host/sdh
Commit-ID: 14f1cfd4f7b4794e2f9d2ae214bcf049654b0b5c
Gitweb: https://git.kernel.org/tip/14f1cfd4f7b4794e2f9d2ae214bcf049654b0b5c
Author: Adrian Hunter
AuthorDate: Fri, 12 Apr 2019 14:38:30 +0300
Committer: Arnaldo Carvalho de Melo
CommitDate: Tue, 28 May 2019 18:37:45 -0300
perf intel
Commit-ID: c7b4f15ff79b539fed4c382e52e988548081bc9d
Gitweb: https://git.kernel.org/tip/c7b4f15ff79b539fed4c382e52e988548081bc9d
Author: Adrian Hunter
AuthorDate: Fri, 12 Apr 2019 14:38:29 +0300
Committer: Arnaldo Carvalho de Melo
CommitDate: Tue, 28 May 2019 18:37:45 -0300
perf intel
Commit-ID: 3cd3216dbb421244b96b992f193e778a3baa2220
Gitweb: https://git.kernel.org/tip/3cd3216dbb421244b96b992f193e778a3baa2220
Author: Adrian Hunter
AuthorDate: Fri, 12 Apr 2019 14:38:27 +0300
Committer: Arnaldo Carvalho de Melo
CommitDate: Tue, 28 May 2019 18:37:45 -0300
perf
Commit-ID: bfb3170e2481b76a4f8aae94176e45d681a37f3e
Gitweb: https://git.kernel.org/tip/bfb3170e2481b76a4f8aae94176e45d681a37f3e
Author: Adrian Hunter
AuthorDate: Fri, 12 Apr 2019 14:38:26 +0300
Committer: Arnaldo Carvalho de Melo
CommitDate: Tue, 28 May 2019 18:37:45 -0300
perf
Commit-ID: df8ea22a8fd9e4e8502f4fa917622801e1b4d09e
Gitweb: https://git.kernel.org/tip/df8ea22a8fd9e4e8502f4fa917622801e1b4d09e
Author: Adrian Hunter
AuthorDate: Fri, 12 Apr 2019 14:38:25 +0300
Committer: Arnaldo Carvalho de Melo
CommitDate: Tue, 28 May 2019 18:37:45 -0300
perf
Commit-ID: 1ed7f47fd3af3c09d2cd64d1aff1c5b96d238111
Gitweb: https://git.kernel.org/tip/1ed7f47fd3af3c09d2cd64d1aff1c5b96d238111
Author: Adrian Hunter
AuthorDate: Fri, 12 Apr 2019 14:38:24 +0300
Committer: Arnaldo Carvalho de Melo
CommitDate: Tue, 28 May 2019 18:37:45 -0300
perf
Commit-ID: c6aba1bf258ff1ce201f112dafe1bdde601573dd
Gitweb: https://git.kernel.org/tip/c6aba1bf258ff1ce201f112dafe1bdde601573dd
Author: Adrian Hunter
AuthorDate: Fri, 12 Apr 2019 14:38:23 +0300
Committer: Arnaldo Carvalho de Melo
CommitDate: Tue, 28 May 2019 18:37:45 -0300
perf
Commit-ID: a2d8a1585e35444789c1c8cf7e2e51fb15589880
Gitweb: https://git.kernel.org/tip/a2d8a1585e35444789c1c8cf7e2e51fb15589880
Author: Adrian Hunter
AuthorDate: Mon, 20 May 2019 14:37:09 +0300
Committer: Arnaldo Carvalho de Melo
CommitDate: Tue, 28 May 2019 18:37:42 -0300
perf intel
Commit-ID: 355200e0f6a9ce14771625014aa469f5ecbd8977
Gitweb: https://git.kernel.org/tip/355200e0f6a9ce14771625014aa469f5ecbd8977
Author: Adrian Hunter
AuthorDate: Mon, 20 May 2019 14:37:08 +0300
Committer: Arnaldo Carvalho de Melo
CommitDate: Tue, 28 May 2019 18:37:42 -0300
perf
Commit-ID: 26f19c2eb7e54015564ff133b91983a74e84541b
Gitweb: https://git.kernel.org/tip/26f19c2eb7e54015564ff133b91983a74e84541b
Author: Adrian Hunter
AuthorDate: Mon, 20 May 2019 14:37:07 +0300
Committer: Arnaldo Carvalho de Melo
CommitDate: Tue, 28 May 2019 18:37:42 -0300
perf intel
Commit-ID: a685c7a4a25c80f1f022b55830f2d894ee8847eb
Gitweb: https://git.kernel.org/tip/a685c7a4a25c80f1f022b55830f2d894ee8847eb
Author: Adrian Hunter
AuthorDate: Fri, 12 Apr 2019 14:38:28 +0300
Committer: Arnaldo Carvalho de Melo
CommitDate: Tue, 28 May 2019 18:37:42 -0300
perf
On 28/05/19 2:21 PM, Arend Van Spriel wrote:
>
>
> On 5/28/2019 12:04 PM, Adrian Hunter wrote:
>> On 26/05/19 9:42 PM, Arend Van Spriel wrote:
>>> On 5/18/2019 12:54 AM, Douglas Anderson wrote:
>>>> Normally when the MMC core sees an "-EILSEQ&
On 26/05/19 9:42 PM, Arend Van Spriel wrote:
> On 5/18/2019 12:54 AM, Douglas Anderson wrote:
>> Normally when the MMC core sees an "-EILSEQ" error returned by a host
>> controller then it will trigger a retuning of the card. This is
>> generally a good idea.
>
> Probably a question for Adrian,
On 27/05/19 12:37 PM, Brian Masney wrote:
> On Sun, May 26, 2019 at 03:58:19PM -0400, Brian Masney wrote:
>> I attached a patch that shows how I was able to determine what had
>> already claimed the host.
> On Mon, May 27, 2019 at 10:48:24AM +0300, Adrian Hunter wrote:
>&g
:
>>>> On Fri, May 24, 2019 at 03:17:13PM +0300, Adrian Hunter wrote:
>>>>> On 24/05/19 2:10 PM, Brian Masney wrote:
>>>>>> WiFi stopped working on the LG Nexus 5 phone and the issue was bisected
>>>>>> to the commit c07a48c26519 ("mmc
On 24/05/19 2:10 PM, Brian Masney wrote:
> WiFi stopped working on the LG Nexus 5 phone and the issue was bisected
> to the commit c07a48c26519 ("mmc: sdhci: Remove finish_tasklet") that
> moved from using a tasklet to a work queue. That patch also changed
> sdhci_irq() to return IRQ_WAKE_THREAD
the decoder is walking is
reached. In addition, the cycle count is not accurate for any but the first
branch of a TNT packet.
Signed-off-by: Adrian Hunter
---
.../perf/util/intel-pt-decoder/intel-pt-decoder.c | 14 +-
.../perf/util/intel-pt-decoder/intel-pt-decoder.h | 1 +
2 files
$ perf script --itrace=cepwx > cmp2.txt
$ diff -sq cmp1.txt cmp2.txt
Files cmp1.txt and cmp2.txt differ
After:
$ perf script --itrace > cmp1.txt
$ perf script --itrace=cepwx > cmp2.txt
$ diff -sq cmp1.txt cmp2.txt
Files cmp1.txt and cmp2.txt are identical
Signed-off-by: Adrian Hunte
To eliminate some duplication and make the code more understandable, factor
out intel_pt_update_sample_time.
Signed-off-by: Adrian Hunter
---
.../util/intel-pt-decoder/intel-pt-decoder.c | 18 ++
1 file changed, 10 insertions(+), 8 deletions(-)
diff --git a/tools/perf/util
Add brief documentation about instructions-per-cycle (IPC) information
derived from Intel PT.
Signed-off-by: Adrian Hunter
---
tools/perf/Documentation/intel-pt.txt | 30 +++
1 file changed, 30 insertions(+)
diff --git a/tools/perf/Documentation/intel-pt.txt
b/tools
Add brief documentation to explain how the database export maintains
backward and forward compatibility.
Signed-off-by: Adrian Hunter
---
tools/perf/Documentation/db-export.txt | 41 ++
1 file changed, 41 insertions(+)
create mode 100644 tools/perf/Documentation/db
Cycle and instruction counts are added to the stack. The IPC of a function
and all functions it calls, is also recorded.
Signed-off-by: Adrian Hunter
---
tools/perf/util/thread-stack.c | 14 ++
tools/perf/util/thread-stack.h | 4
2 files changed, 18 insertions(+)
diff --git
In preparation for using MTC packets to count cycles, record whether
decoding is between a PSB and PSBEND packets.
Signed-off-by: Adrian Hunter
---
.../util/intel-pt-decoder/intel-pt-decoder.c | 41 ++-
1 file changed, 31 insertions(+), 10 deletions(-)
diff --git a/tools/perf
Enhance the call graph to display IPC information if it is available.
Signed-off-by: Adrian Hunter
---
.../scripts/python/exported-sql-viewer.py | 69 +++
1 file changed, 56 insertions(+), 13 deletions(-)
diff --git a/tools/perf/scripts/python/exported-sql-viewer.py
b
.
Signed-off-by: Adrian Hunter
---
tools/perf/scripts/python/exported-sql-viewer.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/perf/scripts/python/exported-sql-viewer.py
b/tools/perf/scripts/python/exported-sql-viewer.py
index 94489cf2ce0e..6e7934f2ac9a 100755
--- a/tools/perf/scripts
Enhance the call tree to display IPC information if it is available.
Signed-off-by: Adrian Hunter
---
.../scripts/python/exported-sql-viewer.py | 69 +++
1 file changed, 56 insertions(+), 13 deletions(-)
diff --git a/tools/perf/scripts/python/exported-sql-viewer.py
b/tools
Export cycle and instruction counts on samples and calls tables.
Signed-off-by: Adrian Hunter
---
tools/perf/scripts/python/export-to-sqlite.py | 36 ---
1 file changed, 24 insertions(+), 12 deletions(-)
diff --git a/tools/perf/scripts/python/export-to-sqlite.py
b/tools/perf
To make it easier to add new code for different TIP cases, separate each
case.
Signed-off-by: Adrian Hunter
---
.../util/intel-pt-decoder/intel-pt-decoder.c | 23 ++-
1 file changed, 17 insertions(+), 6 deletions(-)
diff --git a/tools/perf/util/intel-pt-decoder/intel-pt
Enhance the "All branches" and "Selected branches" reports to display IPC
information if it is available.
Signed-off-by: Adrian Hunter
---
.../scripts/python/exported-sql-viewer.py | 102 ++
1 file changed, 83 insertions(+), 19 deletions(-)
diff --git
Fix intel-pt documentation to reflect the change of itrace defaults for
perf script.
Signed-off-by: Adrian Hunter
Fixes: 4eb068157121 ("perf script: Make itrace script default to all calls")
Cc: sta...@vger.kernel.org
---
tools/perf/Documentation/intel-pt.txt | 10 +-
1 file
Export cycle and instruction counts on samples and call-returns.
Signed-off-by: Adrian Hunter
---
tools/perf/util/scripting-engines/trace-event-python.c | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/tools/perf/util/scripting-engines/trace-event-python.c
b/tools
been "lost", typically due to mwait, which is indicated by a
TSC/TMA packet that is not part of PSB+.
Signed-off-by: Adrian Hunter
---
.../util/intel-pt-decoder/intel-pt-decoder.c | 51 +++
1 file changed, 51 insertions(+)
diff --git a/tools/perf/util/intel-pt-decode
Export cycle and instruction counts on samples and calls tables.
Signed-off-by: Adrian Hunter
---
.../scripts/python/export-to-postgresql.py| 36 ---
1 file changed, 24 insertions(+), 12 deletions(-)
diff --git a/tools/perf/scripts/python/export-to-postgresql.py
b/tools
Add a parameter to call graph and call tree, to determine whether IPC
information is available.
Signed-off-by: Adrian Hunter
---
.../scripts/python/exported-sql-viewer.py | 73 +++
1 file changed, 41 insertions(+), 32 deletions(-)
diff --git a/tools/perf/scripts/python
rf script > cmp1.txt
$ perf script --itrace=cepwx > cmp2.txt
$ diff -sq cmp1.txt cmp2.txt
Files cmp1.txt and cmp2.txt are identical
Signed-off-by: Adrian Hunter
Fixes: 90e457f7be08 ("perf tools: Add Intel PT support")
Cc: sta...@vger.kernel.org # v4.20+
---
tools/perf
cycles are due to the time to enter the kernel,
not the actual kernel page fault handler.
Signed-off-by: Adrian Hunter
---
tools/perf/Documentation/perf-script.txt | 5 -
tools/perf/builtin-script.c | 23 ++-
2 files changed, 26 insertions(+), 2 deletions
Add counts of instructions and cycles, in order to represent
instructions-per-cycle (IPC).
Signed-off-by: Adrian Hunter
---
tools/perf/util/event.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tools/perf/util/event.h b/tools/perf/util/event.h
index 9e999550f247..1f1da6082806 100644
of cycles since the last update, and thus represent the average IPC since
the last IPC value.
Signed-off-by: Adrian Hunter
---
tools/perf/util/intel-pt.c | 29 +
1 file changed, 29 insertions(+)
diff --git a/tools/perf/util/intel-pt.c b/tools/perf/util/intel-pt.c
index
en there are patches to export IPC
including un-related patch 14 "perf db-export: Add brief documentation" and
un-related patch 22 "perf scripts python: exported-sql-viewer.py: Select find
text when find bar is activated"
Adrian Hunter (22):
perf intel-pt: Fix itrace defaults
Commit-ID: 1b6599a9d8e6c9f7e9b0476012383b1777f7fc93
Gitweb: https://git.kernel.org/tip/1b6599a9d8e6c9f7e9b0476012383b1777f7fc93
Author: Adrian Hunter
AuthorDate: Fri, 10 May 2019 15:41:43 +0300
Committer: Arnaldo Carvalho de Melo
CommitDate: Thu, 16 May 2019 14:17:24 -0300
perf intel
Commit-ID: 61b6e08dc8e3ea80b7485c9b3f875ddd45c8466b
Gitweb: https://git.kernel.org/tip/61b6e08dc8e3ea80b7485c9b3f875ddd45c8466b
Author: Adrian Hunter
AuthorDate: Fri, 10 May 2019 15:41:42 +0300
Committer: Arnaldo Carvalho de Melo
CommitDate: Thu, 16 May 2019 14:17:23 -0300
perf intel
Commit-ID: 7ba8fa20e26eb3c0c04d747f7fd2223694eac4d5
Gitweb: https://git.kernel.org/tip/7ba8fa20e26eb3c0c04d747f7fd2223694eac4d5
Author: Adrian Hunter
AuthorDate: Fri, 10 May 2019 15:41:41 +0300
Committer: Arnaldo Carvalho de Melo
CommitDate: Thu, 16 May 2019 14:17:23 -0300
perf intel
Commit-ID: b62d18aba1109506c1926ab7b564c4ac3bd48786
Gitweb: https://git.kernel.org/tip/b62d18aba1109506c1926ab7b564c4ac3bd48786
Author: Adrian Hunter
AuthorDate: Fri, 3 May 2019 15:08:28 +0300
Committer: Arnaldo Carvalho de Melo
CommitDate: Wed, 15 May 2019 16:36:47 -0300
perf scripts
Commit-ID: 9bc4e4bfe6169343a8f019cd5d7843a558b78363
Gitweb: https://git.kernel.org/tip/9bc4e4bfe6169343a8f019cd5d7843a558b78363
Author: Adrian Hunter
AuthorDate: Fri, 3 May 2019 15:08:27 +0300
Committer: Arnaldo Carvalho de Melo
CommitDate: Wed, 15 May 2019 16:36:47 -0300
perf scripts
Commit-ID: 96c43b9a7ab3b70bc35d762f7b76082dfd118a6a
Gitweb: https://git.kernel.org/tip/96c43b9a7ab3b70bc35d762f7b76082dfd118a6a
Author: Adrian Hunter
AuthorDate: Fri, 3 May 2019 15:08:26 +0300
Committer: Arnaldo Carvalho de Melo
CommitDate: Wed, 15 May 2019 16:36:47 -0300
perf scripts
Commit-ID: 3ac641f4acd66c109b74f108f8a61f2905702b10
Gitweb: https://git.kernel.org/tip/3ac641f4acd66c109b74f108f8a61f2905702b10
Author: Adrian Hunter
AuthorDate: Fri, 3 May 2019 15:08:25 +0300
Committer: Arnaldo Carvalho de Melo
CommitDate: Wed, 15 May 2019 16:36:47 -0300
perf scripts
Commit-ID: 4b2084537e5f3b58337bce894391fb63bf3b0e28
Gitweb: https://git.kernel.org/tip/4b2084537e5f3b58337bce894391fb63bf3b0e28
Author: Adrian Hunter
AuthorDate: Fri, 3 May 2019 15:08:23 +0300
Committer: Arnaldo Carvalho de Melo
CommitDate: Wed, 15 May 2019 16:36:47 -0300
perf scripts
Commit-ID: be6e747136a4dc8aad99259e47fd6f7362a43996
Gitweb: https://git.kernel.org/tip/be6e747136a4dc8aad99259e47fd6f7362a43996
Author: Adrian Hunter
AuthorDate: Fri, 3 May 2019 15:08:24 +0300
Committer: Arnaldo Carvalho de Melo
CommitDate: Wed, 15 May 2019 16:36:47 -0300
perf scripts
On 12/05/19 8:04 PM, S-k, Shyam-sundar wrote:
> On 5/2/2019 12:02 PM, Adrian Hunter wrote:
>> Cc: some AMD people
>>
>> On 1/05/19 8:54 PM, Raul E Rangel wrote:
>>> AMD SDHC 0x7906 requires a hard reset to clear all internal state.
>>> Otherwise it can ge
then also.
Note that commit 3f04d98e972b5 ("perf intel-pt: Improve sample timestamp")
was also a stable fix and appears, for example, in v4.4 stable tree as
commit a4ebb58fd124 ("perf intel-pt: Improve sample timestamp").
Signed-off-by: Adrian Hunter
Fixes: 3f04d98e972b (&qu
Hi
Here are 3 non-urgent fixes for Intel PT.
Adrian Hunter (3):
perf intel-pt: Fix instructions sampling rate
perf intel-pt: Fix improved sample timestamp
perf intel-pt: Fix sample timestamp wrt non-taken branches
.../perf/util/intel-pt-decoder/intel-pt-decoder.c | 31
(/lib/x86_64-linux-gnu/ld-2.28.so)
ls 13812 [003] 2167315.222728: 16479 instructions:u: 7fac71e2477a
_dl_map_object_deps+0x1ba (/lib/x86_64-linux-gnu/ld-2.28.so)
...
Signed-off-by: Adrian Hunter
Fixes: f4aa081949e7b ("perf tools: Add Intel PT decoder")
Cc: sta...@vger.
stable fix and appears, for example, in v4.4 stable tree as
commit a4ebb58fd124 ("perf intel-pt: Improve sample timestamp").
Signed-off-by: Adrian Hunter
Fixes: 3f04d98e972b5 ("perf intel-pt: Improve sample timestamp")
Cc: sta...@vger.kernel.org # v4.4+
---
tools/perf/util/intel
On 10/05/19 6:42 AM, Faiz Abbas wrote:
> In the call to regmap_update_bits() for SLOTTYPE, the mask and value
> fields are exchanged. Fix this. This didn't have any affect on the
> driver because this was a NOP and it was taking the correct value from
> the bootloader.
>
> Cc: stable
Except
ing bug existed since the driver was first
introduced but there is no need for this driver to be supported in kernel
versions that old.
>
> Cc: sta...@vger.kernel.org # v4.12+
> Signed-off-by: Trac Hoang
> Signed-off-by: Scott Branden
Acked-by: Adrian Hunter
> ---
> drivers/m
On 7/05/19 7:27 PM, Faiz Abbas wrote:
> Hi Adrian,
>
> On 26/04/19 11:30 AM, Adrian Hunter wrote:
>> On 25/04/19 6:57 PM, Faiz Abbas wrote:
>>> In the call to regmap_update_bits() for SLOTTYPE, the mask and value
>>> fields are exchanged. Fix this.
>>
>&g
On 8/05/19 1:46 AM, Scott Branden wrote:
> Hi Adrian,
>
> On 2019-05-06 11:31 p.m., Adrian Hunter wrote:
>> On 6/05/19 8:01 PM, Scott Branden wrote:
>>> From: Trac Hoang
>>>
>>> The iproc host eMMC/SD controller hold time does not meet the
>>>
the falling clock edges rather than the
> rising clock edges.
>
> This change applies only to the Cygnus platform.
>
> Fixes: c833e92bbb60 ("mmc: sdhci-iproc: support standard byte register
> accesses")
> Signed-off-by: Trac Hoang
> Signed-off-by: Scott Bran
On 6/05/19 8:01 PM, Scott Branden wrote:
> From: Trac Hoang
>
> The iproc host eMMC/SD controller hold time does not meet the
> specification in the HS50 mode. This problem can be mitigated
> by disabling the HISPD bit; thus forcing the controller output
> data to be driven on the falling clock
On 4/05/19 2:35 AM, Douglas Anderson wrote:
> If I run the following on rk3288-veyron-minnie (a 2GB machine)
>
> cd /sys/bus/platform/drivers/dwmmc_rockchip
> for i in $(seq 1 3000); do
> echo "" $i
> echo ff0f.dwmmc > unbind
> sleep .5
> echo
As preparation for adding support for copying to clipboard, create view in
TreeWindowBase instead of derived classes.
Signed-off-by: Adrian Hunter
---
tools/perf/scripts/python/exported-sql-viewer.py | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/tools/perf/scripts
Add a context menu (right-click) that provides options for copying to
clipboard, including, for trees, the ability to copy only the cell under
the mouse pointer.
Signed-off-by: Adrian Hunter
---
.../scripts/python/exported-sql-viewer.py | 41 +++
1 file changed, 41
Add support for copying to clipboard. Two menu options are added to copy the
selected rows / columns with normal spacing, or as comma-separated-values.
In the case of trees, only entire rows can be copied.
Signed-off-by: Adrian Hunter
---
.../scripts/python/exported-sql-viewer.py | 217
As preparation for adding support for copying to clipboard, keep track of
what level each item is in tree items.
Signed-off-by: Adrian Hunter
---
tools/perf/scripts/python/exported-sql-viewer.py | 4
1 file changed, 4 insertions(+)
diff --git a/tools/perf/scripts/python/exported-sql
Hi
Here are a some minor improvememnts to exported-sql-viewer.py
The patches go on top of the pyside2 support patches, here:
https://lore.kernel.org/lkml/20190412113830.4126-1-adrian.hun...@intel.com
Adrian Hunter (6):
perf scripts python: exported-sql-viewer.py: Fix error when
With support for Python 2 or 3 and PySide 1 or 2 (Qt 4 or 5), it is useful
to see what versions are in use. Add an 'About' dialog box that displays
Python, PySide, Qt and database server (SQLite or PostgreSQL) version
numbers.
Signed-off-by: Adrian Hunter
---
.../scripts/python/exported-sql
bute 'view'
Signed-off-by: Adrian Hunter
---
tools/perf/scripts/python/exported-sql-viewer.py | 14 ++
1 file changed, 10 insertions(+), 4 deletions(-)
diff --git a/tools/perf/scripts/python/exported-sql-viewer.py
b/tools/perf/scripts/python/exported-sql-viewer.py
index c586abfb2b46..28
s: 81196976ed94 ("mmc: block: Add blk-mq support")
Acked-by: Adrian Hunter
> ---
> I found this using kmemleak and plugging and unplugging an SD card in a
> few times.
>
> Here is an example of the output of kmemleak:
> unreferenced object 0x888125be4ce8 (size
Cc: some AMD people
On 1/05/19 8:54 PM, Raul E Rangel wrote:
> AMD SDHC 0x7906 requires a hard reset to clear all internal state.
> Otherwise it can get into a bad state where the DATA lines are always
> read as zeros.
>
> This change requires firmware that can transition the device into
>
On 12/04/19 2:38 PM, Adrian Hunter wrote:
> Hi
>
> Here are patches to add support for pyside2 to the db-export scripts,
> and a couple of Intel PT patches.
>
>
> Adrian Hunter (8):
> perf scripts python: exported-sql-viewer.py: Change python2 to python
>
On 25/04/19 6:57 PM, Faiz Abbas wrote:
> In the call to regmap_update_bits() for SLOTTYPE, the mask and value
> fields are exchanged. Fix this.
Could you also comment on whether this has any known effect on the driver.
>
> Signed-off-by: Faiz Abbas
> ---
> drivers/mmc/host/sdhci_am654.c | 4
On 25/04/19 6:57 PM, Faiz Abbas wrote:
> Fix the following minor things:
>
> 1. Line wrapping with the regmap_*() functions is way more conservative
> than required by the 80 character rule. Expand the function calls out to
> use less number of lines.
>
> 2. Add an error message if the DLL fails
On 16/04/19 7:01 PM, Jiri Olsa wrote:
> Maps in kcore do not cover bpf maps, so we can't just
> remove everything. Keeping all kernel maps, which are
> not covered by kcore maps.
Memory for jited-bpf is allocated from the same area that is used for
modules. In the case of /proc/kcore, that
On 12/04/19 5:50 PM, Raul Rangel wrote:
> On Fri, Apr 12, 2019 at 09:26:44AM +0300, Adrian Hunter wrote:
>> On 12/04/19 1:08 AM, Raul E Rangel wrote:
>>> I was debugging a SDHC hardware bug and got tired of having to
>>> translate the register values by hand. Thi
On 17/04/19 9:51 AM, Jiri Olsa wrote:
> On Wed, Apr 17, 2019 at 09:35:32AM +0300, Adrian Hunter wrote:
>> On 16/04/19 7:01 PM, Jiri Olsa wrote:
>>> The eBPF program can be loaded multiple times
>>> with the same name (tag). We can share dso
>>> objects for
On 16/04/19 7:01 PM, Jiri Olsa wrote:
> The eBPF program can be loaded multiple times
> with the same name (tag). We can share dso
> objects for those programs.
Doesn't a eBPF program get recompiled differently every time it is loaded?
>
> Link:
Commit-ID: 6e4b1cac30d297718218dc268199ed20df074b98
Gitweb: https://git.kernel.org/tip/6e4b1cac30d297718218dc268199ed20df074b98
Author: Adrian Hunter
AuthorDate: Tue, 9 Apr 2019 09:25:57 +0300
Committer: Arnaldo Carvalho de Melo
CommitDate: Tue, 16 Apr 2019 11:27:05 -0300
perf scripts
On 16/04/19 10:27 AM, Peng Fan wrote:
> Hi Adrian,
>
>>
>> On 16/04/19 9:48 AM, Peng Fan wrote:
>>> On i.MX8MM, we are running Dual Linux OS, with 1st Linux using SD Card
>>> as rootfs storage, 2nd Linux using eMMC as rootfs storage. We let the
>>> the 1st linux configure power/clock for the 2nd
701 - 800 of 7504 matches
Mail list logo