On Mon, Jun 6, 2016 at 8:14 PM, Clemens Gruber
wrote:
> All new designs should use external VDDD according to official
> documentation. See ER1 in errata sheet:
> http://cache.nxp.com/files/analog/doc/errata/SGTL5000ER.pdf
>
> Signed-off-by: Clemens Gruber
Reviewed-by: Fabio Estevam
> "Christoph" == Christoph Hellwig writes:
Christoph> We can move the sanity checks out. Or even better get rid of
Christoph> the stupid behavior of ignoring the late -EOPNOTSUPP in this
Christoph> low level helper and instead leaving it to the caller(s) that
Christoph> care.
It definitely
On Jun 14, 2016, at 2:46 PM, J . Bruce Fields wrote:
> On Tue, Jun 14, 2016 at 11:56:20AM -0400, Oleg Drokin wrote:
>>
>> On Jun 14, 2016, at 11:46 AM, J . Bruce Fields wrote:
>>
>>> On Sun, Jun 12, 2016 at 09:26:27PM -0400, Oleg Drokin wrote:
It used to be the case that state had an rwloc
On Tue, Jun 14, 2016 at 2:37 PM, Dave Hansen
wrote:
> On 06/14/2016 01:16 PM, Nadav Amit wrote:
>> Dave Hansen wrote:
>>
>>> On 06/14/2016 09:47 AM, Nadav Amit wrote:
Lukasz Anaczkowski wrote:
>> From: Andi Kleen
>> +void fix_pte_leak(struct mm_struct *mm, unsigned long addr,
On Tue, Jun 14, 2016 at 12:45:14PM +0200, Geert Uytterhoeven wrote:
> Hi Joonsoo,
>
> On Tue, Jun 14, 2016 at 10:11 AM, Joonsoo Kim wrote:
> > On Tue, Jun 14, 2016 at 09:31:23AM +0200, Geert Uytterhoeven wrote:
> >> On Tue, Jun 14, 2016 at 8:24 AM, Joonsoo Kim
> >> wrote:
> >> > On Mon, Jun 13,
Use regulator_list_voltage_linear_range in rpm_smps_ldo_ops_fixed is
wrong because it is used for fixed regulator without any linear range.
The rpm_smps_ldo_ops_fixed is used for pm8941_lnldo which has fixed_uV
set and n_voltages = 1. In this case, regulator_list_voltage() can return
rdev->desc->fi
On Mon, Jun 13, 2016 at 11:52:31AM -0400, Johannes Weiner wrote:
> On Fri, Jun 10, 2016 at 11:19:35AM +0900, Minchan Kim wrote:
> > On Mon, Jun 06, 2016 at 03:48:36PM -0400, Johannes Weiner wrote:
> > > @@ -79,6 +79,7 @@ enum pageflags {
> > > PG_dirty,
> > > PG_lru,
> > > PG_active,
> > > +
If write_backward attribute is set, records are written into kernel
ring buffer from end to beginning, but read from beginning to end.
To avoid 'XX out of order events recorded' warning message (timestamps
of records is in reverse order when using write_backward), suppress the
warning message if wr
overwrite_evt_state is introduced to reflect the state of overwritable
ring buffers. It is a state machine with 3 states:
RUNNING --(1)--> DATA_PENDING --(2)--> EMPTY
^ ^ |
| |___(disallow)___/|
||
This patch set enables daemonized perf recording by utilizing
overwritable backward ring buffer. With this feature one can
put perf background, and dump ring buffer records by a SIGUSR2
when he/she find something unusual. For example, following
command record system calls, schedule events and sampl
Before this patch, when using overwritable ring buffer on an old
kernel, error message is misleading:
# ~/perf record -m 1 -e raw_syscalls:*/overwrite/ -a
Error:
The raw_syscalls:sys_enter event is not supported.
This patch output clear error message to tell user his/her kernel
is too old:
#
When see POLLERR or POLLHUP, unmap ring buffer from both the main
evlist and overwrite evlist.
Signed-off-by: Wang Nan
Cc: He Kuang
Cc: Arnaldo Carvalho de Melo
Cc: Jiri Olsa
Cc: Masami Hiramatsu
Cc: Namhyung Kim
Cc: Zefan Li
Cc: pi3or...@163.com
---
tools/perf/builtin-record.c | 30 ++
Create an auxiliary evlist for overwritable events.
Before mmap, build this evlist and set 'overwrite' and 'backward'
attribute. Since perf_evlist__mmap_ex() only maps events when
evsel->overwrite matches evlist's corresponding attributes, with
these two evlists an event goes to either rec->evlist
An auxiliary evlist is created by perf_evlist__new_aux() using an
existing evlist as its parent. An auxiliary evlist can have its own
'struct perf_mmap', but can't have any other data. User should use its
parent instead when accessing other data.
Auxiliary evlists are containers of 'struct perf_mm
On Tue, Jun 14, 2016 at 03:10:21PM -0400, Sasha Levin wrote:
> On 06/14/2016 01:52 AM, Joonsoo Kim wrote:
> > On Mon, Jun 13, 2016 at 04:31:15PM -0400, Sasha Levin wrote:
> >> > On 05/25/2016 10:37 PM, js1...@gmail.com wrote:
> >>> > > From: Joonsoo Kim
> >>> > >
> >>> > > We don't need to split
This patch allows following config terms and option:
Globally setting events to overwrite;
# perf record --overwrite ...
Set specific events to be overwrite or no-overwrite.
# perf record --event cycles/overwrite/ ...
# perf record --event cycles/no-overwrite/ ...
Add missing config terms a
Improve test backward-ring-buffer, trace both enter and exit event of
prctl() syscall, utilize auxiliary evlist to mmap enter and exit event
into separated mmaps.
Signed-off-by: Wang Nan
Cc: Arnaldo Carvalho de Melo
Cc: Jiri Olsa
Cc: Masami Hiramatsu
Cc: Namhyung Kim
Cc: Zefan Li
Cc: He Kuan
From: Jiancheng Xue
Add device tree bindings for Hi3519 system controller.
Signed-off-by: Jiancheng Xue
Acked-by: Rob Herring
---
.../devicetree/bindings/arm/hisilicon/hi3519-sysctrl.txt | 14 ++
1 file changed, 14 insertions(+)
create mode 100644
Documentation/devicetree/bind
From: Jiancheng Xue
add compatible string for Hi3519 soc.
Signed-off-by: Jiancheng Xue
---
arch/arm/mach-hisi/hisilicon.c | 23 ---
1 file changed, 4 insertions(+), 19 deletions(-)
diff --git a/arch/arm/mach-hisi/hisilicon.c b/arch/arm/mach-hisi/hisilicon.c
index 8cc6215..
From: Jiancheng Xue
add dts files for Hi3519
Signed-off-by: Jiancheng Xue
---
arch/arm/boot/dts/Makefile| 2 +
arch/arm/boot/dts/hi3519-demb.dts | 42 +
arch/arm/boot/dts/hi3519.dtsi | 187 ++
3 files changed, 231 insertions(+)
create
These three patches are abstracted from the patchset titled
"[RESEND PATCH v10 0/6] ARM: hisi: Add initial support including
clock driver for Hi3519 soc."(https://lkml.org/lkml/2016/3/31/175).
The clock driver part was merged in v4.7-rc1. This patch set
is mainly used to enable Hi3519 basic soc and
> "Mike" == Mike Snitzer writes:
Mike,
Mike> so long story short: making this change to remove this so-called
Mike> "stupid behaviour" will require code like
Mike> drivers/md/dm-thin.c:issue_discard(() to check the return from
Mike> __blkdev_issue_discard() and if it is -EOPNOTSUPP then it s
Hi,
On Mon, Jun 13, 2016 at 03:08:19PM +0530, Anshuman Khandual wrote:
> On 05/31/2016 05:31 AM, Minchan Kim wrote:
> > @@ -791,6 +921,7 @@ static int __unmap_and_move(struct page *page, struct
> > page *newpage,
> > int rc = -EAGAIN;
> > int page_was_mapped = 0;
> > struct anon_vma *
On Tue, Jun 14 2016 at 10:07pm -0400,
Dan Williams wrote:
> On Tue, Jun 14, 2016 at 6:46 PM, Mike Snitzer wrote:
> > On Tue, Jun 14 2016 at 4:19pm -0400,
> > Jeff Moyer wrote:
> >
> >> Mike Snitzer writes:
> >>
> >> > On Tue, Jun 14 2016 at 9:50am -0400,
> >> > Jeff Moyer wrote:
> >> >
> >>
Andy Lutomirski wrote:
> On Tue, Jun 14, 2016 at 2:37 PM, Dave Hansen
> wrote:
>> On 06/14/2016 01:16 PM, Nadav Amit wrote:
>>> Dave Hansen wrote:
>>>
On 06/14/2016 09:47 AM, Nadav Amit wrote:
> Lukasz Anaczkowski wrote:
>
>>> From: Andi Kleen
>>> +void fix_pte_leak(str
On Tue, Jun 14, 2016 at 7:35 PM, Nadav Amit wrote:
> Andy Lutomirski wrote:
>
>> On Tue, Jun 14, 2016 at 2:37 PM, Dave Hansen
>> wrote:
>>> On 06/14/2016 01:16 PM, Nadav Amit wrote:
Dave Hansen wrote:
> On 06/14/2016 09:47 AM, Nadav Amit wrote:
>> Lukasz Anaczkowski wrote:
>>
On Tue, Jun 14, 2016 at 2:05 PM, Winkler, Tomas wrote:
wrote:
> Few storage technology such is EMMC, UFS, and NVMe support RPMB
>hardware partition with common protocol and frame layout.
> The RPMB partition cannot be accessed via standard block layer, but
>by a set of spe
On Tue, Jun 14 2016 at 10:30pm -0400,
Martin K. Petersen wrote:
> > "Mike" == Mike Snitzer writes:
>
> Mike,
>
> Mike> so long story short: making this change to remove this so-called
> Mike> "stupid behaviour" will require code like
> Mike> drivers/md/dm-thin.c:issue_discard(() to check t
Andy Lutomirski wrote:
> On Tue, Jun 14, 2016 at 7:35 PM, Nadav Amit wrote:
>> Andy Lutomirski wrote:
>>
>>> On Tue, Jun 14, 2016 at 2:37 PM, Dave Hansen
>>> wrote:
On 06/14/2016 01:16 PM, Nadav Amit wrote:
> Dave Hansen wrote:
>
>> On 06/14/2016 09:47 AM, Nadav Amit wrote:
On Tue, Jun 14, 2016 at 01:08:08PM +0200, Arnd Bergmann wrote:
> On Wednesday, June 8, 2016 3:04:27 AM CEST kbuild test robot wrote:
> > >> drivers/usb/core/of.c:32:21: error: redefinition of
> > >> 'usb_of_get_child_node'
> > struct device_node *usb_of_get_child_node(struct device_node *paren
> > This may also possibly help to save cycles due to high usage and
> > contention when using a generic kmem_cache (when they stay separate
> > from others, thanks for the precision!).
>
> Have you measured this?
>
> This isn't applicable for 4.7-rc at this time, _unless_ it fixes a bug,
> whic
This patch adds support for the MediaTek USB3 controller
integrated into MT8173. It can be configured as Dual-Role
Device (DRD), Peripheral Only and Host Only (xHCI) modes.
Signed-off-by: Chunfeng Yun
---
drivers/usb/Kconfig|2 +
drivers/usb/Makefile |1 +
d
Make IPPC register optional to support host side of dual-role mode,
due to it is moved into common glue layer for simplification.
Signed-off-by: Chunfeng Yun
---
drivers/usb/host/xhci-mtk.c | 32 +++-
1 file changed, 27 insertions(+), 5 deletions(-)
diff --git a/dr
USB3 DRD driver is added for MT8173-EVB, and xHCI driver
becomes its subnode
Signed-off-by: Chunfeng Yun
---
arch/arm64/boot/dts/mediatek/mt8173-evb.dts | 46 +--
arch/arm64/boot/dts/mediatek/mt8173.dtsi| 28
2 files changed, 65 insertions(+), 9 d
On Tue, Jun 14, 2016 at 7:44 PM, Nadav Amit wrote:
> Andy Lutomirski wrote:
>
>> On Tue, Jun 14, 2016 at 7:35 PM, Nadav Amit wrote:
>>> Andy Lutomirski wrote:
>>>
On Tue, Jun 14, 2016 at 2:37 PM, Dave Hansen
wrote:
> On 06/14/2016 01:16 PM, Nadav Amit wrote:
>> Dave Hansen w
>From 48552e96e4e33f8830cb6a59154fe148425532fd Mon Sep 17 00:00:00 2001
From: Chunfeng Yun
Date: Wed, 15 Jun 2016 10:58:10 +0800
Subject: [PATCH v4,0/5] Add MediaTek USB3 DRD Driver
These patches introduce the MediaTek USB3 dual-role controller
driver.
The driver can be configured as Dual-Role D
add a DT binding doc for MediaTek USB3 DRD driver
Signed-off-by: Chunfeng Yun
---
.../devicetree/bindings/usb/mt8173-mtu3.txt| 86
1 file changed, 86 insertions(+)
create mode 100644 Documentation/devicetree/bindings/usb/mt8173-mtu3.txt
diff --git a/Documentation
Some resources, such as IPPC register etc, shared with device
driver are moved into common glue layer when xHCI driver is the
host side of dual-role mode and they should be changed as optional
properties if they are required ones before. For clarity, add
a new part of binding to support host side o
Hi all,
An update is overdue so here it is.
It's mostly a bug fix update.
autofs
==
The package can be found at:
ftp://ftp.kernel.org/pub/linux/daemons/autofs/v5
It is autofs-5.1.2.tar.[gz|xz]
No source rpm is there as it can be produced by using:
rpmbuild -ts autofs-5.1.2.tar.gz
and t
Dave Hansen wrote:
> On 06/14/2016 01:16 PM, Nadav Amit wrote:
>> Dave Hansen wrote:
>>
>>> On 06/14/2016 09:47 AM, Nadav Amit wrote:
Lukasz Anaczkowski wrote:
>> From: Andi Kleen
>> +void fix_pte_leak(struct mm_struct *mm, unsigned long addr, pte_t *ptep)
>> +{
He
Hi Richard,
> On Mon, Jun 13, 2016 at 01:47:13PM +0200, Richard Cochran wrote:
>> 3. ALSA support for tunable AD/DA clocks. The rate of the Listener's
>>DA clock must match that of the Talker and the other Listeners.
>>Either you adjust it in HW using a VCO or similar, or you do
>>ad
Hi Heiko,
On 2016/6/14 21:27, Heiko Stübner wrote:
Am Montag, 13. Juni 2016, 10:10:10 schrieb Frank Wang:
The newer SoCs (rk3366, rk3399) take a different usb-phy IP block
than rk3288 and before, and most of phy-related registers are also
different from the past, so a new phy driver is required
Hi,
Here is the 11th version of the patchset for probe-cache and
initial SDT support.
Here is the previous v10: https://lkml.org/lkml/2016/6/8/318
And v9: https://lkml.org/lkml/2016/5/28/103
This version fixes some bugs and changes codes according to
Arnaldo's comments.
Changes in v11:
- [06/
These three patches do the much discussed job of making nfsd state handling
more robust in face of races where several opens arrive for the same file
at the same time from the same client.
This does not yet handle a case when one of those opens gets an error
and others don't.
Also this is undergo
Introduce perf_cache object and interfaces to create,
add entry, commit, and delete the object.
perf_cache represents a file for the cached perf-probe
definitions on one binary file or vmlinux which has its
own build id. The probe cache file is located under the
build-id cache directory of the targ
Recover and export synthesize_perf_probe_point() which had
once introduced but disabled long time. This renew the
code and re-enable it.
Signed-off-by: Masami Hiramatsu
---
Changes in v10:
- Splited from "Add --cache option to cache the probe definitions"
---
tools/perf/util/probe-event.c |
Hi Richard,
On Tue, 14 Jun 2016 19:04:44 +0200, Richard Cochran write:
>> Well, I guess I should have said, I am not too familiar with the
>> breadth of current audio hardware, high end or low end. Of course I
>> would like to see even consumer devices work with AVB, but it is up to
>> the ALSA
Fix to add a NULL check for strndup when parsing
probe trace command.
Signed-off-by: Masami Hiramatsu
---
Changes in v10:
- Splited from "perf probe: Allow wildcard for cached events"
---
tools/perf/util/probe-event.c |4
1 file changed, 4 insertions(+)
diff --git a/tools/perf/util/
Rename and export build_id_cache__cachedir() for retrieving
use of the path of cache directory for given build_id.
Signed-off-by: Masami Hiramatsu
---
Changes in v10:
- Splited from "Add --cache option to cache the probe definitions"
---
tools/perf/util/build-id.c | 12 +---
tools/p
Fix rm_rf() to handle non-regular files correctly. This fix
includes two changes;
- Fix to use lstat(3) instead of stat(3) since if the target
file is a symbolic link, rm_rf() should unlink the symbolic
link itself, not the file which pointed by the symlink.
- Fix to unlink non-regular fil
Move the state selection logic inside from the caller,
always making it return correct stp to use.
Signed-off-by: J . Bruce Fields
Signed-off-by: Oleg Drokin
---
fs/nfsd/nfs4state.c | 27 ---
1 file changed, 12 insertions(+), 15 deletions(-)
diff --git a/fs/nfsd/nfs4sta
From: Masami Hiramatsu
Add --cache option to cache the probe definitions. This
just saves the result of the dwarf analysis to probe cache.
Signed-off-by: Masami Hiramatsu
Signed-off-by: Masami Hiramatsu
---
Changes in v11:
- Check failure of probe_cache operations and warn it.
Changes in v
From: Masami Hiramatsu
perf-probe --del removes caches when --cache is given.
Note that the delete pattern is not same as normal events.
If you cached probes with event name, --del "eventname"
works as expected. However, if you skipped it, the cached
probes doesn't have actual event name. In tha
From: Masami Hiramatsu
perf probe --list shows all cached probes when --cache
is given. Each caches are shown with on which binary that
probed. e.g.
-
# perf probe --cache vfs_read \$params
# perf probe --cache -x /lib64/libc-2.17.so getaddrinfo \$params
# perf probe --cache --list
From: Masami Hiramatsu
Show SDT and pre-cached events by perf-list with "sdt". This also
shows the binary and build-id where the events are placed only
when there are same name events on different binaries.
e.g.
# perf list sdt
List of pre-defined events (to be used in -e):
sdt_l
From: Masami Hiramatsu
perf buildid-cache --add scans given binary and add
the SDT events to probe cache. "sdt_" prefix is appended for
all SDT providers to avoid event-name clash with other pre-defined
events. It is possible to use the cached SDT events as other cached
events, via perf probe --
From: Hemant Kumar
This patch serves the initial support to identify and list SDT events in
binaries.
When programs containing SDT markers are compiled, gcc with the help of
assembler
directives identifies them and places them in the section ".note.stapsdt". To
find
these markers from the bina
From: Masami Hiramatsu
Allow user to set group name for adding new event.
Note that user must ensure that the group name doesn't
conflict with existing group name carefully.
E.g. Existing group name can conflict with other events.
Especially, using the group name reserved for kernel
modules can h
From: Masami Hiramatsu
Skip SDTs placed in invalid (non-exist, or older version)
binaries. Note that perf-probe --cache --list and
perf-probe --cache --del still handle all the caches
including invalid binaries.
Signed-off-by: Masami Hiramatsu
Signed-off-by: Masami Hiramatsu
---
Changes in v7
From: Masami Hiramatsu
Before analyzing debuginfo, try to find a corresponding entry
from probe cache always. This does not depend on --cache,
the --cache enables to store/update cache, but looking up
the cache is always enabled.
Signed-off-by: Masami Hiramatsu
Signed-off-by: Masami Hiramatsu
Support @BUILDID or @FILE suffix for SDT events. This allows
perf to add probes on SDTs/pre-cached events on given FILE
or the file which has given BUILDID (also, this complements
BUILDID.)
For example, both gcc and libstdc++ has same SDTs as below.
If you would like to add a probe on sdt_libstdcxx
Search SDT/cached event from all probe caches if user doesn't
pass any binary. With this, we don't have to specify target
binary for SDT and named cached events (which start with %).
E.g. without this, a target binary must be passed with -x.
# perf probe -x /usr/lib64/libc-2.20.so -a %sdt_libc:\
Add for_each_probe_cache_entry() wrapper macro
for hiding list in probe_cache.
Signed-off-by: Masami Hiramatsu
---
Changes in v10:
- Splitted from "perf probe: Allow wildcard for cached events"
---
tools/perf/util/probe-file.c |8
tools/perf/util/probe-file.h |2 ++
2 files c
From: Masami Hiramatsu
To improbe usability, support %[PROVIDER:]SDTEVENT format to
add new probes on SDT and cached events.
e.g.
# perf probe -x /lib/libc-2.17.so %lll_lock_wait_private
Added new event:
sdt_libc:lll_lock_wait_private (on %lll_lock_wait_private in
/usr/lib/libc
Allo glob wildcard for reusing cached/SDT events. E.g.
# perf probe -x /usr/lib64/libc-2.20.so -a %sdt_libc:\*
This example adds probes for all SDT in libc.
Note that the SDTs must have been scanned by perf buildid-cache.
Signed-off-by: Masami Hiramatsu
---
Changes in v10:
- Split off bugf
To avoid racing entry into nfs4_get_vfs_file().
Make init_open_stateid() return with locked stateid to be unlocked
by the caller.
Signed-off-by: Oleg Drokin
---
fs/nfsd/nfs4state.c | 16 +---
1 file changed, 13 insertions(+), 3 deletions(-)
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd
It used to be the case that state had an rwlock that was locked for write
by downgrades, but for read for upgrades (opens). Well, the problem is
if there are two competing opens for the same state, they step on
each other toes potentially leading to leaking file descriptors
from the state structure
Add perf_probe_event__copy() to copy perf_probe_event
data structure and sub data structures under given source
perf_probe_event.
Signed-off-by: Masami Hiramatsu
---
Changes in v10:
- Splited from "Add --cache option to cache the probe definitions"
---
tools/perf/util/probe-event.c | 76 +++
Fix rm_rf() to handle non-regular files correctly. This fix
includes two changes;
- Fix to use lstat(3) instead of stat(3) since if the target
file is a symbolic link, rm_rf() should unlink the symbolic
link itself, not the file which pointed by the symlink.
- Fix to unlink non-regular fil
Hi,
Resend: Sorry, I missed some last patches...
Here is the 11th version of the patchset for probe-cache and
initial SDT support.
Here is the previous v10: https://lkml.org/lkml/2016/6/8/318
And v9: https://lkml.org/lkml/2016/5/28/103
This version fixes some bugs and changes codes according t
From: Masami Hiramatsu
Add --cache option to cache the probe definitions. This
just saves the result of the dwarf analysis to probe cache.
Signed-off-by: Masami Hiramatsu
Signed-off-by: Masami Hiramatsu
---
Changes in v11:
- Check failure of probe_cache operations and warn it.
Changes in v
Fix to add a NULL check for strndup when parsing
probe trace command.
Signed-off-by: Masami Hiramatsu
---
Changes in v10:
- Splited from "perf probe: Allow wildcard for cached events"
---
tools/perf/util/probe-event.c |4
1 file changed, 4 insertions(+)
diff --git a/tools/perf/util/
Rename and export build_id_cache__cachedir() for retrieving
use of the path of cache directory for given build_id.
Signed-off-by: Masami Hiramatsu
---
Changes in v10:
- Splited from "Add --cache option to cache the probe definitions"
---
tools/perf/util/build-id.c | 12 +---
tools/p
Add perf_probe_event__copy() to copy perf_probe_event
data structure and sub data structures under given source
perf_probe_event.
Signed-off-by: Masami Hiramatsu
---
Changes in v10:
- Splited from "Add --cache option to cache the probe definitions"
---
tools/perf/util/probe-event.c | 76 +++
Introduce perf_cache object and interfaces to create,
add entry, commit, and delete the object.
perf_cache represents a file for the cached perf-probe
definitions on one binary file or vmlinux which has its
own build id. The probe cache file is located under the
build-id cache directory of the targ
Recover and export synthesize_perf_probe_point() which had
once introduced but disabled long time. This renew the
code and re-enable it.
Signed-off-by: Masami Hiramatsu
---
Changes in v10:
- Splited from "Add --cache option to cache the probe definitions"
---
tools/perf/util/probe-event.c |
From: Masami Hiramatsu
Before analyzing debuginfo, try to find a corresponding entry
from probe cache always. This does not depend on --cache,
the --cache enables to store/update cache, but looking up
the cache is always enabled.
Signed-off-by: Masami Hiramatsu
Signed-off-by: Masami Hiramatsu
From: Masami Hiramatsu
To improbe usability, support %[PROVIDER:]SDTEVENT format to
add new probes on SDT and cached events.
e.g.
# perf probe -x /lib/libc-2.17.so %lll_lock_wait_private
Added new event:
sdt_libc:lll_lock_wait_private (on %lll_lock_wait_private in
/usr/lib/libc
From: Masami Hiramatsu
Allow user to set group name for adding new event.
Note that user must ensure that the group name doesn't
conflict with existing group name carefully.
E.g. Existing group name can conflict with other events.
Especially, using the group name reserved for kernel
modules can h
From: Masami Hiramatsu
Show SDT and pre-cached events by perf-list with "sdt". This also
shows the binary and build-id where the events are placed only
when there are same name events on different binaries.
e.g.
# perf list sdt
List of pre-defined events (to be used in -e):
sdt_l
From: Masami Hiramatsu
perf buildid-cache --add scans given binary and add
the SDT events to probe cache. "sdt_" prefix is appended for
all SDT providers to avoid event-name clash with other pre-defined
events. It is possible to use the cached SDT events as other cached
events, via perf probe --
From: Masami Hiramatsu
perf-probe --del removes caches when --cache is given.
Note that the delete pattern is not same as normal events.
If you cached probes with event name, --del "eventname"
works as expected. However, if you skipped it, the cached
probes doesn't have actual event name. In tha
From: Hemant Kumar
This patch serves the initial support to identify and list SDT events in
binaries.
When programs containing SDT markers are compiled, gcc with the help of
assembler
directives identifies them and places them in the section ".note.stapsdt". To
find
these markers from the bina
Add for_each_probe_cache_entry() wrapper macro
for hiding list in probe_cache.
Signed-off-by: Masami Hiramatsu
---
Changes in v10:
- Splitted from "perf probe: Allow wildcard for cached events"
---
tools/perf/util/probe-file.c |8
tools/perf/util/probe-file.h |2 ++
2 files c
Will be used to define SDT events in perf test code.
Signed-off-by: Masami Hiramatsu
---
tools/build/Makefile.feature |3 ++-
tools/build/feature/Makefile |6 +-
tools/build/feature/test-all.c |5 +
tools/build/feature/test-sdt.c |7 +++
tools/perf/Makefile.perf
From: Masami Hiramatsu
Skip SDTs placed in invalid (non-exist, or older version)
binaries. Note that perf-probe --cache --list and
perf-probe --cache --del still handle all the caches
including invalid binaries.
Signed-off-by: Masami Hiramatsu
Signed-off-by: Masami Hiramatsu
---
Changes in v7
Support @BUILDID or @FILE suffix for SDT events. This allows
perf to add probes on SDTs/pre-cached events on given FILE
or the file which has given BUILDID (also, this complements
BUILDID.)
For example, both gcc and libstdc++ has same SDTs as below.
If you would like to add a probe on sdt_libstdcxx
Support a special SDT probe format which can omit the '%' prefix
only if the SDT group name starts with "sdt_". So, for example
both of "%sdt_libc:setjump" and "sdt_libc:setjump" are acceptable
for perf probe --add.
Suggested-by: Brendan Gregg
Signed-off-by: Masami Hiramatsu
---
tools/perf/Docu
Search SDT/cached event from all probe caches if user doesn't
pass any binary. With this, we don't have to specify target
binary for SDT and named cached events (which start with %).
E.g. without this, a target binary must be passed with -x.
# perf probe -x /usr/lib64/libc-2.20.so -a %sdt_libc:\
Allo glob wildcard for reusing cached/SDT events. E.g.
# perf probe -x /usr/lib64/libc-2.20.so -a %sdt_libc:\*
This example adds probes for all SDT in libc.
Note that the SDTs must have been scanned by perf buildid-cache.
Signed-off-by: Masami Hiramatsu
---
Changes in v10:
- Split off bugf
Add a basic test case for SDT event support.
This test scans an SDT event in perftools and
check whether the SDT event is correctly stored
into the buildid cache.
Signed-off-by: Masami Hiramatsu
---
tools/perf/tests/Build |1
tools/perf/tests/builtin-test.c |4 +
tools/perf/tes
From: Masami Hiramatsu
perf probe --list shows all cached probes when --cache
is given. Each caches are shown with on which binary that
probed. e.g.
-
# perf probe --cache vfs_read \$params
# perf probe --cache -x /lib64/libc-2.17.so getaddrinfo \$params
# perf probe --cache --list
On 2016年06月14日 18:40, Will Deacon wrote:
On Tue, Jun 14, 2016 at 02:11:48PM +0800, xinhui wrote:
On 2016年06月08日 17:22, Will Deacon wrote:
On Thu, Jun 02, 2016 at 06:09:08PM +0800, Pan Xinhui wrote:
strcut __qrwlock has different layout in big endian machine. we need set
the __qrwlock->wmode
Replace the in order struct initialisation style with explicit field
style.
The Coccinelle semantic patch used to make this change is as follows:
@decl@
identifier i1,fld;
type T;
field list[n] fs;
@@
struct i1 {
fs
T fld;
...};
@@
identifier decl.i1,i2,decl.fld;
expression e;
position bad.p
gcc has trouble parsing returen.
Fixes: 3e23d81046936 ("clocksource/drivers/nios2: Convert init function to
return error")
Cc: Daniel Lezcano
Signed-off-by: Guenter Roeck
---
arch/nios2/kernel/time.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/nios2/kernel/time.c b
This reverts commit 7011a4947ca61cd28a8c025b39c98861687e4fb6.
When trying to build parisc:allmodconfig:
drivers/clocksource/timer-atmel-st.c: In function 'at91rm9200_timer_interrupt':
drivers/clocksource/timer-atmel-st.c:76:3: error:
invalid use of undefined type 'struct clock_event_devic
On Tuesday 14 June 2016 08:09 PM, Alexandre Belloni wrote:
On 07/06/2016 at 14:59:05 +0530, Keerthy wrote :
Hi Alexandre,
On Wednesday 01 June 2016 06:06 PM, Keerthy wrote:
On Wednesday 01 June 2016 05:48 PM, Alexandre Belloni wrote:
Hi,
On 01/06/2016 at 16:19:07 +0530, Keerthy wrote :
Jaegeuk,
On 6/15/16 03:45, Jaegeuk Kim wrote:
> If mkfs.f2fs gives a feature flag for host-managed SMR, we can set mode=lfs
> by default.
>
> Signed-off-by: Jaegeuk Kim
> ---
> fs/f2fs/f2fs.h | 21 +
> fs/f2fs/super.c | 14 --
> 2 files changed, 29 insertions(+),
Hi Rob,
On Tue, Jun 14, 2016 at 05:05:17PM -0500, Rob Herring wrote:
> On Sat, Jun 11, 2016 at 06:39:53PM +0300, Ivaylo Dimitrov wrote:
> > Add DT bindings description
>
> Not exactly the best commit msg.
>
> >
> > Signed-off-by: Ivaylo Dimitrov
> > ---
> > .../bindings/media/i2c/toshiba,et8e
The helper usb_of_get_child_node is defined at of.c, but missing its
declare as a global function. Fix it by adding related header file
as well as compile it on conditional of CONFIG_OF.
Cc: Greg Kroah-Hartman
Cc: Arnd Bergmann
Cc: Alan Stern
Cc: linux-...@vger.kernel.org
Cc: linux-kernel@vger.
901 - 1000 of 1085 matches
Mail list logo