We can simplify uprobe_free_utask() and handle_uretprobe_chain()
if we add a simple helper which does put_uprobe/kfree and returns
the ->next return_instance.
Signed-off-by: Oleg Nesterov
Acked-by: Srikar Dronamraju
Acked-by: Anton Arapov
Tested-by: Pratyush Anand
---
kernel/events/uprobes.c
Change prepare_uretprobe() to flush the !arch_uretprobe_is_alive()
return_instance's. This is not needed correctness-wise, but can help
to avoid the failure caused by MAX_URETPROBE_DEPTH.
Note: in this case arch_uretprobe_is_alive() can be false positive,
the stack can grow after longjmp().
Ingo,
This is the changes I asked you to pull. I added v3 tag to avoid
the confusion, but the only change is that I added the acks I got.
Currently ret-probes can't work (the application will likely crash)
if the probed function does not return, and this is even documented
in
Looks good too, but same From: issue as the last patch.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
Looks good,
but what's up with your From lines:
On Mon, Jul 20, 2015 at 04:29:49PM -0700, Spencer Baugh wrote:
> From: Spencer Baugh
>
> From: Chris Zankel
plus another address for you in the actual email From line. Who
did actually write this patch?
--
To unsubscribe from this list: send
On Sun, Jul 19, 2015 at 08:18:00PM -0400, Dan Williams wrote:
> Some archs define the first parameter to ioremap() as unsigned long,
> while the balance define it as resource_size_t, similar confusion exists
> for the type of the 'size' parameter. Unify on (resource_size_t,
> unsigned long) to
> -Original Message-
> From: Punit Agrawal [mailto:punit.agra...@arm.com]
> Sent: Tuesday, July 21, 2015 6:52 PM
> To: Sascha Hauer
> Cc: linux...@vger.kernel.org; Zhang, Rui; Eduardo Valentin; linux-
> ker...@vger.kernel.org; Jean Delvare; Peter Feuerer; Heiko Stuebner;
> Lukasz
[+cc Paul]
On Thu, Jul 09, 2015 at 04:00:35PM +0800, Jiang Liu wrote:
> Recently Marc Zyngier has posted a patch set at
> https://lkml.org/lkml/2015/7/7/712
> to enhance PCI MSI code to support generic MSI.
>
> This is a companion patch set to refine struct msi_desc and related data
>
Hi,
I thought I would send this patch as an RFC. It is something I did when
another linaro engineer was modifying acpica-tools to not require /dev/mem.
It exports the 3 tables that are not currenly exported in sysfs.
Currently I do not think there is any user of this because acpica-tools can
On Sun, Jul 19, 2015 at 08:18:17PM -0400, Dan Williams wrote:
> In preparation for enabling memremap(), add support for strict mappings.
> strict_ioremap_() returns NULL if the arch does not implement the
> mapping type, rather than falling back silently to ioremap().
Please don't introduce
On some architectures /dev/mem is being removed. For debug/analysis
tools like FWTS/acpidump we therefore need to expose the ACPI root
tables in sysfs like the other tables.
Signed-off-by: Graeme Gregory
---
drivers/acpi/sysfs.c | 123 +++
1 file
Multiple blank lines should be avoided.
Signed-off-by: Sudip Mukherjee
---
drivers/staging/rtl8188eu/os_dep/usb_intf.c | 4
1 file changed, 4 deletions(-)
diff --git a/drivers/staging/rtl8188eu/os_dep/usb_intf.c
b/drivers/staging/rtl8188eu/os_dep/usb_intf.c
index 29b7ea6..5f44c6a 100644
Success and error path was mixed. Separate them by directly returning 0
from the success path. In the process remove the variable which became
unused.
Signed-off-by: Sudip Mukherjee
---
drivers/staging/rtl8188eu/os_dep/usb_intf.c | 8 +++-
1 file changed, 3 insertions(+), 5 deletions(-)
On 20.07.2015 15:42, Konstantin Khlebnikov wrote:
On 18.06.2015 16:32, David Howells wrote:
Make file->f_path always point to the overlay dentry so that the path in
/proc/pid/fd is correct and to ensure that label-based LSMs have
access to the
overlay as well as the underlay (path-based LSMs
Check for kzalloc failure and directly return from the error patch thus
simplifying the success path.
Suggested-by: Dan Carpenter
Signed-off-by: Sudip Mukherjee
---
drivers/staging/rtl8188eu/os_dep/usb_intf.c | 7 +++
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git
Directly return NULL instead of using another label and goto.
Signed-off-by: Sudip Mukherjee
---
drivers/staging/rtl8188eu/os_dep/usb_intf.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/rtl8188eu/os_dep/usb_intf.c
_HCI_INTF_C_ was only defined here but not being used anywhere.
Signed-off-by: Sudip Mukherjee
---
drivers/staging/rtl8188eu/os_dep/usb_intf.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/staging/rtl8188eu/os_dep/usb_intf.c
b/drivers/staging/rtl8188eu/os_dep/usb_intf.c
index
The issue is flags like ARCH can be passed to make via environment variable
or at command line by passing "ARCH=" argument to make file. The former case
works fine if used with merge_config but the later case would not work and
resulting config file from merge_config is useless.
I hit this issue
On Tue, Jul 21, 2015 at 10:52:52AM +0200, Ingo Molnar wrote:
>
> * Luis R. Rodriguez wrote:
>
> > On Wed, Jul 08, 2015 at 06:54:11PM -0700, Luis R. Rodriguez wrote:
> > > From: "Luis R. Rodriguez"
> > >
> > > Ingo,
> > >
> > > Boris is on vacation, he picked up these patches on his bp#tip-mm
Hi,
Today's linux-next (next-20150721) encounters boot failures on Exynos
Octa (Exynos5422) based boards. The boards hangs. I bisected it to:
d80167b85024982c5f18d0481a5c248100360118 is the first bad commit
commit d80167b85024982c5f18d0481a5c248100360118
Author: Joonyoung Shim
Date: Thu Jul 2
This patch adds ACPI support for the APM X-Gene DMA engine driver.
Signed-off-by: Rameshwar Prasad Sahu
---
drivers/dma/xgene-dma.c | 28 +---
1 file changed, 21 insertions(+), 7 deletions(-)
diff --git a/drivers/dma/xgene-dma.c b/drivers/dma/xgene-dma.c
index
On 7/16/2015 7:26 AM, Viresh Kumar wrote:
Migrate tile driver to the new 'set-state' interface provided by
clockevents core, the earlier 'set-mode' interface is marked obsolete
now.
This also enables us to implement callbacks for new states of clockevent
devices, for example: ONESHOT_STOPPED.
Hi Roger,
On 21/07/15 12:06, Roger Pau Monné wrote:
> El 09/07/15 a les 22.42, Julien Grall ha escrit:
>> From: Julien Grall
>>
>> The PV block protocol is using 4KB page granularity. The goal of this
>> patch is to allow a Linux using 64KB page granularity using block
>> device on a
merged.
>
> Signed-off-by: Uwe Kleine-König
> ---
> Hello,
>
> this is the more complete fix of the issue that Stephen found while creating
> next-20150721 (see commit f51ec04cf8be9f7ef795f1f39ada17c19f725650).
>
> Best regards
> Uwe
>
> drivers/regulator/rk80
On Mon, 2015-07-20 at 21:13 +0300, Eugene Shatokhin wrote:
> Races on dev->rx_qlen. Reproduced these by repeatedly changing MTU
> (1500
> <-> 1400) while downloading large files.
Hi,
I don't see how it matters much. The number of buffers is just
an optimization. As long as it eventually is
Hi,
On 21/07/15 11:30, Roger Pau Monné wrote:
> El 09/07/15 a les 22.42, Julien Grall ha escrit:
>> Prepare the code to support 64KB page granularity. The first
>> implementation will use a full Linux page per indirect and persistent
>> grant. When non-persistent grant is used, each page of a bio
On Tue, 21 Jul 2015 13:34:08 +0100
Graeme Gregory wrote:
> On Tue, Jul 21, 2015 at 11:08:00AM +0100, Marc Zyngier wrote:
> > Now that the basic ACPI GSI code is irq domain aware, make sure
> > that the ACPI support in the GIC doesn't pointlessly deviate from
> > the DT path.
> >
> >
On Mon, Jul 20, 2015 at 04:37:15PM +0800, dyo...@redhat.com wrote:
> Now there's two kexec load syscall, one is kexec_load another is
> kexec_file_load, kexec_file_load has been splited as kernel/kexec_file.c.
> In this patch I split kexec_load syscall code to kernel/kexec.c.
Hi Dave,
Nice work.
On Mon, Jul 20, 2015 at 03:17:07PM -0400, Jeff Moyer wrote:
> For SAN storage, we've seen initial write and re-write performance drop
> 25-50% across all I/O sizes. On locally attached storage, we've seen
> regressions of 40% for all I/O types, but only for I/O sizes larger than
> 1MB.
Workload,
On Mon 20-07-15 15:43:27, Andrew Morton wrote:
> On Mon, 20 Jul 2015 13:23:56 +0200 Michal Hocko wrote:
>
> > I do not think we want two sets of header
> > files - one for mm and other for other external users.
>
> We're already doing this (mm/*.h) and it works well.
I still fail to see any
The pair of get/set_freepage_migratetype() functions are used to cache
pageblock migratetype for a page put on a pcplist, so that it does not have
to be retrieved again when the page is put on a free list (e.g. when pcplists
become full). Historically it was also assumed that the value is accurate
The __test_page_isolated_in_pageblock() is used to verify whether all pages
in pageblock were either successfully isolated, or are hwpoisoned. Two of the
possible state of pages, that are tested, are however bogus and misleading.
Both tests rely on get_freepage_migratetype(page), which however
Adding processing of stat config event and initialize
stat_config object.
Link: http://lkml.kernel.org/n/tip-f2bo5wm0cw76zc5qsjm4p...@git.kernel.org
Signed-off-by: Jiri Olsa
---
tools/perf/builtin-stat.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/tools/perf/builtin-stat.c
On Tue, Jul 21, 2015 at 02:38:47PM +0200, Maxime Ripard wrote:
> I thought you needed at least my Acked-by for that, but
> whatever... How are we supposed to handle subsequent DT patches that
> should be merged through arm-soc then?
What subsequent patches are you referring to? The changes in
TWSI_ILCR & TWSI_IWCR registers are used to adjust clock rate
of standard & fast mode in pxa910/988; so this patch adds these two new
entries to "struct pxa_reg_layout" and "struct pxa_i2c".
As discussed in the previous patch-series, the idea here is to add standard
DT properties for ilcr and
From: Yi Zhang
Enable i2c module/unit before transmission and disable when it
finishes.
why?
It's because the i2c bus may be disturbed if the slave device,
typically a touch, powers on.
As we do not want to break slave mode support, this patch introduces
DT property to control disable of the
With addition of PXA910 family of devices, the TWSI module supports
SCL clock adjustment using ILCR register.
This patch enables the control and configuration of ICLR through DT
properties,
i2c-sclk-high-time-ns:
SCLK high time (tHigh), for standard/fast/high speed mode
i2c-sclk-low-time-ns:
With addition of PXA910 family of devices, the TWSI module supports
new feature which allows us to adjust SCLK. i2c-pxa driver takes input
configuration in nsec and converts it to respective bit-fields,
- i2c-sclk-low-time-ns : SCLK low time (tlow)
This property is used along with mode
This patch-series is subset of the original patch-series, submitted
on 14 Jul 2015.
Link to Original Patch-series - https://lkml.org/lkml/2015/7/14/80
The first six patches have been already queued up for upstream. So this
patch-series is respin of remaining 5 patches.
Testing:
- Basic testing
Driver will now supports enable/disable across msg xfer, which user
can control it by new DT property -
i2c-disable-after-xfer : If set, driver will disable I2C module after msg
xfer and enable it back before xfer.
Signed-off-by: Vaibhav Hiremath
---
hi,
sending RFC on another attempt for stat scripting.
The initial attempt defined its own formula lang and allowed
triggering user's script on the end of the stat command:
http://marc.info/?l=linux-kernel=136742146322273=2
This patchset abandons the idea of new formula language
and rather
Moving interval into struct perf_stat_config. The point is to centralize
the base stat config so it could be used localy together with
other stat routines in other parts of perf code.
Link: http://lkml.kernel.org/n/tip-o6y11n9zxfxv8633h6yb86...@git.kernel.org
Signed-off-by: Jiri Olsa
---
Moving scale into struct perf_stat_config. The point is to centralize
the base stat config so it could be used localy together with
other stat routines in other parts of perf code.
Link: http://lkml.kernel.org/n/tip-ggt4jfmmb5htu0jwd8sxy...@git.kernel.org
Signed-off-by: Jiri Olsa
---
Checking also for refcnt in thread_map test.
Link: http://lkml.kernel.org/n/tip-6fege00q2h2ulx4296921...@git.kernel.org
Signed-off-by: Jiri Olsa
---
tools/perf/tests/thread-map.c | 4
1 file changed, 4 insertions(+)
diff --git a/tools/perf/tests/thread-map.c
Moving aggr_mode into new struct. The point is to centralize
the base stat config so it could be used localy together with
other stat routines in other parts of perf code.
Link: http://lkml.kernel.org/n/tip-4g1i3m1z6fzsrznn2umi0...@git.kernel.org
Signed-off-by: Jiri Olsa
---
Passing struct perf_stat_config into process_counter, so we could
make process_counter global and use it from other places.
Link: http://lkml.kernel.org/n/tip-uhib85l66wfbkkepk1l7r...@git.kernel.org
Signed-off-by: Jiri Olsa
---
tools/perf/builtin-stat.c | 29 -
1
Tolerating NULL maps in perf_evlist__propagate_maps,
so we dont need to pass evlist with both cpus and threads
maps defined.
Link: http://lkml.kernel.org/n/tip-y15hjmv6uu8b6gyhkz5v4...@git.kernel.org
Signed-off-by: Jiri Olsa
---
tools/perf/util/evlist.c | 3 ++-
1 file changed, 2 insertions(+),
Moving counter processing code into stat object
as perf_stat__process_counter.
Link: http://lkml.kernel.org/n/tip-1vae9jeuab2db5wxq820s...@git.kernel.org
Signed-off-by: Jiri Olsa
---
tools/perf/builtin-stat.c | 141 +-
tools/perf/util/stat.c| 139
Adding thread_map event to pass/store thread maps.
Link: http://lkml.kernel.org/n/tip-2l07qyf3buhnt83q4ezqz...@git.kernel.org
Signed-off-by: Jiri Olsa
---
tools/perf/util/event.c | 1 +
tools/perf/util/event.h | 13 +
tools/perf/util/session.c | 26 ++
We will reuse argv style data in following change to display
counters header showing monitored command line.
Link: http://lkml.kernel.org/n/tip-qu64zmm5zbpbkuybusnkg...@git.kernel.org
Signed-off-by: Jiri Olsa
---
tools/perf/util/header.c | 35 ---
We need only bool info wether user defined her own set of cpus.
Switching target argument to bool so it could be used from
places without target object defined in following patches.
Link: http://lkml.kernel.org/n/tip-0w6u3krrowphxyowo0pkj...@git.kernel.org
Signed-off-by: Jiri Olsa
---
Introduce perf_event__synthesize_thread_map2 function to
sythesize struct thread_map.
Link: http://lkml.kernel.org/n/tip-cykuf1v8qb6li8q6w6tbm...@git.kernel.org
Signed-off-by: Jiri Olsa
---
tools/perf/tests/builtin-test.c | 4
tools/perf/tests/tests.h| 1 +
Introduce perf_event__synthesize_stat_config function to
sythesize 'struct perf_stat_config'.
Storing stat config in form of tag-value pairs in a believe
it'll sort out future version issues.
Link: http://lkml.kernel.org/n/tip-zof1adf5flwp38xdzxzn4...@git.kernel.org
Signed-off-by: Jiri Olsa
---
Introducing perf_event__read_stat_config function to read
struct perf_stat_config object data from stat config event.
Link: http://lkml.kernel.org/n/tip-62ae08zz97jp2qkhygp8u...@git.kernel.org
Signed-off-by: Jiri Olsa
---
tools/perf/tests/stat.c | 6 ++
tools/perf/util/event.c | 24
Introducing cpu_map__new_event function to create
struct cpu_map object from cpu_map event.
Link: http://lkml.kernel.org/n/tip-tepv49tbjsqeprmf8k05l...@git.kernel.org
Signed-off-by: Jiri Olsa
---
tools/perf/tests/cpumap.c | 10 ++
tools/perf/util/cpumap.c | 27
Introduce perf_event__synthesize_cpu_map function to
sythesize struct cpu_map.
Link: http://lkml.kernel.org/n/tip-miidn8vqsx3udu4ct8103...@git.kernel.org
Signed-off-by: Jiri Olsa
---
tools/perf/tests/Build | 1 +
tools/perf/tests/builtin-test.c | 4
tools/perf/tests/cpumap.c
Adding stat config event to pass/store stat config data,
so report tools (report/script) know how to interpret
stat data.
Link: http://lkml.kernel.org/n/tip-1npdsfez8635vogthpqwt...@git.kernel.org
Signed-off-by: Jiri Olsa
---
tools/perf/util/event.c | 1 +
tools/perf/util/event.h | 20
Adding cpu_map event to pass/store cpu maps.
Link: http://lkml.kernel.org/n/tip-tomgwwohnuxvvalwu4zna...@git.kernel.org
Signed-off-by: Jiri Olsa
---
tools/perf/util/event.c | 1 +
tools/perf/util/event.h | 8
tools/perf/util/session.c | 25 +
Introduce perf_event__synthesize_stat function to
synthesize 'struct stat_event'.
Link: http://lkml.kernel.org/n/tip-0jr9x4vwk0nxbs2ueclj7...@git.kernel.org
Signed-off-by: Jiri Olsa
---
tools/perf/tests/builtin-test.c | 4
tools/perf/tests/stat.c | 40
On Mon, Jul 20, 2015 at 04:20:57PM +0800, Herbert Xu wrote:
> On Mon, Jul 20, 2015 at 10:18:36AM +0200, Maxime Ripard wrote:
> > On Mon, Jul 20, 2015 at 04:10:50PM +0800, Herbert Xu wrote:
> > > On Fri, Jul 17, 2015 at 04:39:37PM +0200, LABBE Corentin wrote:
> > > > Hello
> > > >
> > > > This is
Adding stat round event to be stored afer each stat interval round,
so report tools (report/script) get notified and process interval
data.
Link: http://lkml.kernel.org/n/tip-nqhzuxrv12ulccx11k7x8...@git.kernel.org
Signed-off-by: Jiri Olsa
---
tools/perf/util/event.c | 1 +
Introducing stat feature to mark perf.data as created by
perf stat record command. It contains no data.
It's needed for report tools (report/script) to differentiate
sampling data from stat data, because they need to be treated
in a different way.
Link:
On Mon, Jul 20, 2015 at 10:53:18PM +0200, Josef Gajdusek wrote:
> Iteaduino Plus A10 is a breakout board + Itead Core A10. It features 1GB RAM,
> has most of the A10 pins on a .1" header, 2 USB ports, 1 OTG USB port,
> Ethernet, HDMI, SATA, Speaker/Microphone 3.5mm jacks and an SD card slot.
>
>
Because following stat patches use id_offset together
with priv pointer.
Link: http://lkml.kernel.org/n/tip-ts3nkj35lx54whb649by0...@git.kernel.org
Signed-off-by: Jiri Olsa
---
tools/perf/util/evsel.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/perf/util/evsel.h
Hi,
Le 21/07/2015 10:19, Oliver Neukum a écrit :
On Mon, 2015-07-20 at 23:03 +0200, Yann Cantin wrote:
diff --git a/drivers/input/misc/ebeam.c b/drivers/input/misc/ebeam.c
new file mode 100644
index 000..79cac51
--- /dev/null
+++ b/drivers/input/misc/ebeam.c
+/* Electronics For
Disabling all non stat related features.
Link: http://lkml.kernel.org/n/tip-0av5yfkwyywwgoiali88w...@git.kernel.org
Signed-off-by: Jiri Olsa
---
tools/perf/builtin-stat.c | 15 +++
1 file changed, 15 insertions(+)
diff --git a/tools/perf/builtin-stat.c b/tools/perf/builtin-stat.c
Synthesizing needed stat record data for report/script:
- cpu/thread maps
- stat config
Link: http://lkml.kernel.org/n/tip-wni1s2i2sq17g4vomjyda...@git.kernel.org
Signed-off-by: Jiri Olsa
---
tools/perf/builtin-stat.c | 48 +++
1 file changed, 48
Store event IDs in evlist object so it get stored
into perf.data file.
Link: http://lkml.kernel.org/n/tip-v2xwpeots3tz08e44lej5...@git.kernel.org
Signed-off-by: Jiri Olsa
---
tools/perf/builtin-stat.c | 35 +++
tools/perf/util/evlist.c | 6 +++---
Writing stat events on 'perf stat record' at the time
we read counter values from kernel.
Link: http://lkml.kernel.org/n/tip-ojc826gy0x9jj74elbjfc...@git.kernel.org
Signed-off-by: Jiri Olsa
---
tools/perf/builtin-stat.c | 19 +++
1 file changed, 19 insertions(+)
diff --git
Adding 'perf stat report' command support. ATM it only
processes attr events and display nothing.
Link: http://lkml.kernel.org/n/tip-a43rs4c6szofeuo2gjlcp...@git.kernel.org
Signed-off-by: Jiri Olsa
---
tools/perf/Documentation/perf-stat.txt | 12
tools/perf/builtin-stat.c
Allowing storing stat record data into pipe, so report
tools (report/script) could read data directly from
record.
Link: http://lkml.kernel.org/n/tip-m8fj758gty57hgvss5efy...@git.kernel.org
Signed-off-by: Jiri Olsa
---
tools/perf/builtin-stat.c | 39 ---
1
There's no need to check sampling output fields
for events without perf_event_attr::sample_type
field set.
Link: http://lkml.kernel.org/n/tip-uommbr3wo4913tpkkgq2s...@git.kernel.org
Signed-off-by: Jiri Olsa
---
tools/perf/builtin-script.c | 5 -
1 file changed, 4 insertions(+), 1
So we have csv_sep properly initialized before
report command leg.
Link: http://lkml.kernel.org/n/tip-i5mmbomj7lt4eg04awzoc...@git.kernel.org
Signed-off-by: Jiri Olsa
---
tools/perf/builtin-stat.c | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git
Adding processing of stat and stat round events.
Link: http://lkml.kernel.org/n/tip-qc3ihpf6j8hlfdts64uj4...@git.kernel.org
Signed-off-by: Jiri Olsa
---
tools/perf/builtin-stat.c | 25 +
1 file changed, 25 insertions(+)
diff --git a/tools/perf/builtin-stat.c
On Tue, Jul 21, 2015 at 11:07:55AM +0100, Marc Zyngier wrote:
> The irqdomain code is not entierely really ACPI friendly, as it has
> some built-in knowledge of the device-tree. Nothing too harmful, but
> enough to scare the ARM ACPI developpers which end up with their own
> version of the square
Adding processing of cpu/threads maps. Configuring session's
evlist with these maps.
Link: http://lkml.kernel.org/n/tip-s3txa1u2qv3bi8uspp4hi...@git.kernel.org
Signed-off-by: Jiri Olsa
---
tools/perf/builtin-script.c | 65 +
1 file changed, 65
Adding processing of stat config event and initialize
stat_config object.
Link: http://lkml.kernel.org/n/tip-1m1s8mahzq38foo32qb7p...@git.kernel.org
Signed-off-by: Jiri Olsa
---
tools/perf/builtin-script.c | 11 +++
1 file changed, 11 insertions(+)
diff --git
Python and perl scripting code will define those
callbacks and get stat data.
Link: http://lkml.kernel.org/n/tip-6802z3siu5f59wdsmhaym...@git.kernel.org
Signed-off-by: Jiri Olsa
---
tools/perf/util/trace-event.h | 4
1 file changed, 4 insertions(+)
diff --git
On Tue, Jul 21, 2015 at 11:08:00AM +0100, Marc Zyngier wrote:
> Now that the basic ACPI GSI code is irq domain aware, make sure
> that the ACPI support in the GIC doesn't pointlessly deviate from
> the DT path.
>
> Signed-off-by: Marc Zyngier
> ---
> drivers/irqchip/irq-gic.c | 17
If no script is specified for stat data, display
stat events in raw form.
Link: http://lkml.kernel.org/n/tip-ph7bpnetmskvmietfwllf...@git.kernel.org
Signed-off-by: Jiri Olsa
---
tools/perf/builtin-script.c | 35 +--
1 file changed, 33 insertions(+), 2
Adding processing of cpu/threads maps. Configuring session's
evlist with these maps.
Link: http://lkml.kernel.org/n/tip-f2bo5wm0cw76zc5qsjm4p...@git.kernel.org
Signed-off-by: Jiri Olsa
---
tools/perf/builtin-stat.c | 59 +++
1 file changed, 59
Add 'perf stat record' command support. It creates simple
(header only) perf.data file ATM.
Link: http://lkml.kernel.org/n/tip-0av5yfkwyywwgoiali88w...@git.kernel.org
Signed-off-by: Jiri Olsa
---
tools/perf/Documentation/perf-stat.txt | 12 ++
tools/perf/builtin-stat.c | 74
Writing stat round events on 'perf stat record' for
each interval round. In non interval mode we store
round event after the last stat event.
Link: http://lkml.kernel.org/n/tip-a43rs4c6szofeuo2gjlcp...@git.kernel.org
Signed-off-by: Jiri Olsa
---
tools/perf/builtin-stat.c | 17 +
Introduce perf_event__synthesize_stat_round function to
synthesize 'struct stat_round_event'.
Link: http://lkml.kernel.org/n/tip-gl8rk2il9grrnqalrqlo7...@git.kernel.org
Signed-off-by: Jiri Olsa
---
tools/perf/tests/builtin-test.c | 4
tools/perf/tests/stat.c | 19
Implement struct scripting_ops::(process_stat|process_stat_interval)
handlers - calling scripting handlers from stat events handlers.
Link: http://lkml.kernel.org/n/tip-3iu6vmvuur1bntbnh43v3...@git.kernel.org
Signed-off-by: Jiri Olsa
---
tools/perf/builtin-script.c | 31
Add support to get stat events data in perf python scripts.
Link: http://lkml.kernel.org/n/tip-jojiaelyckrw6040wqc06...@git.kernel.org
Signed-off-by: Jiri Olsa
---
.../util/scripting-engines/trace-event-python.c| 113 +++--
1 file changed, 107 insertions(+), 6 deletions(-)
Link: http://lkml.kernel.org/n/tip-15vwwb4yea15wzz6bqbxd...@git.kernel.org
Signed-off-by: Jiri Olsa
---
tools/perf/scripts/python/stat-cpi.py | 74 +++
1 file changed, 74 insertions(+)
create mode 100644 tools/perf/scripts/python/stat-cpi.py
diff --git
Introducing perf_event__process_stat_event function to process
'struct perf_stat' data from stat event.
Link: http://lkml.kernel.org/n/tip-2bvpxxp60e0qqcsecohge...@git.kernel.org
Signed-off-by: Jiri Olsa
---
tools/perf/util/stat.c | 23 +++
tools/perf/util/stat.h | 6 ++
Introducing thread_map__new_event function to create
struct thread_map object from thread_map event.
Link: http://lkml.kernel.org/n/tip-0gu5uv3g51p4mzul93bhh...@git.kernel.org
Signed-off-by: Jiri Olsa
---
tools/perf/tests/thread-map.c | 14 ++
tools/perf/util/thread_map.c | 27
Forcing perf_evlist__set_maps to propagate maps through events,
so cpu/thread maps get set within evlist.
Link: http://lkml.kernel.org/n/tip-0oqwhvjdr3jgfzkbd3qee...@git.kernel.org
Signed-off-by: Jiri Olsa
---
tools/perf/util/evlist.c | 17 +
tools/perf/util/evlist.h | 11
Adding stat event to store 'struct perf_counter_values' for
given event/cpu/thread.
Link: http://lkml.kernel.org/n/tip-56xpt7m6au4d8u39nffoq...@git.kernel.org
Signed-off-by: Jiri Olsa
---
tools/perf/util/event.c | 1 +
tools/perf/util/event.h | 19 +++
Moving output into struct perf_stat_config. The point is to centralize
the base stat config so it could be used localy together with
other stat routines in other parts of perf code.
Link: http://lkml.kernel.org/n/tip-jok5ek0ykuhik22i6morr...@git.kernel.org
Signed-off-by: Jiri Olsa
---
On Thu 16-07-15 15:35:39, Sasha Levin wrote:
> Commit "mm: send one IPI per CPU to TLB flush all entries after unmapping
> pages" added a trace_tlb_flush() while preemption was still enabled. This
> means that we'll access smp_processor_id() which in turn will get us quite
> a few warnings.
>
>
On Fri, Jul 17, 2015 at 08:39:26AM +0530, Vinod Koul wrote:
> On Thu, Jul 16, 2015 at 04:11:05PM +0200, Maxime Ripard wrote:
> > Hi Vinod,
> >
> > > > + /*
> > > > +* The scatterlist API gives us only the address and
> > > > +* length of each
On Thu 16-07-15 13:55:13, Davidlohr Bueso wrote:
> The shrinker_rwsem is a global lock that protects the shrinker_list,
> serializing a shrinking call with register/unregistering the shrinker
> itself. As such, this lock is taken mostly for reading. In the unlikely
> case that the the list is
Hi,
Le 20/07/2015 23:59, Greg KH a écrit :
On Mon, Jul 20, 2015 at 11:03:19PM +0200, Yann Cantin wrote:
diff --git a/Documentation/ABI/testing/sysfs-driver-ebeam
b/Documentation/ABI/testing/sysfs-driver-ebeam
+++ b/Documentation/ABI/testing/sysfs-driver-ebeam
@@ -0,0 +1,53 @@
+What:
Signed-off-by: Nicolas Schichan
---
arch/arm/net/bpf_jit_32.c | 11 +++
1 file changed, 11 insertions(+)
diff --git a/arch/arm/net/bpf_jit_32.c b/arch/arm/net/bpf_jit_32.c
index 4550d24..67a2d44 100644
--- a/arch/arm/net/bpf_jit_32.c
+++ b/arch/arm/net/bpf_jit_32.c
@@ -864,6 +864,17 @@
Hello,
This serie adds support for more instructions to the ARM BPF JIT
namely skb netdevice type retrieval, skb payload offset retrieval, and
skb packet type retrieval.
This allows 35 tests to use the JIT instead of 29 before.
This serie depends on the "BPF JIT fixes for ARM" serie sent
Signed-off-by: Nicolas Schichan
---
arch/arm/net/bpf_jit_32.c | 8
1 file changed, 8 insertions(+)
diff --git a/arch/arm/net/bpf_jit_32.c b/arch/arm/net/bpf_jit_32.c
index 67a2d44..fe28beb 100644
--- a/arch/arm/net/bpf_jit_32.c
+++ b/arch/arm/net/bpf_jit_32.c
@@ -884,6 +884,14 @@
Signed-off-by: Nicolas Schichan
---
arch/arm/net/bpf_jit_32.c | 22 --
arch/arm/net/bpf_jit_32.h | 3 +++
2 files changed, 23 insertions(+), 2 deletions(-)
diff --git a/arch/arm/net/bpf_jit_32.c b/arch/arm/net/bpf_jit_32.c
index fe28beb..6dcff2b 100644
---
601 - 700 of 2004 matches
Mail list logo