On 10/08/19 10:21 AM, Leo Yan wrote:
> machine__get_kernel_start() gives out the kernel start address; some
> architectures need to tweak the start address so that can reflect the
> kernel start address correctly. This is not only for x86_64 arch, but
> it is also required by other architectures,
Commit-ID: 3de7ae0b2a1d86dbb23d0cb135150534fdb2e836
Gitweb: https://git.kernel.org/tip/3de7ae0b2a1d86dbb23d0cb135150534fdb2e836
Author: Adrian Hunter
AuthorDate: Thu, 8 Aug 2019 09:48:23 +0300
Committer: Arnaldo Carvalho de Melo
CommitDate: Thu, 8 Aug 2019 15:41:10 -0300
perf db
il,
> and the eMMC initialization will fail.
>
> Signed-off-by: Eugen Hristev
Acked-by: Adrian Hunter
> ---
> drivers/mmc/host/sdhci-of-at91.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/drivers/mmc/host/sdhci-of-at91.c
> b/drivers/mmc/host/sdhci-of-at91.c
> i
On 8/08/19 3:42 PM, Ludovic Desroches wrote:
> On Thu, Aug 08, 2019 at 10:35:43AM +0200, Eugen Hristev - M18282 wrote:
>> From: Eugen Hristev
>>
>> Add mmc capabilities for SDMMC0 for this board.
>> With this enabled, eMMC connected card is detected as:
>>
>> mmc0: new DDR MMC card at address
On 8/08/19 12:10 AM, Shirley Her (SC) wrote:
> Fix data read/write error in HS200 mode due to chip DLL lock phase shift
>
> Signed-off-by:Shirley Her
> ---
> change in V5:
> 1. split 2 patches into 3 patches
> 2. make dll_adjust_count start from 0
> 3. fix ret overwritten issue
> 4. use
On 8/08/19 12:09 AM, Shirley Her (SC) wrote:
> Fix data read/write error in HS200 mode due to chip DLL lock phase shift
Please change the patch subject and commit message to match what the patch
actually does.
>
> Signed-off-by:Shirley Her
> ---
> change in V5:
> 1. split 2 patches into 3
On 8/08/19 12:09 AM, Shirley Her (SC) wrote:
> Fix data read/write error in HS200 mode due to chip DLL lock phase shift
Please change the patch subject and commit message to match what the patch
actually does.
>
> Signed-off-by:Shirley Her
> ---
> change in V5:
> 1. split 2 patches into 3
11481163
27 kworker/2: 25 17988 17988
28 kworker/0: 26 13478 13478
Signed-off-by: Adrian Hunter
Fixes: 65de51f93ebf ("perf tools: Identify which comms are from exec")
Cc: sta...@vger.kernel.org
---
tools/perf/util/thread.c | 12 ++
On 26/07/19 5:07 AM, Michael K. Johnson wrote:
> Add support for the GL9750 and GL9755 chipsets.
>
> Signed-off-by: Ben Chuang
> Co-developed-by: Michael K Johnson
> Signed-off-by: Michael K Johnson
>
> diff --git a/drivers/mmc/host/sdhci-gli.h b/drivers/mmc/host/sdhci-gli.h
I suggest
On 26/07/19 5:07 AM, Michael K. Johnson wrote:
> The GL9750 and GL9755 chipsets, and possibly others, require PLL Enable
> setup as part of the internal clock setup as described in 3.2.1 Internal
> Clock Setup Sequence of SD Host Controller Simplified Specification
> Version 4.20. This changes
85 MB perf.data ]
>
> Signed-off-by: Alexander Shishkin
> Co-developed-by: Adrian Hunter
checkpatch says:
WARNING: Co-developed-by: must be immediately followed by Signed-off-by
> ---
> tools/perf/Documentation/perf-record.txt | 11 +---
> tools/perf/builtin-record.c
e it in
> mmc_blk_mq_rw_recovery, how to acquire it in execute_tuning.
>
> Looking forward to your reply!
>
> Thanks,
> Chevron
>
>
> -Original Message-
> From: Adrian Hunter [mailto:adrian.hun...@intel.com]
> Sent: 2019年7月29日 20:13
> To: Shirley Her (S
On 2/08/19 8:40 PM, Shirley Her (SC) wrote:
> Fix data read/write error in HS200 mode due to chip DLL lock phase shift
>
> Signed-off-by:Shirley Her
> ---
> change in V4:
> 1. add a bug fix for V3
>
> change in V3:
> 1. add more explanation in dll_recovery and execute_tuning function
> 2.
On 2/08/19 8:39 PM, Shirley Her (SC) wrote:
> Fix data read/write error in HS200 mode due to chip DLL lock phase shift
>
> Signed-off-by:Shirley Her
> ---
> change in V4:
> 1. add a bug fix in V3
>
> change in V3:
> 1. add more explanation in dll_recovery and execute_tuning function
> 2. move
On 5/08/19 7:49 PM, Raul Rangel wrote:
> On Fri, Aug 02, 2019 at 07:58:20AM +0300, Adrian Hunter wrote:
>>
>> You seem not to have answered to my suggestion for a change to
>> sdhci_reinit() here:
>>
>>
>> https://lore.kernel.org/lkml/fcdf6cc4-2729-a
ned-off-by: Ryan Chen
> Signed-off-by: Andrew Jeffery
One minor comment otherwise:
Acked-by: Adrian Hunter
>
> ---
> v3: No change
> v2:
> * Add AST2600 compatible
> * Drop SDHCI_QUIRK2_CLOCK_DIV_ZERO_BROKEN
> * Ensure slot number is valid
> * Fix bui
On 1/08/19 6:16 PM, Raul Rangel wrote:
> On Wed, Jun 19, 2019 at 08:56:25AM -0600, Raul Rangel wrote:
>> Your patch looks good. I tried it out and got over 57k insertion/removal
>> iterations. Do you want me to send out your patch, or do you want to do
>> it?
>>
>> Just to recap, the patch you
On 26/07/19 12:37 AM, Alan Cooper wrote:
> That's an even better solution and it gets my HS400 mode working.
> Will you add this change or should I?
You, if you wouldn't mind.
>
> Thanks
> Al
>
> On Thu, Jul 25, 2019 at 3:33 AM Adrian Hunter wrote:
>>
>> On 23
On 30/07/19 3:47 AM, Masami Hiramatsu wrote:
> On Mon, 29 Jul 2019 11:22:34 +0300
> Adrian Hunter wrote:
>
>> On 27/07/19 12:46 PM, Masami Hiramatsu wrote:
>>> On Fri, 26 Jul 2019 16:38:06 -0300
>>> Arnaldo Carvalho de Melo wrote:
>>>
>>>
On 29/07/19 10:32 PM, Ian Rogers wrote:
> On Mon, Jul 29, 2019 at 1:24 AM Adrian Hunter wrote:
>>
>> On 27/07/19 12:46 PM, Masami Hiramatsu wrote:
>>> On Fri, 26 Jul 2019 16:38:06 -0300
>>> Arnaldo Carvalho de Melo wrote:
>>>
>>>> Em Wed,
On 26/07/19 9:48 PM, Shirley Her (SC) wrote:
> Fix data read/write error in HS200 mode due to chip DLL lock phase shift
More explanation is needed. See comment below where
sdhci_o2_error_recovery() is called.
>
> Signed-off-by:Shirley Her
> ---
> change in V2:
> 1. Use usleep_range instead
On 27/07/19 12:46 PM, Masami Hiramatsu wrote:
> On Fri, 26 Jul 2019 16:38:06 -0300
> Arnaldo Carvalho de Melo wrote:
>
>> Em Wed, Jul 24, 2019 at 11:45:12AM -0700, Numfor Mbiziwo-Tiapo escreveu:
>>> The ubsan (undefined behavior sanitizer) version of perf throws an
>>> error on the 'x86
statement may fall through
> [-Wimplicit-fallthrough=]
>host->mmc->caps |= MMC_CAP_8_BIT_DATA;
> drivers/mmc/host/sdhci-s3c.c:614:2: note: here
> case 4:
> ^~~~
>
> Reported-by: Stephen Rothwell
> Signed-off-by: Gustavo A. R. Silva
Acked-by: Adrian Hunter
>
On 26/07/19 3:52 AM, Andrew Jeffery wrote:
> On Thu, 25 Jul 2019, at 22:49, Adrian Hunter wrote:
>> On 12/07/19 6:32 AM, Andrew Jeffery wrote:
>>> +static int aspeed_sdhci_probe(struct platform_device *pdev)
>>> +{
>>> + struct sdhci_pltfm_host *pltfm_ho
On 12/07/19 6:32 AM, Andrew Jeffery wrote:
> Add a minimal driver for ASPEED's SD controller, which exposes two
> SDHCIs.
>
> The ASPEED design implements a common register set for the SDHCIs, and
> moves some of the standard configuration elements out to this common
> area (e.g. 8-bit mode, and
On 23/07/19 3:34 PM, Alan Cooper wrote:
> On Tue, Jul 23, 2019 at 1:21 AM Adrian Hunter wrote:
>>
>> On 23/07/19 1:31 AM, Alan Cooper wrote:
>>> I'm having a problem with a new SD/MMC controller and PHY in our
>>> latest SoC's. The issue I'm seeing is that I
On 23/07/19 3:47 PM, Chuhong Yuan wrote:
> Instead of using to_pci_dev + pci_get_drvdata,
> use dev_get_drvdata to make code simpler.
>
> Signed-off-by: Chuhong Yuan
Acked-by: Adrian Hunter
> ---
> drivers/mmc/host/sdhci-pci-core.c | 12
> 1 file change
On 24/07/19 5:21 AM, Baolin Wang wrote:
> On Tue, 23 Jul 2019 at 20:39, Ulf Hansson wrote:
>>
>> On Tue, 23 Jul 2019 at 05:05, Baolin Wang wrote:
>>>
>>> Hi Ulf,
>>>
>>> On Mon, 22 Jul 2019 at 19:54, Ulf Hansson wrote:
On Wed, 17 Jul 2019 at 04:29, Baolin Wang wrote:
>
> In
On 23/07/19 1:31 AM, Alan Cooper wrote:
> I'm having a problem with a new SD/MMC controller and PHY in our
> latest SoC's. The issue I'm seeing is that I can't switch into HS400
> mode. This looks like something the driver is doing that doesn't meet
> the JEDEC spec. In the "HS400 timing mode
Commit-ID: 56789f3dc127d4f8c07ce2bb48629ba75e8ef16c
Gitweb: https://git.kernel.org/tip/56789f3dc127d4f8c07ce2bb48629ba75e8ef16c
Author: Adrian Hunter
AuthorDate: Wed, 10 Jul 2019 11:58:10 +0300
Committer: Arnaldo Carvalho de Melo
CommitDate: Wed, 10 Jul 2019 13:05:12 -0300
perf
Commit-ID: 37c1f991b1bcdbe268b99b22e265738f4209f4f4
Gitweb: https://git.kernel.org/tip/37c1f991b1bcdbe268b99b22e265738f4209f4f4
Author: Adrian Hunter
AuthorDate: Wed, 10 Jul 2019 11:58:09 +0300
Committer: Arnaldo Carvalho de Melo
CommitDate: Wed, 10 Jul 2019 12:37:35 -0300
perf
Commit-ID: abde8722d9b0a317935506d9824e26f1aef6c24a
Gitweb: https://git.kernel.org/tip/abde8722d9b0a317935506d9824e26f1aef6c24a
Author: Adrian Hunter
AuthorDate: Wed, 10 Jul 2019 11:58:08 +0300
Committer: Arnaldo Carvalho de Melo
CommitDate: Wed, 10 Jul 2019 12:35:38 -0300
perf db
Commit-ID: b3694e6c0a05383891546c6e3cdef8659d50b653
Gitweb: https://git.kernel.org/tip/b3694e6c0a05383891546c6e3cdef8659d50b653
Author: Adrian Hunter
AuthorDate: Wed, 10 Jul 2019 11:58:07 +0300
Committer: Arnaldo Carvalho de Melo
CommitDate: Wed, 10 Jul 2019 12:35:18 -0300
perf db
Commit-ID: 26c11206f433ea507a7541f48cb472b85870577e
Gitweb: https://git.kernel.org/tip/26c11206f433ea507a7541f48cb472b85870577e
Author: Adrian Hunter
AuthorDate: Wed, 10 Jul 2019 11:58:05 +0300
Committer: Arnaldo Carvalho de Melo
CommitDate: Wed, 10 Jul 2019 12:31:25 -0300
perf
Commit-ID: 5bf83c29a0ad2e78683c318b607539dbadbf7a3b
Gitweb: https://git.kernel.org/tip/5bf83c29a0ad2e78683c318b607539dbadbf7a3b
Author: Adrian Hunter
AuthorDate: Wed, 10 Jul 2019 11:58:06 +0300
Committer: Arnaldo Carvalho de Melo
CommitDate: Wed, 10 Jul 2019 12:34:09 -0300
perf script
Commit-ID: 266887291cac7f4020b5c83d2af9a13aece44a74
Gitweb: https://git.kernel.org/tip/266887291cac7f4020b5c83d2af9a13aece44a74
Author: Adrian Hunter
AuthorDate: Wed, 10 Jul 2019 11:58:04 +0300
Committer: Arnaldo Carvalho de Melo
CommitDate: Wed, 10 Jul 2019 12:31:01 -0300
perf
Commit-ID: d9efc1d25214da500d6592095b542b32c15459df
Gitweb: https://git.kernel.org/tip/d9efc1d25214da500d6592095b542b32c15459df
Author: Adrian Hunter
AuthorDate: Wed, 10 Jul 2019 11:58:03 +0300
Committer: Arnaldo Carvalho de Melo
CommitDate: Wed, 10 Jul 2019 12:25:05 -0300
perf
Commit-ID: ecc8c9984dae9812a10936cb9c74957b68075e07
Gitweb: https://git.kernel.org/tip/ecc8c9984dae9812a10936cb9c74957b68075e07
Author: Adrian Hunter
AuthorDate: Wed, 10 Jul 2019 11:58:02 +0300
Committer: Arnaldo Carvalho de Melo
CommitDate: Wed, 10 Jul 2019 12:23:55 -0300
perf
Commit-ID: 4650c7bed79582c74452d284e45d5b76987c0ef3
Gitweb: https://git.kernel.org/tip/4650c7bed79582c74452d284e45d5b76987c0ef3
Author: Adrian Hunter
AuthorDate: Wed, 10 Jul 2019 11:58:01 +0300
Committer: Arnaldo Carvalho de Melo
CommitDate: Wed, 10 Jul 2019 12:14:07 -0300
perf db
Commit-ID: 80859c947a1eb170927d03e713abf7550a3d8766
Gitweb: https://git.kernel.org/tip/80859c947a1eb170927d03e713abf7550a3d8766
Author: Adrian Hunter
AuthorDate: Wed, 10 Jul 2019 11:58:00 +0300
Committer: Arnaldo Carvalho de Melo
CommitDate: Wed, 10 Jul 2019 12:13:51 -0300
perf db
Commit-ID: 8534b5de81802a82b13fe05acc3e749e3baf980e
Gitweb: https://git.kernel.org/tip/8534b5de81802a82b13fe05acc3e749e3baf980e
Author: Adrian Hunter
AuthorDate: Wed, 10 Jul 2019 11:57:59 +0300
Committer: Arnaldo Carvalho de Melo
CommitDate: Wed, 10 Jul 2019 12:13:36 -0300
perf
Commit-ID: 41085f2bdd5882632e7dd88d1e5b59b7eac2a2a9
Gitweb: https://git.kernel.org/tip/41085f2bdd5882632e7dd88d1e5b59b7eac2a2a9
Author: Adrian Hunter
AuthorDate: Wed, 10 Jul 2019 11:57:58 +0300
Committer: Arnaldo Carvalho de Melo
CommitDate: Wed, 10 Jul 2019 12:13:26 -0300
perf
Commit-ID: 8ebf5cc0f6ce469d65ba2e8ce519dae34f0b3f50
Gitweb: https://git.kernel.org/tip/8ebf5cc0f6ce469d65ba2e8ce519dae34f0b3f50
Author: Adrian Hunter
AuthorDate: Wed, 10 Jul 2019 11:57:57 +0300
Committer: Arnaldo Carvalho de Melo
CommitDate: Wed, 10 Jul 2019 12:13:08 -0300
perf db
Commit-ID: a5defb2f3984e0f056e4113b54c461782796c7be
Gitweb: https://git.kernel.org/tip/a5defb2f3984e0f056e4113b54c461782796c7be
Author: Adrian Hunter
AuthorDate: Wed, 10 Jul 2019 11:57:56 +0300
Committer: Arnaldo Carvalho de Melo
CommitDate: Wed, 10 Jul 2019 12:12:56 -0300
perf db
Commit-ID: 1ed119589834e25c130fdaa911ca8b0e3fd1cddf
Gitweb: https://git.kernel.org/tip/1ed119589834e25c130fdaa911ca8b0e3fd1cddf
Author: Adrian Hunter
AuthorDate: Wed, 10 Jul 2019 11:57:55 +0300
Committer: Arnaldo Carvalho de Melo
CommitDate: Wed, 10 Jul 2019 12:12:45 -0300
perf db
Commit-ID: 6319790bcf825bcc4cd9bf01f01ae404a2fb7da8
Gitweb: https://git.kernel.org/tip/6319790bcf825bcc4cd9bf01f01ae404a2fb7da8
Author: Adrian Hunter
AuthorDate: Wed, 10 Jul 2019 11:57:54 +0300
Committer: Arnaldo Carvalho de Melo
CommitDate: Wed, 10 Jul 2019 12:12:25 -0300
perf db
Commit-ID: 19207d86940db9dad5f2e0a270a2490f7da451e3
Gitweb: https://git.kernel.org/tip/19207d86940db9dad5f2e0a270a2490f7da451e3
Author: Adrian Hunter
AuthorDate: Wed, 10 Jul 2019 11:57:53 +0300
Committer: Arnaldo Carvalho de Melo
CommitDate: Wed, 10 Jul 2019 12:12:05 -0300
perf db
Commit-ID: ed5c0a16feb9f1a4347f109d5e9607f6f38688a0
Gitweb: https://git.kernel.org/tip/ed5c0a16feb9f1a4347f109d5e9607f6f38688a0
Author: Adrian Hunter
AuthorDate: Wed, 10 Jul 2019 11:57:52 +0300
Committer: Arnaldo Carvalho de Melo
CommitDate: Wed, 10 Jul 2019 12:11:04 -0300
perf db
Commit-ID: 208032fef13b68cf1eefc945dafb82efc88c6b8f
Gitweb: https://git.kernel.org/tip/208032fef13b68cf1eefc945dafb82efc88c6b8f
Author: Adrian Hunter
AuthorDate: Wed, 10 Jul 2019 11:57:51 +0300
Committer: Arnaldo Carvalho de Melo
CommitDate: Wed, 10 Jul 2019 12:10:27 -0300
perf db
Commit-ID: fead24e52383c3f8eb25b5426d52b430b84a8194
Gitweb: https://git.kernel.org/tip/fead24e52383c3f8eb25b5426d52b430b84a8194
Author: Adrian Hunter
AuthorDate: Wed, 10 Jul 2019 11:57:50 +0300
Committer: Arnaldo Carvalho de Melo
CommitDate: Wed, 10 Jul 2019 12:07:40 -0300
perf db
uring
> runtime suspend, we should not do software reset for all. To fix this
> issue, adding a specific reset operation that adds one condition to validate
> the power mode to decide if we can do software reset for all or just reset
> command and data lines.
>
> Signed-off-b
On 16/07/19 11:39 AM, Baolin Wang wrote:
> In sdhci_runtime_resume_host() function, we will always do software reset
> for all, which will cause Spreadtrum host controller work abnormally after
> resuming.
>
> Thus for Spreadtrum platform that do not power down the SD/eMMC card during
> runtime
On 16/07/19 10:31 AM, Baolin Wang wrote:
> In sdhci_runtime_resume_host() function, we will always do software reset
> for all, which will cause Spreadtrum host controller work abnormally after
> resuming.
>
> Thus for Spreadtrum platform that do not power down the SD/eMMC card during
> runtime
On 15/07/19 2:37 PM, Baolin Wang wrote:
> Hi Adrian,
>
> On Mon, 15 Jul 2019 at 19:20, Adrian Hunter wrote:
>>
>> On 15/07/19 1:58 PM, Baolin Wang wrote:
>>> In sdhci_runtime_resume_host() function, we will always do software reset
>>> for all, but accordin
gt;
> Thus add the pm_runtime_put_noidle() in error path to make the PM runtime
> counter balance, which can make the SD host device's PM runtime work well.
>
> Signed-off-by: Baolin Wang
Acked-by: Adrian Hunter
> ---
> drivers/mmc/host/sdhci-sprd.c |1 +
> 1 file changed, 1 insertion(+
On 15/07/19 1:58 PM, Baolin Wang wrote:
> In sdhci_runtime_resume_host() function, we will always do software reset
> for all, but according to the specification, we should issue reset command
> and reinitialize the SD/eMMC card.
Where does it say that?
>
Commit-ID: 1334bb94cd8a21217cb0c186925f9bc9d47adafc
Gitweb: https://git.kernel.org/tip/1334bb94cd8a21217cb0c186925f9bc9d47adafc
Author: Adrian Hunter
AuthorDate: Mon, 8 Jul 2019 08:52:32 +0300
Committer: Arnaldo Carvalho de Melo
CommitDate: Tue, 9 Jul 2019 10:13:28 -0300
perf scripts
Commit-ID: d8d051df9f906232715282cc0570c94273b197bc
Gitweb: https://git.kernel.org/tip/d8d051df9f906232715282cc0570c94273b197bc
Author: Adrian Hunter
AuthorDate: Mon, 8 Jul 2019 08:52:31 +0300
Committer: Arnaldo Carvalho de Melo
CommitDate: Tue, 9 Jul 2019 10:13:27 -0300
perf scripts
> drivers/firmware/xilinx/zynqmp.c | 48 +++
> drivers/mmc/host/sdhci-of-arasan.c | 453
> -
> include/linux/firmware/xlnx-zynqmp.h | 15 +-
> 5 files changed, 540 insertions(+), 29 deletions(-)
>
For SDHCI:
Acked-by: Adrian Hunter
Rename db_export__comm() to db_export__exec_comm() to better reflect
what it does and add explanatory comments.
Signed-off-by: Adrian Hunter
---
tools/perf/util/db-export.c | 22 +++---
tools/perf/util/db-export.h | 4 ++--
2 files changed, 21 insertions(+), 5 deletions
erred().
Signed-off-by: Adrian Hunter
---
tools/perf/util/db-export.c | 61 +--
tools/perf/util/db-export.h | 2 -
.../scripting-engines/trace-event-python.c| 4 +-
3 files changed, 2 insertions(+), 65 deletions(-)
diff --git a/tools/perf/util
Fix a white space issue in db_export__sample()
Signed-off-by: Adrian Hunter
---
tools/perf/util/db-export.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/perf/util/db-export.c b/tools/perf/util/db-export.c
index 31986c8c4ad2..aad322a90863 100644
--- a/tools/perf/util
In preparation for exporting the current comm for a thread, factor out
db_export__comm().
Signed-off-by: Adrian Hunter
---
tools/perf/util/db-export.c | 30 +++---
tools/perf/util/db-export.h | 2 ++
2 files changed, 25 insertions(+), 7 deletions(-)
diff --git a/tools
Export main_thread in db_export__sample() because it makes the code
easier to understand, and prepares db_export__thread() for further
simplification.
Signed-off-by: Adrian Hunter
---
tools/perf/util/db-export.c | 30 ++
1 file changed, 18 insertions(+), 12 deletions
Move call to db_export__comm_thread() from db_export__thread() into
db_export__sample() because it makes the code easier to understand, and
add explanatory comments.
Signed-off-by: Adrian Hunter
---
tools/perf/util/db-export.c | 35 +--
tools/perf/util/db
is being traced it will have been created already.
- If it is not being traced, there will be no other information about
it, and it will never get deleted because there will be no EXIT event.
Signed-off-by: Adrian Hunter
---
tools/perf/util/db-export.c | 29 -
tools/perf
Add table columns for thread id, comm start time and exec flag.
Signed-off-by: Adrian Hunter
---
tools/perf/scripts/python/export-to-postgresql.py | 15 ++-
1 file changed, 10 insertions(+), 5 deletions(-)
diff --git a/tools/perf/scripts/python/export-to-postgresql.py
b/tools/perf
Export details of switch events including the threads and their current
comms.
Signed-off-by: Adrian Hunter
---
tools/perf/util/db-export.c | 89 +++
tools/perf/util/db-export.h | 8 ++
.../scripting-engines/trace-event-python.c| 41
Export comm before exporting the non-main thread because
db_export__thread() also exports the comm_thread.
Signed-off-by: Adrian Hunter
---
tools/perf/util/db-export.c | 13 ++---
1 file changed, 6 insertions(+), 7 deletions(-)
diff --git a/tools/perf/util/db-export.c b/tools/perf/util
Currently, the initial comm of the main thread is exported. Export also a
thread's current comm. That better supports the tracing of multi-threaded
applications that set different comms for different threads to make it
easier to distinguish them.
Signed-off-by: Adrian Hunter
---
tools/perf/util
Add scripting operation process_switch() to process switch events.
Signed-off-by: Adrian Hunter
---
tools/perf/builtin-script.c | 8 +++-
tools/perf/util/trace-event.h | 3 +++
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/tools/perf/builtin-script.c b/tools/perf/builtin
Add table columns for thread id, comm start time and exec flag.
Signed-off-by: Adrian Hunter
---
tools/perf/scripts/python/export-to-sqlite.py | 11 +++
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/tools/perf/scripts/python/export-to-sqlite.py
b/tools/perf/scripts
with calls.
Signed-off-by: Adrian Hunter
---
tools/perf/scripts/python/export-to-postgresql.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tools/perf/scripts/python/export-to-postgresql.py
b/tools/perf/scripts/python/export-to-postgresql.py
index 01f37877f5bb..13205e4e5b3b 100644
Export switch events to a new table 'context_switches' and create a view
'context_switches_view'. The table and view will show automatically in the
exported-sql-viewer.py script.
If the table ends up empty, then it and the view are dropped.
Signed-off-by: Adrian Hunter
---
.../scripts/python
Export switch events to a new table 'context_switches' and create a view
'context_switches_view'. The table and view will show automatically in the
exported-sql-viewer.py script.
If the table ends up empty, then it and the view are dropped.
Signed-off-by: Adrian Hunter
---
tools/perf/scripts
Remove redundant semi-colons added inadvertently.
Signed-off-by: Adrian Hunter
---
.../scripts/python/exported-sql-viewer.py | 24 +--
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/tools/perf/scripts/python/exported-sql-viewer.py
b/tools/perf/scripts
In preparation for exporting switch events, factor out
db_export__threads().
Signed-off-by: Adrian Hunter
---
tools/perf/util/db-export.c | 82 ++---
1 file changed, 48 insertions(+), 34 deletions(-)
diff --git a/tools/perf/util/db-export.c b/tools/perf/util/db
In preparation for exporting the current comm for a thread, export comm
thread id, start time and exec flag.
Signed-off-by: Adrian Hunter
---
tools/perf/util/db-export.c| 2 +-
tools/perf/util/db-export.h| 3 ++-
tools/perf/util/scripting
If the new 'has_calls' column is present, use it with the call graph and
call tree to select only comms that have calls.
Signed-off-by: Adrian Hunter
---
tools/perf/scripts/python/exported-sql-viewer.py | 10 --
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/tools/perf
with calls.
Signed-off-by: Adrian Hunter
---
tools/perf/scripts/python/export-to-sqlite.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tools/perf/scripts/python/export-to-sqlite.py
b/tools/perf/scripts/python/export-to-sqlite.py
index 97aa66dd2fe1..9156f6a1e5f0 100644
--- a/tools/perf
process_switch()
perf db-export: Factor out db_export__threads()
perf db-export: Export switch events
perf scripts python: export-to-sqlite.py: Export switch events
perf scripts python: export-to-postgresql.py: Export switch events
Adrian Hunter (21):
perf db-export: Get
n I have your
> acked-by?
Yes they are good. For both:
Acked-by: Adrian Hunter
>
> - Arnaldo
>
>> tools/perf/util/intel-pt.c:3200
>> intel_pt_process_auxtrace_info() error: we previously assumed
>> 'session->itrace_synth_opts' could be null (
PostgreSQL can error if power_events_view is not dropped before its
dependent tables e.g.
Exception: Query failed: ERROR: cannot drop table mwait because other
objects depend on it
DETAIL: view power_events_view depends on table mwait
Signed-off-by: Adrian Hunter
Fixes: aba44287a224
Drop power_events_view before its dependent tables.
SQLite does not seem to mind but the fix was needed for PostgreSQL
(export-to-postgresql.py script), so do the same fix for the SQLite. It is
more logical and keeps the 2 scripts following the same approach.
Signed-off-by: Adrian Hunter
Fixes
Hi
Here is a small fix to the export-to-postgresql.py script.
The export-to-sqlite.py script had the same issue but SQLite did not seem
to mind. However I made the fix anyway for good measure.
Adrian Hunter (2):
perf scripts python: export-to-postgresql.py: Fix DROP VIEW
Commit-ID: aba44287a224dfcfdd99ba885ca9d9acc4de0c17
Gitweb: https://git.kernel.org/tip/aba44287a224dfcfdd99ba885ca9d9acc4de0c17
Author: Adrian Hunter
AuthorDate: Sat, 22 Jun 2019 12:32:48 +0300
Committer: Arnaldo Carvalho de Melo
CommitDate: Tue, 25 Jun 2019 08:47:10 -0300
perf
Commit-ID: 5130c6e55531b9bbcdeb8b327711ff204bc4835f
Gitweb: https://git.kernel.org/tip/5130c6e55531b9bbcdeb8b327711ff204bc4835f
Author: Adrian Hunter
AuthorDate: Sat, 22 Jun 2019 12:32:47 +0300
Committer: Arnaldo Carvalho de Melo
CommitDate: Tue, 25 Jun 2019 08:47:10 -0300
perf
Commit-ID: b9322cab17a1092e2aa7ee2505ecceb0cd5fd685
Gitweb: https://git.kernel.org/tip/b9322cab17a1092e2aa7ee2505ecceb0cd5fd685
Author: Adrian Hunter
AuthorDate: Sat, 22 Jun 2019 12:32:46 +0300
Committer: Arnaldo Carvalho de Melo
CommitDate: Tue, 25 Jun 2019 08:47:10 -0300
perf db
Commit-ID: 5fe2cf7d19c48f2b53b57e6a5786972bc1b8d738
Gitweb: https://git.kernel.org/tip/5fe2cf7d19c48f2b53b57e6a5786972bc1b8d738
Author: Adrian Hunter
AuthorDate: Sat, 22 Jun 2019 12:32:45 +0300
Committer: Arnaldo Carvalho de Melo
CommitDate: Tue, 25 Jun 2019 08:47:10 -0300
perf intel
Commit-ID: 51b091861828f5801207a00211ea4e94102389c3
Gitweb: https://git.kernel.org/tip/51b091861828f5801207a00211ea4e94102389c3
Author: Adrian Hunter
AuthorDate: Sat, 22 Jun 2019 12:32:44 +0300
Committer: Arnaldo Carvalho de Melo
CommitDate: Tue, 25 Jun 2019 08:47:10 -0300
perf intel
Commit-ID: 91de8684f1cff6944634bfb9098dc3a2583f798c
Gitweb: https://git.kernel.org/tip/91de8684f1cff6944634bfb9098dc3a2583f798c
Author: Adrian Hunter
AuthorDate: Sat, 22 Jun 2019 12:32:43 +0300
Committer: Arnaldo Carvalho de Melo
CommitDate: Tue, 25 Jun 2019 08:47:10 -0300
perf intel
Commit-ID: abe5a1d3e4bee361bd3b21b8909c8421e46911d1
Gitweb: https://git.kernel.org/tip/abe5a1d3e4bee361bd3b21b8909c8421e46911d1
Author: Adrian Hunter
AuthorDate: Sat, 22 Jun 2019 12:32:42 +0300
Committer: Arnaldo Carvalho de Melo
CommitDate: Tue, 25 Jun 2019 08:47:10 -0300
perf intel
Commit-ID: eb5d854456f5a4ccec6f9681b7196cf056df8cfa
Gitweb: https://git.kernel.org/tip/eb5d854456f5a4ccec6f9681b7196cf056df8cfa
Author: Adrian Hunter
AuthorDate: Wed, 19 Jun 2019 09:44:29 +0300
Committer: Arnaldo Carvalho de Melo
CommitDate: Tue, 25 Jun 2019 08:47:10 -0300
perf thread
Commit-ID: 97860b483c5597663a174ff7405be957b4838391
Gitweb: https://git.kernel.org/tip/97860b483c5597663a174ff7405be957b4838391
Author: Adrian Hunter
AuthorDate: Wed, 19 Jun 2019 09:44:28 +0300
Committer: Arnaldo Carvalho de Melo
CommitDate: Tue, 25 Jun 2019 08:47:10 -0300
perf thread
On 3/07/19 4:35 AM, Leo Yan wrote:
> Hi Adrian,
>
> On Tue, Jul 02, 2019 at 02:07:40PM +0300, Adrian Hunter wrote:
>> On 2/07/19 1:34 PM, Leo Yan wrote:
>>> Based on the following report from Smatch, fix the potential
>>> NULL pointer dereference check.
>>
On 2/07/19 1:34 PM, Leo Yan wrote:
> Based on the following report from Smatch, fix the potential
> NULL pointer dereference check.
It never is NULL. Remove the NULL test if you want:
- if (session->itrace_synth_opts && session->itrace_synth_opts->set) {
+ if
sequence")
> Cc: sta...@vger.kernel.org
> Signed-off-by: Jorge Ramirez-Ortiz
> Reviewed-by: Bjorn Andersson
Acked-by: Adrian Hunter
> ---
> drivers/mmc/host/sdhci-msm.c | 9 ++---
> 1 file changed, 6 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/mmc/host/sdhci-msm.c b/
d Spreadtrum specific voltage switch ops to change
> voltage instead of using standard SD host registers.
>
> Signed-off-by: Baolin Wang
Acked-by: Adrian Hunter
> ---
> drivers/mmc/host/sdhci-sprd.c | 24
> 1 file changed, 24 insertions(+)
>
>
aolin Wang
Acked-by: Adrian Hunter
> ---
> drivers/mmc/host/sdhci-sprd.c | 54
> +
> 1 file changed, 54 insertions(+)
>
> diff --git a/drivers/mmc/host/sdhci-sprd.c b/drivers/mmc/host/sdhci-sprd.c
> index 8b23c88..6ee340a 10064
that changes.
Signed-off-by: Adrian Hunter
---
tools/perf/util/intel-pt.c | 65 --
1 file changed, 41 insertions(+), 24 deletions(-)
diff --git a/tools/perf/util/intel-pt.c b/tools/perf/util/intel-pt.c
index 550db6e77968..470aaae9d930 100644
--- a/tools/perf
501 - 600 of 7504 matches
Mail list logo