Signed-off-by: Lee Jones
---
arch/arm/configs/multi_v7_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/configs/multi_v7_defconfig
b/arch/arm/configs/multi_v7_defconfig
index 5348364..1878e8d 100644
--- a/arch/arm/configs/multi_v7_defconfig
+++ b/arch/arm/configs/multi_v7_d
This set provides device reset support for Orly2 and Cannes.
Lee Jones (5):
power: reset: Add restart functionality for STiH41x platforms
power: reset: st: Provide DT bindings for ST's Power Reset driver
ARM: sti: Add Restart support for the STiH417 (Cannes) board
ARM: sti: Add Restart su
This driver adds the restart functionality for STiH415 and STiH416
platforms from STMicroelectronics. This driver registers an
arm_pm_restart function to reset the platform.
Signed-off-by: Christophe Kerello
Signed-off-by: Lee Jones
---
drivers/power/reset/Kconfig | 6 ++
drivers/power
In ata_sas_port_alloc(), it haven't initialized scsi_host field in
ata_port, although scsi_host is in parameters list and unused in this
function.
With commit 1871ee134b73 ("libata: support the ata host which implements a
queue depth less than 32")
ata_qc_new() try to use scsi_host, while it
is a
On Thu, 2014-07-17 at 22:41 +0300, Ivan T. Ivanov wrote:
> From: "Ivan T. Ivanov"
>
> Available 'power-source' labels differ between chips.
> Use just VIN0-VIN14 in the input source names.
>
> PM8018, PM8038, PM8058, PM8917, PM8921 pin controller hardware
> support only one function 'gpio'. Curr
The can_queue in scsi_host can be more than ATA_MAX_QUEUE (32),
for example, in ipr, it can be 100 or more.
Also, some drivers, like ipr driver, haven't filled the field
scsi_host in ata_port, and will lead a call trace, so add
check for that.
Signed-off-by: Mike Qiu
---
drivers/ata/libata-core
On Tue, Jul 22, 2014 at 10:06:13AM +0200, Lothar Waßmann wrote:
> Hi,
>
> Felipe Balbi wrote:
> > Hi,,
> >
> > On Mon, Jul 21, 2014 at 10:03:07AM +0200, Lothar Waßmann wrote:
> > > Hi,
> > >
> > > > On Fri, Jul 18, 2014 at 11:31:29AM +0200, Lothar Waßmann wrote:
> > > > > This patch makes it pos
On Tue, Jul 22, 2014 at 09:49:30AM +0200, Lothar Waßmann wrote:
> Hi,
>
> Felipe Balbi wrote:
> > On Fri, Jul 18, 2014 at 11:31:30AM +0200, Lothar Waßmann wrote:
> > > There is no need to throw the baby out with the bath due to a bad
> > > failure analysis. The commit:
> > > 7adb5c876e9c usb: musb
op 22-07-14 16:39, Christian König schreef:
> Am 22.07.2014 16:27, schrieb Maarten Lankhorst:
>> op 22-07-14 16:24, Christian König schreef:
No, you really shouldn't be doing much in the check anyway, it's meant to
be a lightweight check. If you're not ready yet because of a lockup simpl
op 22-07-14 15:45, Christian König schreef:
> Am 22.07.2014 15:26, schrieb Daniel Vetter:
>> On Tue, Jul 22, 2014 at 02:19:57PM +0200, Christian König wrote:
>>> Am 22.07.2014 13:57, schrieb Daniel Vetter:
On Tue, Jul 22, 2014 at 01:46:07PM +0200, Daniel Vetter wrote:
> On Tue, Jul 22, 201
Am 22.07.2014 16:27, schrieb Maarten Lankhorst:
op 22-07-14 16:24, Christian König schreef:
No, you really shouldn't be doing much in the check anyway, it's meant to be a
lightweight check. If you're not ready yet because of a lockup simply return
not signaled yet.
It's not only the lockup ca
On Tue, Jul 22, 2014 at 01:02:00PM +0800, Lai Jiangshan wrote:
> worker_set_flags() doesn't necessarily wake next worker and the @wakeup
> can be removed, the caller can use the following conbination instead
> when needed:
>
> worker_set_flags();
> if (need_more_worker(pool))
>
On Tuesday 22 July 2014 06:41 PM, Boris BREZILLON wrote:
The HLCDC IP available in some Atmel SoCs (i.e. sam9x5i.e. at91sam9n12,
at91sam9x5 family or sama5d3 family) provide a PWM device.
The DT bindings used for this PWM device is following the default 3 cells
bindings described in Documentati
On Mon, 2014-07-21 at 12:06 -0700, Kees Cook wrote:
> This is a reduced version of the original patch. This adds only the LSM
> hook to the existing firmware loading logic so that the LSM can reason
> about the origin and contents of a firmware coming from userspace.
>
> Thanks!
>
> -Kees
>
> v
> EAGAIN The requested entropy was not available, and the
> getentropy(2) would have blocked if GRND_BLOCK flag
> was set.
I think either "and the call to getentropy(2)" or "and getentropy(2)" here.
Greetings,
Eike
--
To unsubscribe from
On Sat, Jul 12, 2014 at 10:30 PM, abdoulaye berthe wrote:
> Signed-off-by: abdoulaye berthe
This patch applied to the pin control git tree.
Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More
On Tuesday 22 July 2014 06:41 PM, Boris BREZILLON wrote:
The HLCDC IP available on some Atmel SoCs (i.e. at91sam9n12, at91sam9x5
family or sama5d3 family) exposes 2 subdevices:
- a display controller (controlled by a DRM driver)
- a PWM chip
This patch adds documentation for atmel-hlcdc DT bind
On Sat, Jul 12, 2014 at 3:21 AM, Bjorn Andersson
wrote:
> Instead of relying on pinmux->disable(), make the gpio function an
> explicit function for all pins that supports it.
>
> Signed-off-by: Bjorn Andersson
Thanks, patch applied!
> This fixes the regression that was introduced by removing
get_irte() can race with free_irte() and dereference a NULL iommu
pointer.
Signed-off-by: Greg Edwards
Cc: sta...@vger.kernel.org
---
drivers/iommu/intel_irq_remapping.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/iommu/intel_irq_remapping.c
b/drivers/iommu/intel_irq_remap
On Tuesday 22 July 2014 06:33 PM, Arnd Bergmann wrote:
(...)
+static int exynos_read_s3c64xx_ts(struct iio_dev *indio_dev, int *x, int *y)
+{
+ struct exynos_adc *info = iio_priv(indio_dev);
+ unsigned long timeout;
+ int ret;
+
+ mutex_lock(&indio_dev->mlock);
+
At Tue, 22 Jul 2014 23:11:03 +0900,
Takashi Sakamoto wrote:
>
> In error handling case, special_clk_ctl_put() returns without unlock_mutex(),
> therefore the mutex is still locked. This commit moves mutex_lock() after
> the error handling case.
>
> This commit is my solution for this post.
>
> [
op 22-07-14 16:24, Christian König schreef:
>> No, you really shouldn't be doing much in the check anyway, it's meant to be
>> a lightweight check. If you're not ready yet because of a lockup simply
>> return not signaled yet.
> It's not only the lockup case from radeon I have in mind here. For u
On Tue, Jul 22, 2014 at 09:01:55AM -0500, Alex Elder wrote:
> This series eliminates the LOG_CONT entirely from the printk/log code.
> It builds on another series, posted earlier today:
> http://www.spinics.net/lists/kernel/msg1791665.html
> This series was originally longer, but in review I wa
Hi John,
Here follows some more patches for 3.17. These are mostly fixes to what
we've sent to you before for next merge window.
Please pull! Thanks.
Gustavo
---
The following changes since commit 4d042654afb342386cb5c33e29843b76d598ab61:
Bluetooth: cmtp: Remove unnecessary null test
No, you really shouldn't be doing much in the check anyway, it's meant to be a
lightweight check. If you're not ready yet because of a lockup simply return
not signaled yet.
It's not only the lockup case from radeon I have in mind here. For
userspace queues it might be necessary to call copy_fr
From: Wei Yongjun
In case of error, the function clk_get() returns ERR_PTR()
and never returns NULL. The NULL test in the return value
check should be replaced with IS_ERR().
Signed-off-by: Wei Yongjun
---
arch/arm/mach-mvebu/pmsu.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
di
Make of_device_id array const, because all OF functions handle it as const.
Signed-off-by: Kiran Padwal
---
drivers/ata/ahci_st.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/ata/ahci_st.c b/drivers/ata/ahci_st.c
index 2595598..29821b9 100644
--- a/drivers/ata/a
On Tue, Jul 22, 2014 at 09:09:12AM -0500, Bruno Wolff III wrote:
> On Tue, Jul 22, 2014 at 15:35:14 +0200,
> Peter Zijlstra wrote:
> >On Tue, Jul 22, 2014 at 03:26:03PM +0200, Peter Zijlstra wrote:
> >
> >Something like so.. anything obviously broken?
>
> Do you want me to test this change inste
On Tue, Jul 22, 2014 at 11:00:34AM -0300, Arnaldo Carvalho de Melo wrote:
> Em Tue, Jul 22, 2014 at 04:17:10PM +0300, Adrian Hunter escreveu:
> > Intel PT decoding walks the object code to reconstruct
> > the trace. A jump label change during tracing causes
> > decoding errors.
You'd better fix t
On Tue, Jul 22, 2014 at 15:35:14 +0200,
Peter Zijlstra wrote:
On Tue, Jul 22, 2014 at 03:26:03PM +0200, Peter Zijlstra wrote:
Something like so.. anything obviously broken?
Do you want me to test this change instead of, or combined with the other
patch you wanted tested earlier?
---
arc
In error handling case, special_clk_ctl_put() returns without unlock_mutex(),
therefore the mutex is still locked. This commit moves mutex_lock() after
the error handling case.
This commit is my solution for this post.
[PATCH -next] ALSA: bebob: Fix missing unlock on error in special_clk_ctl_put(
On Tue, Jul 22, 2014 at 10:40:03AM +0800, Gu Zheng wrote:
> Signed-off-by: Gu Zheng
Again, you're missing a commit message here. Please resubmit with a commit
message.
-ben
> ---
> fs/aio.c |7 +++
> 1 files changed, 3 insertions(+), 4 deletions(-)
>
> diff --git a/f
On Tue, Jul 22, 2014 at 10:40:02AM +0800, Gu Zheng wrote:
> Signed-off-by: Gu Zheng
You're missing a commit message here. The patch is otherwise fine.
-ben
> ---
> fs/aio.c |2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/fs/aio.c b/fs/aio.c
> in
On Tue, 22 Jul 2014, pramod gurav wrote:
> On Tue, Jul 22, 2014 at 5:45 PM, Lee Jones wrote:
> > On Tue, 22 Jul 2014, pramod gurav wrote:
> >> There are more such changes required in this file. If they could go
> >> with this, will be good.
> >
> > Checkpatch only found this one:
> Yes, there is
On Tue, Jul 22, 2014 at 7:36 PM, Lee Jones wrote:
> On Tue, 22 Jul 2014, pramod.gurav@gmail.com wrote:
> I can't accept any patch which hasn't been on the list. Please find a
> way to do so.
>
>> Please add these with your changes if ok.
>>
>> drivers/mfd/max8925-i2c.c |5 +
>> 1 fil
Hi Jens,
On 07/16/2014 09:53 AM, Jens Axboe wrote:
>
> Sure, we can try again, hopefully this will be the last of them.
>
I sent it, it must be applied on top of
"bio: modify __bio_add_page() to accept pages that don't start a new segment"
http://marc.info/?l=linux-kernel&m=140558697215009&w=2
Use the correct compatible string for the ADC of the at91sam9x5 family of SoCs.
Signed-off-by: Alexandre Belloni
---
arch/arm/boot/dts/at91sam9x5.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/at91sam9x5.dtsi
b/arch/arm/boot/dts/at91sam9x5.dtsi
index
On Tue, 22 Jul 2014, pramod.gurav@gmail.com wrote:
> From: Pramod Gurav
>
> Signed-off-by: Pramod Gurav
> ---
> Lee, This is what I was referring to when I said there are more such
> changes needed. Hope they are ok.
>
> Sending just to you as I could not send it on that mail chain.
I can
op 22-07-14 14:19, Christian König schreef:
> Am 22.07.2014 13:57, schrieb Daniel Vetter:
>> On Tue, Jul 22, 2014 at 01:46:07PM +0200, Daniel Vetter wrote:
>>> On Tue, Jul 22, 2014 at 10:43:13AM +0200, Christian König wrote:
Am 22.07.2014 06:05, schrieb Dave Airlie:
> On 9 July 2014 22:29,
Nicholas Krause writes:
> This removes two Page shift fixs me in this file and not checking
> if row is -1 in process_ce as it cannot be this value or be must
> exit this function by returning.
>
> Signed-off-by: Nicholas Krause
> ---
> drivers/edac/e7xxx_edac.c | 10 +-
> 1 file change
The LOG_CONT and LOG_NEWLINE flags are mutually exclusive, i.e.,
the presence of LOG_NEWLINE implies the absense of LOG_CONT, and
vice-versa. As a result, wherever LOG_CONT is used, we can
equivalently substitute !LOG_NEWLINE; and we can use LOG_NEWLINE
wherever !LOG_CONT is used.
Switch to using
Add some comments to explain how the log flags are used to control
how records get formatted. Also add and refine some comments in
vprintk_emit().
Now that we're done fixing up log record flags, simplify how they're
used in computing some local variable values in msg_print_text().
Use a local va
This series eliminates the LOG_CONT entirely from the printk/log code.
It builds on another series, posted earlier today:
http://www.spinics.net/lists/kernel/msg1791665.html
This series was originally longer, but in review I was reminded
that some of the simplifications I had done were not vali
Em Tue, Jul 22, 2014 at 04:17:10PM +0300, Adrian Hunter escreveu:
> Intel PT decoding walks the object code to reconstruct
> the trace. A jump label change during tracing causes
> decoding errors.
>
> The "Enable close-on-exec flag on perf file descriptor"
> patch caused there to be always a jump
>> With current 3.10.y, if kernel is booted with init=/bin/sh and then nfs mount
>> is attempted (without portmap or rpcbind running) using busybox mount,
>> following
>> OOPS happen:
>>
>> # mount -t nfs 10.30.130.21:/opt /mnt
>> svc: failed to register lockdv1 RPC service (errno 111).
>> lockd_u
Hi Alan,
> >
> > Most platform drivers have already been moved.
>
> Okay, I grant the point. Objections withdrawn. Fix up the spelling
> error and the other stuff in the Kconfig help text, and this will be
> acceptable.
Thanks, I intend to send a new version shortly.
regards,
Peter.
--
T
Hi Felipe,
Sorry for the delay in replying. I've been trying to get to the root cause
of this problem so I could reply which took longer than I had hoped.
The problem manifested itself as a hang on register read/write access if
dwc3-st
probed before the usb3 phy. Even though dwc3 core would bai
Gu Zheng writes:
> Signed-off-by: Gu Zheng
Reviewed-by: Jeff Moyer
> ---
> fs/aio.c |2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/fs/aio.c b/fs/aio.c
> index ad35876..1dc6158 100644
> --- a/fs/aio.c
> +++ b/fs/aio.c
> @@ -201,7 +201,7 @@ static struct dentry
Gu Zheng writes:
> Signed-off-by: Gu Zheng
Reviewed-by: Jeff Moyer
> ---
> fs/aio.c |7 +++
> 1 files changed, 3 insertions(+), 4 deletions(-)
>
> diff --git a/fs/aio.c b/fs/aio.c
> index 1dc6158..0cd0479 100644
> --- a/fs/aio.c
> +++ b/fs/aio.c
> @@ -1037,7 +1037,7 @@ void aio_compl
Gu Zheng writes:
> Remove the registration of ring file's private_data, we do not use
> it.
>
> Signed-off-by: Gu Zheng
Reviewed-by: Jeff Moyer
> ---
> fs/aio.c |1 -
> 1 files changed, 0 insertions(+), 1 deletions(-)
>
> diff --git a/fs/aio.c b/fs/aio.c
> index 955947e..ad35876 100644
>
Nicholas Mc Guire writes:
> kfree.cocci currently triggers on constructs like
> (resending with proper CC list and subject line)
>
> drivers/staging/rts5208/spi.c
> 596if (retval < 0) {
> 597kfree(buf);
> 598rtsx_clear_spi_error(chip);
> 599spi_set_err_code
Hi Przemo,
On Jul 19 2014 or thereabouts, Przemo Firszt wrote:
> Dnia 2014-07-10, czw o godzinie 14:44 -0400, Benjamin Tissoires pisze:
> > Hi guys,
> >
> > Continuing on the Wacom cleanup, here are 5 patches.
> >
> > The first two enhance the battery reporting for the Wireless receiver by
> > a
Gu Zheng writes:
> use an iovec array rather than the single one, so that we can avoid
> to alloc more iovecs buffer in small(< 8) PREADV/PWRITEV cases.
It would be helpful to know what motivated this change and how you
tested it.
Thanks,
Jeff
--
To unsubscribe from this list: send the line "un
On Tue, 22 Jul 2014, Joe Perches wrote:
> On Tue, 2014-07-22 at 12:11 +0100, Lee Jones wrote:
> > This is part of an effort to clean-up the MFD subsystem.
> >
> > WARNING: Missing a blank line after declarations
> > + u32 flags;
> > + void (*callback)(void *, u16[]);
>
> False positi
Adds get_mm_shswap() which compute the size of swaped out shmem. It
does so by pagewalking the mm and using the new shmem_locate() function
to get the physical location of shmem pages.
The result is displayed in the new VmShSw line of /proc//status.
Use mm_walk an shmem_locate() to account paged ou
The shmem subsytem is kind of a black box: the generic mm code can't
always know where a specific page physically is. This patch adds the
shmem_locate() function to find out the physical location of shmem
pages (resident, in swap or swapcache). If the optional argument count
isn't NULL and the page
Am 22.07.2014 15:26, schrieb Daniel Vetter:
On Tue, Jul 22, 2014 at 02:19:57PM +0200, Christian König wrote:
Am 22.07.2014 13:57, schrieb Daniel Vetter:
On Tue, Jul 22, 2014 at 01:46:07PM +0200, Daniel Vetter wrote:
On Tue, Jul 22, 2014 at 10:43:13AM +0200, Christian König wrote:
Am 22.07.201
Adds ShmOther, ShmOrphan, ShmSwapCache and ShmSwap lines to
/proc//smaps for shmem mappings.
ShmOther: amount of memory that is currently resident in memory, not
present in the page table of this process but present in the page
table of an other process.
ShmOrphan: amount of memory that is current
Add a simple helper to check if a vm area belongs to shmem.
Signed-off-by: Jerome Marchand
---
include/linux/mm.h | 6 ++
mm/shmem.c | 8
2 files changed, 14 insertions(+)
diff --git a/include/linux/mm.h b/include/linux/mm.h
index 34099fa..04a58d1 100644
--- a/include/linux
There are several shortcomings with the accounting of shared memory
(sysV shm, shared anonymous mapping, mapping to a tmpfs file). The
values in /proc//status and statm don't allow to distinguish
between shmem memory and a shared mapping to a regular file, even
though theirs implication on memory u
Currently looking at /proc//status or statm, there is no way to
distinguish shmem pages from pages mapped to a regular file (shmem
pages are mapped to /dev/zero), even though their implication in
actual memory use is quite different.
This patch adds MM_SHMEMPAGES counter to mm_rss_stat. It keeps tr
On Tue, 2014-07-22 at 12:11 +0100, Lee Jones wrote:
> This is part of an effort to clean-up the MFD subsystem.
>
> WARNING: Missing a blank line after declarations
> + u32 flags;
> + void (*callback)(void *, u16[]);
False positive from an old version of checkpatch.
The one in -next d
Add 'data.status' to record whether a dso has data
(i.e. an object file). This is used to avoid
repeatedly creating the file name and attempting
to open a file that is not present.
Signed-off-by: Adrian Hunter
---
tools/perf/util/dso.c | 23 +++
tools/perf/util/dso.h | 7 ++
A session can be made to skip portions of the input
file. Do not limit that size to 32-bits.
Signed-off-by: Adrian Hunter
---
tools/perf/util/session.c | 20 +---
1 file changed, 13 insertions(+), 7 deletions(-)
diff --git a/tools/perf/util/session.c b/tools/perf/util/session.c
Add a function to scan a sysfs file within the pmu device
directory.
This will be used to read capability values from the PMU
'caps' subdirectory.
Signed-off-by: Adrian Hunter
---
tools/perf/util/pmu.c | 37 +
tools/perf/util/pmu.h | 3 +++
2 files changed,
On 2014년 07월 03일 22:10, Andrzej Hajda wrote:
> This set of independent patches contains various improvement and fixes
> for exynos_drm ipp framework.
> The patchset is based on exynos-drm-next branch.
Applied.
Thanks,
Inki Dae
>
> Regards
> Andrzej
>
>
> Andrzej Hajda (12):
> drm/exynos/ipp
On Tue, Jul 22, 2014 at 03:26:03PM +0200, Peter Zijlstra wrote:
> On Tue, Jul 22, 2014 at 03:03:43PM +0200, Peter Zijlstra wrote:
> > Oh, of course we do SMP detection and setup after the cache setup...
> > lovely.
> >
> > /me goes bang head against wall
>
> hpa, could we move the legacy cpuid1/c
When using:
perf record -e branches:u -c1
perf script -f ip
lines are displayed like:
813b23d5 =>
Change so that the dangling '=>' does not appear.
Signed-off-by: Adrian Hunter
---
tools/perf/builtin-script.c | 6 +++---
1 file changed, 3 insertions(+), 3 dele
Zero is a valid fd. Error comparison should check
for negative fd.
Signed-off-by: Adrian Hunter
---
tools/perf/util/dso.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/perf/util/dso.c b/tools/perf/util/dso.c
index fc006fe..28cf747 100644
--- a/tools/perf/util/dso.c
+
Add a function to track whether a caller has seen
the data status of a dso. This is needed to
enable callers to report the error exactly once
only per dso.
Signed-off-by: Adrian Hunter
---
tools/perf/util/dso.c | 12
tools/perf/util/dso.h | 6 ++
2 files changed, 18 insertions
Add a function to change which event is used
to track mmap, comm and task events.
This is needed with Instruction Tracing
because the Instruction Tracing event
must come first but cannot be used for
tracking because it will be disabled
under some circumstances.
Signed-off-by: Adrian Hunter
---
On 07/22/2014 01:31 PM, Sebastian Andrzej Siewior wrote:
>> [jolsa@krava perf]$ LD_LIBRARY_PATH=/opt/libbabeltrace/lib
>> /opt/libbabeltrace/bin/babeltrace ./ctf-data/
>>
>> [04:41:11.445378840] (+?.?) sched:sched_switch: { }, { pid = 5782,
>> comm = "ls", prev_comm = [ [0] = "ls", [1] =
Signed-off-by: Matei Oprea
Cc: ROSEdu Kernel Community
---
init/main.c |3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/init/main.c b/init/main.c
index e8ae1fe..25cc270 100644
--- a/init/main.c
+++ b/init/main.c
@@ -160,7 +160,8 @@ static int __init set_reset_devices(char
Add a function to determine if an address is in
the kernel. This is based on the kernel function
kernel_ip().
Signed-off-by: Adrian Hunter
---
tools/perf/util/event.c | 6 +++---
tools/perf/util/machine.c | 23 +++
tools/perf/util/machine.h | 17 +
3 files
Add an option to cause a selected event
to be opened always without a pid when
configured by perf_evsel__config().
This is needed when using the sched_switch
tracepoint to follow object code execution.
sched_switch occurs before the task
switch and so it cannot record it in a
context limited to th
This allows default config terms to be provided
for a PMU. So, for example, when the Intel PT
PMU is added, it will be possible to specify:
intel_pt//
which will be the same as:
intel_pt/tsc=1,noretcomp=0/
meaning that the trace should contain
TSC timestamps and perform 'return
Change the order of the output to put the srcline last.
e.g. old format:
4028fc main+0x2c (/bin/ls)
/build/buildd/coreutils-8.20/src/ls.c:1269 => 40d8a0
set_program_name+0x0 (/bin/ls)
new format:
4028fc main+0x2c (/bin/ls) => 40d8a0 set_program_name+0x0
Add ability to mark all dsos as hit.
This is needed in the case of Instruction
Tracing. It takes so long to decode an
Instruction Trace that it is not worth
doing just to determine which dsos are
hit. A later patch takes this into use.
Signed-off-by: Adrian Hunter
---
tools/perf/util/header.c
Add an array to struct machine to store
the current tid running on each cpu.
Add machine functions to get / set
the tid for a cpu.
This will be used to determine the tid
when decoding a per-cpu Instruction Trace.
Signed-off-by: Adrian Hunter
---
tools/perf/util/machine.c | 46 ++
Tools may wish to track on which cpu a thread
is running. Add 'cpu' to struct thread for
that purpose.
This will be used to determine the cpu when
decoding a per-thread Instruction Trace.
Signed-off-by: Adrian Hunter
---
tools/perf/util/thread.c | 1 +
tools/perf/util/thread.h | 1 +
2 files c
This enables a PMU event to be specified in the form:
pmu//
which is effectively the same as:
pmu/config=0/
This patch is a precursor to defining
default config for a PMU.
Signed-off-by: Adrian Hunter
---
tools/perf/util/parse-events.c | 6 ++
tools/perf/util/parse-event
Add an index of the event identifiers.
This is needed to queue Instruction
Trace samples according to the mmap
buffer from which they were recorded.
Signed-off-by: Adrian Hunter
---
tools/perf/builtin-inject.c | 1 +
tools/perf/util/event.c | 1 +
tools/perf/util/event.h | 15 +
Move some functions and functionality related to the use of
'addr' out of builtin-script so they can be reused. The
moved functions are: is_bts_event() and sample_addr_correlates_sym()
and a new function perf_event__preprocess_sample_addr() is
created from bits of print_sample_addr().
perf_event__
Add a function to enable a specific event
within a specific perf event buffer.
Signed-off-by: Adrian Hunter
---
tools/perf/util/evlist.c | 47 +++
tools/perf/util/evlist.h | 2 ++
2 files changed, 49 insertions(+)
diff --git a/tools/perf/util/evlist.
Use the new db_export facility to export data in a
database-friendly way.
A Python script selects the db_export mode by setting
a global variable 'perf_db_export_mode' to True. The
script then optionally implements functions to receive
table rows. The functions are:
evsel_table
On Tue, Jul 22, 2014 at 02:19:57PM +0200, Christian König wrote:
> Am 22.07.2014 13:57, schrieb Daniel Vetter:
> >On Tue, Jul 22, 2014 at 01:46:07PM +0200, Daniel Vetter wrote:
> >>On Tue, Jul 22, 2014 at 10:43:13AM +0200, Christian König wrote:
> >>>Am 22.07.2014 06:05, schrieb Dave Airlie:
>
perf list only lists PMUs with events. Add a
flag to cause a PMU to be also listed separately.
Signed-off-by: Adrian Hunter
---
tools/perf/util/pmu.c | 13 +++--
tools/perf/util/pmu.h | 1 +
2 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/tools/perf/util/pmu.c b/tools/p
On Tue, Jul 22, 2014 at 03:03:43PM +0200, Peter Zijlstra wrote:
> Oh, of course we do SMP detection and setup after the cache setup...
> lovely.
>
> /me goes bang head against wall
hpa, could we move the legacy cpuid1/cpuid4 topology detection muck up,
preferably right after detect_extended_topol
Add a function to return the dso data size, for use
in estimating the size an instruction cache.
Signed-off-by: Adrian Hunter
---
tools/perf/util/dso.c | 22 ++
tools/perf/util/dso.h | 2 ++
2 files changed, 24 insertions(+)
diff --git a/tools/perf/util/dso.c b/tools/perf/u
Add branch_type and in_tx to Python db export and
the export-to-postgresql.py script.
Signed-off-by: Adrian Hunter
---
tools/perf/scripts/python/export-to-postgresql.py | 32 ++
.../util/scripting-engines/trace-event-python.c| 30 +++-
2 files changed, 55
Add a function to peek at other events in the
event stream.
Signed-off-by: Adrian Hunter
---
tools/perf/util/session.c | 55 +++
tools/perf/util/session.h | 5 +
2 files changed, 60 insertions(+)
diff --git a/tools/perf/util/session.c b/tools/per
Add a function to deliver synthesized events from
within a session.
Signed-off-by: Adrian Hunter
---
tools/perf/util/session.c | 14 ++
tools/perf/util/session.h | 5 +
2 files changed, 19 insertions(+)
diff --git a/tools/perf/util/session.c b/tools/perf/util/session.c
index 70
Move the rdtsc() function so it can
be reusued.
Signed-off-by: Adrian Hunter
---
tools/perf/arch/x86/util/tsc.c | 9 +
tools/perf/tests/perf-time-to-tsc.c | 9 -
tools/perf/util/tsc.c | 5 +
tools/perf/util/tsc.h | 1 +
4 files changed, 15 ins
Add the ability to export branch types through the
database export facility.
Signed-off-by: Adrian Hunter
---
tools/perf/util/db-export.c | 48 +
tools/perf/util/db-export.h | 6 ++
2 files changed, 54 insertions(+)
diff --git a/tools/perf/util/d
Let perf inject take --kallsyms parameter the same as
perf script and perf report do. That is needed for
decoding Instruction Trace data using a copy of
/proc/kcore for the kernel object because the kallsyms
path is used to locate that copy.
Signed-off-by: Adrian Hunter
---
tools/perf/Documenta
The Python script API repeatedly uses the same
lines of code to get and call objects. Make that
into helper functions instead. A side-effect is
that some reference counting bugs disappear because
the new call_object() function always decrements
the reference count of 'retval'.
Signed-off-by: Adr
Add a thread stack for synthesizing call chains from call
and return events.
Signed-off-by: Adrian Hunter
---
tools/perf/Makefile.perf | 2 +
tools/perf/util/event.h| 26 +++
tools/perf/util/thread-stack.c | 151 +
tools/perf/util/thre
В Вт, 22/07/2014 в 08:25 -0400, Steven Rostedt пишет:
> On Tue, 22 Jul 2014 13:45:42 +0200
> Peter Zijlstra wrote:
>
>
> > > @@ -1491,10 +1491,14 @@ static void ttwu_activate(struct rq *rq, struct
> > > task_struct *p, int en_flags)
> > > static void
> > > ttwu_do_wakeup(struct rq *rq, struc
Decoding an Intel PT trace of the kernel requires
an accurate kernel object image. This is provided
by making a copy of kcore. However the copy needs
to be made under the same conditions as the original
recording, and then it needs to be associated with
the perf.data file. The perf-with-kcore scr
Tracing for a workload begins before the comm event
is seen, which results in the initial comm having a
string of the form ":" (e.g. ":12345"). In order
to export the correct string, defer the export until
the new script 'flush' callback.
Signed-off-by: Adrian Hunter
---
tools/perf/util/db-expo
701 - 800 of 1126 matches
Mail list logo