not sure about this approach. Maybe it'd be better be more
global..? So before throwing this out, sending it as RFC ;-)
thanks for ideas,
jirka
Signed-off-by: Jiri Olsa jo...@redhat.com
Cc: Corey Ashford cjash...@linux.vnet.ibm.com
Cc: Frederic Weisbecker fweis...@gmail.com
Cc: Ingo Molnar mi
it's not needed.
Signed-off-by: Jiri Olsa jo...@redhat.com
Cc: Corey Ashford cjash...@linux.vnet.ibm.com
Cc: Frederic Weisbecker fweis...@gmail.com
Cc: Ingo Molnar mi...@elte.hu
Cc: Namhyung Kim namhy...@kernel.org
Cc: Paul Mackerras pau...@samba.org
Cc: Peter Zijlstra a.p.zijls...@chello.nl
Cc
Adding internal error (PERF_EVLIST__ERRNO_MMAP) for case
when 'mmap' syscall fails.
Signed-off-by: Jiri Olsa jo...@redhat.com
Cc: Corey Ashford cjash...@linux.vnet.ibm.com
Cc: Frederic Weisbecker fweis...@gmail.com
Cc: Ingo Molnar mi...@elte.hu
Cc: Namhyung Kim namhy...@kernel.org
Cc: Paul
Adding internal error (PERF_EVLIST__ERRNO_IOCTL_ID_GROUP) for
cases when ioctl syscall fails during perf_evlist__mmap call.
Signed-off-by: Jiri Olsa jo...@redhat.com
Cc: Corey Ashford cjash...@linux.vnet.ibm.com
Cc: Frederic Weisbecker fweis...@gmail.com
Cc: Ingo Molnar mi...@elte.hu
Cc: Namhyung
:
Failed to mmap events with error 12 (Cannot allocate memory)
Signed-off-by: Jiri Olsa jo...@redhat.com
Cc: Corey Ashford cjash...@linux.vnet.ibm.com
Cc: Frederic Weisbecker fweis...@gmail.com
Cc: Ingo Molnar mi...@elte.hu
Cc: Namhyung Kim namhy...@kernel.org
Cc: Paul Mackerras pau...@samba.org
Cc
Adding internal error (PERF_EVLIST__ERRNO_NEWTP) for case
when perf_evlist__add_newtp call fails.
Moving perf_evlist__strerror_tp function to the error
string handling framework.
Signed-off-by: Jiri Olsa jo...@redhat.com
Cc: Corey Ashford cjash...@linux.vnet.ibm.com
Cc: Frederic Weisbecker fweis
Adding internal error (PERF_EVLIST__ERRNO_OPEN) for
cases when perf_evlist__open fails.
Signed-off-by: Jiri Olsa jo...@redhat.com
Cc: Corey Ashford cjash...@linux.vnet.ibm.com
Cc: Frederic Weisbecker fweis...@gmail.com
Cc: Ingo Molnar mi...@elte.hu
Cc: Namhyung Kim namhy...@kernel.org
Cc: Paul
---
Removing malloc_or_die calls from plugin_function.c,
replacing them and factoring the code with standard
realloc and error path.
Suggested-by: Namhyung Kim namhy...@kernel.org
Signed-off-by: Jiri Olsa jo...@redhat.com
Cc: Corey Ashford cjash...@linux.vnet.ibm.com
Cc: Frederic Weisbecker fweis
On Sat, Nov 16, 2013 at 07:41:34PM -0800, Andi Kleen wrote:
I'd say that the default behavior should be what Jiri implemented: get
the most out of the situation and inform. But you are right in that
'forcing' all elements of a group to be valid should be possible as
well - if a special
On Thu, Nov 28, 2013 at 10:54:25PM +0530, Ramkumar Ramachandra wrote:
Jiri Olsa wrote:
these colors are not consistent with colors in baseline,
moreover all negative values are shown as red
- please check get_percent_color function (used for baseline),
it checks the percentage against
On Fri, Nov 29, 2013 at 02:43:35PM +0100, Stephane Eranian wrote:
On Fri, Nov 29, 2013 at 2:33 PM, Jiri Olsa jo...@redhat.com wrote:
On Sat, Nov 16, 2013 at 07:41:34PM -0800, Andi Kleen wrote:
I'd say that the default behavior should be what Jiri implemented: get
the most out
On Thu, Nov 28, 2013 at 09:02:23PM +0100, Jean Pihet wrote:
On 28 November 2013 14:46, Arnaldo Carvalho de Melo a...@infradead.org
wrote:
Em Thu, Nov 28, 2013 at 09:56:19AM -0300, Arnaldo Carvalho de Melo escreveu:
Em Thu, Nov 28, 2013 at 10:58:01AM +0100, Jiri Olsa escreveu:
On Wed, Nov
On Fri, Nov 29, 2013 at 03:42:35PM -0300, Arnaldo Carvalho de Melo wrote:
Em Thu, Nov 28, 2013 at 12:33:05PM +0100, Jiri Olsa escreveu:
Backporting jbd2 plugin.
Backported from Steven Rostedt's trace-cmd repo (HEAD 0f2c2fb):
git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace
On Fri, Nov 29, 2013 at 03:34:39PM -0300, Arnaldo Carvalho de Melo wrote:
Em Thu, Nov 28, 2013 at 12:33:00PM +0100, Jiri Olsa escreveu:
We use -fstack-protector-all option to enable stack protecting
for all available functions. There's no reason for enabling
-Wstack-protector to get warning
On Fri, Nov 29, 2013 at 04:31:13PM -0300, Arnaldo Carvalho de Melo wrote:
Em Fri, Nov 29, 2013 at 03:42:35PM -0300, Arnaldo Carvalho de Melo escreveu:
Em Thu, Nov 28, 2013 at 12:33:05PM +0100, Jiri Olsa escreveu:
This plugin adds field resolving functions for following tracepoint
events
On Fri, Nov 29, 2013 at 07:06:30PM +0530, Ramkumar Ramachandra wrote:
Color the numbers in the Delta column using percent_color_snprintf().
Generalize the function so that we can accommodate all three comparison
methods in the future: delta, ratio, and wdiff.
Cc: Jiri Olsa jo...@redhat.com
On Fri, Nov 29, 2013 at 07:06:31PM +0530, Ramkumar Ramachandra wrote:
In
$ perf diff -c ratio
color the Ratio column using percent_color_snprintf().
Cc: Jiri Olsa jo...@redhat.com
Cc: Arnaldo Carvalho de Melo a...@redhat.com
Signed-off-by: Ramkumar Ramachandra artag...@gmail.com
On Mon, Dec 02, 2013 at 04:26:51PM -0300, Arnaldo Carvalho de Melo wrote:
Em Sat, Nov 30, 2013 at 05:49:21PM +0100, Jiri Olsa escreveu:
On Fri, Nov 29, 2013 at 04:31:13PM -0300, Arnaldo Carvalho de Melo wrote:
Em Fri, Nov 29, 2013 at 03:42:35PM -0300, Arnaldo Carvalho de Melo
escreveu
On Fri, Oct 11, 2013 at 04:04:43PM -0600, David Ahern wrote:
On 10/11/13 3:51 PM, Andi Kleen wrote:
David Ahern dsah...@gmail.com writes:
On 10/11/13 9:11 AM, David Ahern wrote:
It would be nice to fix the callchain arg handler to not attempt to
process the next argument if it is not fp or
On Fri, Oct 11, 2013 at 02:15:35PM +0900, Namhyung Kim wrote:
Hello,
This is a new version of callchain improvement patchset. Basically
it's almost same as v4 but rebased on current acme/perf/core and some
functions are renamed as Frederic requested.
Now I'm hunting down a bug in 'perf
On Sun, Oct 13, 2013 at 12:25:21PM +0200, Jiri Olsa wrote:
SNIP
I'll try to come up with something later today
jirka
hi,
here it is.. not fully tested, no doc updates, dont want
to go too far before we agreed on this ;-)
thanks for comments,
jirka
--
The callchain option is now used
Adding new top level Makefile invalidated the
DEBUG variable check for command line origin.
Moving this check into Makefile.perf.
Signed-off-by: Jiri Olsa jo...@redhat.com
Cc: Corey Ashford cjash...@linux.vnet.ibm.com
Cc: David Ahern dsah...@gmail.com
Cc: Ingo Molnar mi...@elte.hu
Cc: Namhyung
On Mon, Oct 14, 2013 at 01:50:09PM +0900, Namhyung Kim wrote:
On Sun, 13 Oct 2013 14:34:44 +0200, Jiri Olsa wrote:
I put perf archive and data output in here if you're interested:
http://people.redhat.com/jolsa/cc/
I can't download the data output (but the archive is fine).
$ curl
On Mon, Oct 14, 2013 at 09:16:11AM +0200, Ingo Molnar wrote:
* Jiri Olsa jo...@redhat.com wrote:
Adding new top level Makefile invalidated the
DEBUG variable check for command line origin.
Moving this check into Makefile.perf.
This ought to be fixed in my latest tip:tmp.perf
On Tue, Oct 15, 2013 at 09:25:40AM +0200, Ingo Molnar wrote:
* Namhyung Kim namhy...@kernel.org wrote:
3)
The rec-bytes_at_mmap_start field feels a bit weird. If I read the code
correctly, in every 'perf record' invocation, rec-bytes_written starts
at
0 - i.e. we don't
perf_session are changed now.
Signed-off-by: Jiri Olsa jo...@redhat.com
Cc: Corey Ashford cjash...@linux.vnet.ibm.com
Cc: Frederic Weisbecker fweis...@gmail.com
Cc: Ingo Molnar mi...@elte.hu
Cc: Namhyung Kim namhy...@kernel.org
Cc: Paul Mackerras pau...@samba.org
Cc: Peter Zijlstra a.p.zijls...@chello.nl
Adding perf_data_file__open interface to data object
to open the perf.data file for both read and write.
Signed-off-by: Jiri Olsa jo...@redhat.com
Cc: Corey Ashford cjash...@linux.vnet.ibm.com
Cc: Frederic Weisbecker fweis...@gmail.com
Cc: Ingo Molnar mi...@elte.hu
Cc: Namhyung Kim namhy
Removing 'fd, fd_pipe, filename, size' from struct perf_session
and replacing them with struct perf_data_file object.
Signed-off-by: Jiri Olsa jo...@redhat.com
Cc: Corey Ashford cjash...@linux.vnet.ibm.com
Cc: Frederic Weisbecker fweis...@gmail.com
Cc: Ingo Molnar mi...@elte.hu
Cc: Namhyung Kim
On Mon, Nov 11, 2013 at 04:08:10PM -0500, Steven Rostedt wrote:
Jiri Olsa was writing a plugin for the cfg80211_tx_mlme_mgmt trace
event, and was not able to get the implemented function working.
The event's print fmt looks like:
netdev:%s(%d), ftype:0x%.2x, REC-name, REC-ifindex
On Mon, Nov 18, 2013 at 09:59:45AM -0300, Arnaldo Carvalho de Melo wrote:
Em Fri, Nov 15, 2013 at 06:46:09AM +0100, Ingo Molnar escreveu:
btw., here's some 'perf top' call graph performance and profiling
quality feedback, with the latest perf code:
'perf top --call-graph fp' now works
On Mon, Nov 18, 2013 at 03:26:53PM +0100, Ingo Molnar wrote:
* Jiri Olsa jo...@redhat.com wrote:
On Mon, Nov 18, 2013 at 09:59:45AM -0300, Arnaldo Carvalho de Melo wrote:
Em Fri, Nov 15, 2013 at 06:46:09AM +0100, Ingo Molnar escreveu:
btw., here's some 'perf top' call graph
to store data size
v2 change:
- better error handling suggested by Namhyung Kim.
Signed-off-by: Jiri Olsa jo...@redhat.com
Cc: Corey Ashford cjash...@linux.vnet.ibm.com
Cc: Frederic Weisbecker fweis...@gmail.com
Cc: Ingo Molnar mi...@elte.hu
Cc: Namhyung Kim namhy...@kernel.org
Cc: Paul Mackerras
Adding traceevent_host_bigendian function to get host
endianity. It's used in following patches.
Signed-off-by: Steven Rostedt rost...@goodmis.org
Signed-off-by: Jiri Olsa jo...@redhat.com
Cc: Corey Ashford cjash...@linux.vnet.ibm.com
Cc: Frederic Weisbecker fweis...@gmail.com
Cc: Ingo Molnar mi
properly initialized global trace-event
object, ensuring proper plugins processing.
Signed-off-by: Jiri Olsa jo...@redhat.com
Cc: Corey Ashford cjash...@linux.vnet.ibm.com
Cc: Frederic Weisbecker fweis...@gmail.com
Cc: Ingo Molnar mi...@elte.hu
Cc: Namhyung Kim namhy...@kernel.org
Cc: Paul Mackerras
This path is propagated to the plugin object as
a plugins search path.
Signed-off-by: Jiri Olsa jo...@redhat.com
Cc: Corey Ashford cjash...@linux.vnet.ibm.com
Cc: Frederic Weisbecker fweis...@gmail.com
Cc: Ingo Molnar mi...@elte.hu
Cc: Namhyung Kim namhy...@kernel.org
Cc: Paul Mackerras pau...@samba.org
Cc
2576 [001] 781.731668: kvmmmu:kvm_mmu_unsync_page: 3/0
q0 --- !pge !nxe root 10 unsync
Signed-off-by: Jiri Olsa jo...@redhat.com
Cc: Corey Ashford cjash...@linux.vnet.ibm.com
Cc: Frederic Weisbecker fweis...@gmail.com
Cc: Ingo Molnar mi...@elte.hu
Cc: Namhyung Kim namhy...@kernel.org
Cc: Paul
-by: Jiri Olsa jo...@redhat.com
Cc: Corey Ashford cjash...@linux.vnet.ibm.com
Cc: Frederic Weisbecker fweis...@gmail.com
Cc: Ingo Molnar mi...@elte.hu
Cc: Namhyung Kim namhy...@kernel.org
Cc: Paul Mackerras pau...@samba.org
Cc: Peter Zijlstra a.p.zijls...@chello.nl
Cc: Arnaldo Carvalho de Melo
0x88019f1e3670 old 0x140cec75 new
140cec77 spurious 0 fixed 1
Signed-off-by: Jiri Olsa jo...@redhat.com
Cc: Corey Ashford cjash...@linux.vnet.ibm.com
Cc: Frederic Weisbecker fweis...@gmail.com
Cc: Ingo Molnar mi...@elte.hu
Cc: Namhyung Kim namhy...@kernel.org
Cc: Paul Mackerras pau...@samba.org
Cc
Removing malloc_or_die calls from plugin_function.c,
replacing them and factoring the code with standard
realloc and error path.
Suggested-by: Namhyung Kim namhy...@kernel.org
Signed-off-by: Jiri Olsa jo...@redhat.com
Cc: Corey Ashford cjash...@linux.vnet.ibm.com
Cc: Frederic Weisbecker fweis
similar to the rest, so I believe it's ok.
Signed-off-by: Jiri Olsa jo...@redhat.com
Cc: Corey Ashford cjash...@linux.vnet.ibm.com
Cc: Frederic Weisbecker fweis...@gmail.com
Cc: Ingo Molnar mi...@elte.hu
Cc: Namhyung Kim namhy...@kernel.org
Cc: Paul Mackerras pau...@samba.org
Cc: Peter Zijlstra
15519 [003] 5332.470049: kvm:kvm_emulate_insn:
0:8103c596:89 b7 00 80 5f ff (prot64)
+ qemu-system-x86 15519 [003] 5332.470049: kvm:kvm_emulate_insn:
0:8103c596: mov %esi, -0xa08000(%rdi)
Signed-off-by: Jiri Olsa jo...@redhat.com
Cc: Corey Ashford cjash...@linux.vnet.ibm.com
Cc
There's no need for following functions to be global:
process_jbd2_dev_to_name
process_jiffies_to_msecs
Making them static.
Signed-off-by: Jiri Olsa jo...@redhat.com
Cc: Corey Ashford cjash...@linux.vnet.ibm.com
Cc: Frederic Weisbecker fweis...@gmail.com
Cc: Ingo Molnar mi...@elte.hu
Cc
Several cleanups suggested by Namhyung:
* removing index field from struct func_stack as
it's not needed
* renaming get_index into add_and_get_index
* using '%*X' format string capability instead of
the loop
Suggested-by: Namhyung Kim namhy...@kernel.org
Signed-off-by: Jiri Olsa jo
Removing malloc_or_die calls from event-plugin.c,
replacing them with standard malloc and error path.
Suggested-by: Namhyung Kim namhy...@kernel.org
Signed-off-by: Jiri Olsa jo...@redhat.com
Cc: Corey Ashford cjash...@linux.vnet.ibm.com
Cc: Frederic Weisbecker fweis...@gmail.com
Cc: Ingo Molnar
indents
Enabling both of them by default.
Signed-off-by: Steven Rostedt rost...@goodmis.org
Signed-off-by: Jiri Olsa jo...@redhat.com
Cc: Corey Ashford cjash...@linux.vnet.ibm.com
Cc: Frederic Weisbecker fweis...@gmail.com
Cc: Ingo Molnar mi...@elte.hu
Cc: Namhyung Kim namhy...@kernel.org
Cc: Paul
, 0b, a9,
c6, f4, 74, d8, 24, bd, a1, 26, 31, d8, 24, bd, a1, 26, 31, 10, b7, 00, 00, 02,
00, 00, 00]
+ kworker/u16:0 1697 [002] 664.808210: cfg80211:cfg80211_rx_mlme_mgmt:
netdev:wlan0(3), ftype:0xb0
Signed-off-by: Jiri Olsa jo...@redhat.com
Cc: Corey Ashford cjash...@linux.vnet.ibm.com
Cc
The traceevent lib uses pr_stat to display all standard
info. It's defined as __weak. Overloading it with perf
version plugged into perf output system logic.
Displaying the pr_stat stuff under '-v' option.
Signed-off-by: Jiri Olsa jo...@redhat.com
Cc: Corey Ashford cjash...@linux.vnet.ibm.com
Cc
broken because of
missing is_writable_pte function and is fixed in another patch
- ommited following tracepoints from backport because
the output was buggy
kvm:kvm_nested_vmexit
kvm:kvm_nested_vmexit_inject
Signed-off-by: Steven Rostedt rost...@goodmis.org
Signed-off-by: Jiri Olsa
] 29643.445546: kmem:kmalloc_node:
(__alloc_skb+0x7e) call_site=8153c67e ptr=0x880103828e00
bytes_req=384 bytes_alloc=512
gfp_flags=GFP_KERNEL|GFP_NOWARN|GFP_REPEAT|GFP_NOMEMALLOC node=-1
Signed-off-by: Steven Rostedt rost...@goodmis.org
Signed-off-by: Jiri Olsa jo...@redhat.com
Cc
into the function name.
Signed-off-by: Steven Rostedt rost...@goodmis.org
Signed-off-by: Jiri Olsa jo...@redhat.com
Cc: Corey Ashford cjash...@linux.vnet.ibm.com
Cc: Frederic Weisbecker fweis...@gmail.com
Cc: Ingo Molnar mi...@elte.hu
Cc: Namhyung Kim namhy...@kernel.org
Cc: Paul Mackerras pau...@samba.org
xen:xen_mmu_ptep_modify_prot_start
xen:xen_mmu_ptep_modify_prot_commit
Signed-off-by: Jiri Olsa jo...@redhat.com
Cc: Corey Ashford cjash...@linux.vnet.ibm.com
Cc: Frederic Weisbecker fweis...@gmail.com
Cc: Ingo Molnar mi...@elte.hu
Cc: Namhyung Kim namhy...@kernel.org
Cc: Paul Mackerras pau...@samba.org
Cc
enable_beacon:0
+
ht_operation_mode:0
Omitting the mac80211:drv_config tracepoint handling
because the kernel tracepoint changed its prototype
and the plugin handler is no longer working.
Signed-off-by: Jiri Olsa jo...@redhat.com
Cc
logging 104
handle_count 2995 blocks 17 blocks_logged 18
This plugin also adds jbd2_dev_to_name function, which
was removed from jdb2 tracepoints recently. Keeping it
in for backward compatibility reasons.
Signed-off-by: Steven Rostedt rost...@goodmis.org
Signed-off-by: Jiri Olsa jo...@redhat.com
Cc
=120
+perf 577 [002] 30965.311852: sched:sched_switch: perf:577
[120] S == swapper/2:0 [120]
Signed-off-by: Steven Rostedt rost...@goodmis.org
Signed-off-by: Jiri Olsa jo...@redhat.com
Cc: Corey Ashford cjash...@linux.vnet.ibm.com
Cc: Frederic Weisbecker fweis...@gmail.com
Cc: Ingo
'struct pevent' and plugins
Signed-off-by: Jiri Olsa jo...@redhat.com
Cc: Corey Ashford cjash...@linux.vnet.ibm.com
Cc: Frederic Weisbecker fweis...@gmail.com
Cc: Ingo Molnar mi...@elte.hu
Cc: Namhyung Kim namhy...@kernel.org
Cc: Paul Mackerras pau...@samba.org
Cc: Peter Zijlstra a.p.zijls...@chello.nl
We use -fstack-protector-all option to enable stack protecting
for all available functions. There's no reason for enabling
-Wstack-protector to get warning for unprotected functions.
Removing stackprotector feature check which was used to
enable the -Wstack-protector option.
Signed-off-by: Jiri
completely.
Signed-off-by: Jiri Olsa jo...@redhat.com
Cc: Corey Ashford cjash...@linux.vnet.ibm.com
Cc: Frederic Weisbecker fweis...@gmail.com
Cc: Ingo Molnar mi...@elte.hu
Cc: Namhyung Kim namhy...@kernel.org
Cc: Paul Mackerras pau...@samba.org
Cc: Peter Zijlstra a.p.zijls...@chello.nl
Cc: Arnaldo
*pevent)
- loads plusing for 'struct pevent' object and returns
loaded plugins list
void traceevent_unload_plugins(struct plugin_list *plugin_list);
- unload plugin list
Signed-off-by: Steven Rostedt rost...@goodmis.org
Signed-off-by: Jiri Olsa jo...@redhat.com
Cc: Corey Ashford
plugin_scsi.so
Signed-off-by: Jiri Olsa jo...@redhat.com
Cc: Corey Ashford cjash...@linux.vnet.ibm.com
Cc: Frederic Weisbecker fweis...@gmail.com
Cc: Ingo Molnar mi...@elte.hu
Cc: Namhyung Kim namhy...@kernel.org
Cc: Paul Mackerras pau...@samba.org
Cc: Peter Zijlstra a.p.zijls...@chello.nl
Cc: Arnaldo
/lib64/traceevent/plugins/plugin_function.so
/opt/perf/lib64/traceevent/plugins/plugin_cfg80211.so
/opt/perf/lib64/traceevent/plugins/plugin_xen.so
Signed-off-by: Jiri Olsa jo...@redhat.com
Cc: Corey Ashford cjash...@linux.vnet.ibm.com
Cc: Frederic Weisbecker fweis...@gmail.com
Cc: Ingo Molnar mi
On Tue, Dec 03, 2013 at 11:16:01AM -0500, Steven Rostedt wrote:
On Tue, 3 Dec 2013 14:09:36 +0100
Jiri Olsa jo...@redhat.com wrote:
Removing malloc_or_die calls from event-plugin.c,
replacing them with standard malloc and error path.
Suggested-by: Namhyung Kim namhy...@kernel.org
On Wed, Dec 04, 2013 at 03:53:02PM -0300, Arnaldo Carvalho de Melo wrote:
SNIP
Auto-detecting system features:
... backtrace: [ on ]
... dwarf: [ on ]
...fortify-source: [ on ]
... glibc: [ on ]
...
On Wed, Dec 04, 2013 at 03:50:24PM -0300, Arnaldo Carvalho de Melo wrote:
Em Tue, Dec 03, 2013 at 02:09:42PM +0100, Jiri Olsa escreveu:
Adding udis86 disassembler feature check which support
is needed for kvm:kvm_emulate_insn tracepoint.
+$(call feature_check,udis86)
+ifeq ($(feature
On Thu, Dec 05, 2013 at 09:05:13AM +0100, Jiri Olsa wrote:
On Wed, Dec 04, 2013 at 03:50:24PM -0300, Arnaldo Carvalho de Melo wrote:
Em Tue, Dec 03, 2013 at 02:09:42PM +0100, Jiri Olsa escreveu:
Adding udis86 disassembler feature check which support
is needed for kvm:kvm_emulate_insn
On Mon, Dec 02, 2013 at 05:19:18PM +0900, Namhyung Kim wrote:
Hi Jiri,
On Fri, 29 Nov 2013 12:45:04 +0100, Jiri Olsa wrote:
hi,
Andi reported wrong error message for :S modifier
on kernel without event ID ioctl support.
The reason was that the ioctl failed, but the error
On Thu, Dec 05, 2013 at 10:25:02AM +0100, Ingo Molnar wrote:
* Jiri Olsa jo...@redhat.com wrote:
On Wed, Dec 04, 2013 at 03:50:24PM -0300, Arnaldo Carvalho de Melo wrote:
Em Tue, Dec 03, 2013 at 02:09:42PM +0100, Jiri Olsa escreveu:
Adding udis86 disassembler feature check which
On Thu, Dec 05, 2013 at 11:04:29AM +0100, Ingo Molnar wrote:
* Arnaldo Carvalho de Melo a...@infradead.org wrote:
From: Arnaldo Carvalho de Melo a...@ghostprotocols.net
Hi Ingo,
Please consider pulling,
- Arnaldo
The following changes since commit
On Thu, Dec 05, 2013 at 11:53:44AM +0100, Ingo Molnar wrote:
SNIP
I saw it again on a system by running two parallel build jobs:
D=/tmp/perf-1; mkdir -p $D; while make O=$D install; do make O=$D clean;
done
D=/tmp/perf-2; mkdir -p $D; while make O=$D install; do make O=$D clean;
On Thu, Dec 05, 2013 at 11:59:14AM +0100, Ingo Molnar wrote:
* Ingo Molnar mi...@kernel.org wrote:
never saw that one.. starting your test on 24 CPUs server now
I saw it again on a system by running two parallel build jobs:
D=/tmp/perf-1; mkdir -p $D; while make O=$D install;
On Thu, Dec 05, 2013 at 01:27:51PM +0100, Ingo Molnar wrote:
* Jiri Olsa jo...@redhat.com wrote:
On Thu, Dec 05, 2013 at 11:59:14AM +0100, Ingo Molnar wrote:
* Ingo Molnar mi...@kernel.org wrote:
never saw that one.. starting your test on 24 CPUs server now
I saw
On Thu, Dec 05, 2013 at 11:45:46AM +0100, Ingo Molnar wrote:
SNIP
1)
So, the first problem I can see is in the output:
Auto-detecting system features:
... backtrace: [ on ]
... dwarf: [ on ]
...
On Thu, Mar 13, 2014 at 11:52:12AM -0400, Ramkumar Ramachandra wrote:
Ramkumar Ramachandra wrote:
Jiri Olsa wrote:
On Mon, Mar 03, 2014 at 08:26:36PM -0500, Ramkumar Ramachandra wrote:
Introduce
$ perf kvm --list-cmds
to dump a raw list of commands for use by the completion script
On Thu, Mar 13, 2014 at 05:16:37PM -0400, Don Zickus wrote:
SNIP
+ event-fork.ptid = tgid;
+ event-fork.pid = tgid;
+ event-fork.tid = pid;
+ event-fork.header.type = PERF_RECORD_FORK;
+
+ event-fork.header.size = (sizeof(event-fork) + machine-id_hdr_size);
+
+
Need machine pointer in thread object, so we could
lookup the process thread in following patch.
Signed-off-by: Jiri Olsa jo...@redhat.com
Cc: Don Zickus dzic...@redhat.com
Cc: Corey Ashford cjash...@linux.vnet.ibm.com
Cc: David Ahern dsah...@gmail.com
Cc: Frederic Weisbecker fweis...@gmail.com
Sharing map groups within all process threads. This way
there's only one copy of mmap info and it's reachale
from any thread within the process.
Signed-off-by: Jiri Olsa jo...@redhat.com
Cc: Don Zickus dzic...@redhat.com
Cc: Corey Ashford cjash...@linux.vnet.ibm.com
Cc: David Ahern dsah
Adding automated test for memory maps lookup within
multiple machines threads.
The test creates 4 threads and separated memory maps.
It checks that we could use thread__find_addr_map
function with thread object based on TID to find
memory maps.
Signed-off-by: Jiri Olsa jo...@redhat.com
Cc: Don
Moving towards sharing map groups within a process threads.
Because of this we need the map groups to be dynamically
allocated. No other functional change is intended in here.
Signed-off-by: Jiri Olsa jo...@redhat.com
Cc: Don Zickus dzic...@redhat.com
Cc: Corey Ashford cjash
Forcing the code to always search thread by pid/tid pair.
The PID value will be needed in future to determine
the process thread leader for map groups sharing.
Signed-off-by: Jiri Olsa jo...@redhat.com
Cc: Don Zickus dzic...@redhat.com
Cc: Corey Ashford cjash...@linux.vnet.ibm.com
Cc: David
thread:
http://marc.info/?l=linux-kernelm=139403876017159w=2
This patches still has some loose ends, just wanted to hear
opinions for this concept.
thanks,
jirka
Signed-off-by: Jiri Olsa jo...@redhat.com
Cc: Don Zickus dzic...@redhat.com
Cc: Corey Ashford cjash...@linux.vnet.ibm.com
Cc: David Ahern
-by: Don Zickus dzic...@redhat.com
--
V2: based on Jiri's comments, moved malloc up a level
and made sure the memory was freed
Acked-by: Jiri Olsa jo...@redhat.com
thanks,
jirka
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord
On Sat, Mar 15, 2014 at 12:17:38PM -0400, Ramkumar Ramachandra wrote:
Cc: Frederic Weisbecker fweis...@gmail.com
Cc: David Ahern dsah...@gmail.com
Cc: Jiri Olsa jo...@redhat.com
Cc: Arnaldo Carvalho de Melo a...@redhat.com
Signed-off-by: Ramkumar Ramachandra artag...@gmail.com
---
tools
On Fri, Mar 14, 2014 at 05:24:21PM -0300, Arnaldo Carvalho de Melo wrote:
Em Fri, Mar 14, 2014 at 03:00:02PM +0100, Jiri Olsa escreveu:
Adding automated test for memory maps lookup within
multiple machines threads.
CC /tmp/build/perf/arch/x86/util/tsc.o
tests/mmap-events.c
On Mon, Mar 17, 2014 at 01:50:12PM +0900, Namhyung Kim wrote:
Hi Jiri,
On Fri, 14 Mar 2014 15:00:02 +0100, Jiri Olsa wrote:
+static int thread_init(struct thread_data *td)
+{
+ void *map;
+
+ map = mmap(NULL, page_size, PROT_READ|PROT_WRITE,
+ MAP_SHARED
On Mon, Mar 17, 2014 at 04:25:15PM +0900, Namhyung Kim wrote:
On Fri, 14 Mar 2014 15:00:06 +0100, Jiri Olsa wrote:
+ if (!mg) {
+ struct thread *leader = thread__get_leader(thread);
+
+ if (!leader)
+ return NULL;
+
+ if (leader-mg
On Mon, Mar 17, 2014 at 04:13:53PM +0900, Namhyung Kim wrote:
On Fri, 14 Mar 2014 15:00:04 +0100, Jiri Olsa wrote:
Moving towards sharing map groups within a process threads.
Because of this we need the map groups to be dynamically
allocated. No other functional change is intended in here
On Mon, Mar 17, 2014 at 04:17:43PM +0900, Namhyung Kim wrote:
Hi Arnaldo,
On Fri, 14 Mar 2014 11:16:12 -0300, Arnaldo Carvalho de Melo wrote:
Em Fri, Mar 14, 2014 at 03:00:05PM +0100, Jiri Olsa escreveu:
Need machine pointer in thread object, so we could
lookup the process thread
On Tue, Mar 18, 2014 at 05:09:33PM +0900, Namhyung Kim wrote:
On Mon, 17 Mar 2014 18:26:38 -0400, Ramkumar Ramachandra wrote:
perf test emits the following warnings on the parse events test:
$ perf test
5: parse events tests
Warning: function sizeof not defined
Warning:
Because it's not used any more.
Signed-off-by: Jiri Olsa jo...@redhat.com
Cc: Don Zickus dzic...@redhat.com
Cc: Corey Ashford cjash...@linux.vnet.ibm.com
Cc: David Ahern dsah...@gmail.com
Cc: Frederic Weisbecker fweis...@gmail.com
Cc: Ingo Molnar mi...@kernel.org
Cc: Namhyung Kim namhy
was there before.. and will be fixed.. eventually ;-)
Acked-by: Jiri Olsa jo...@redhat.com
for the patchset
thanks,
jirka
--
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
On Mon, Feb 24, 2014 at 05:24:41PM +, Will Deacon wrote:
Hi guys,
If I try to run perf record as a non-root user, I end up with the following
(unhelpful) error:
$ perf record -e cycles ls
[...]
Not enough memory for reading perf file header
This is because the addresses in
by using __may_alias__ attribute:
http://gcc.gnu.org/onlinedocs/gcc-4.4.0/gcc/Type-Attributes.html
Using this workaround for the find_first_bit function.
Signed-off-by: Jiri Olsa jo...@redhat.com
Cc: Corey Ashford cjash...@linux.vnet.ibm.com
Cc: Frederic Weisbecker fweis...@gmail.com
Cc: Ingo
On Wed, Feb 26, 2014 at 06:18:05PM +0100, Peter Zijlstra wrote:
On Wed, Feb 26, 2014 at 06:14:26PM +0100, Jiri Olsa wrote:
hi,
got issue below when compiling perf tool on i686 with gcc 4.4,
but not sure the patch is correct workaround here.
thanks for comments,
jirka
. Add support for the new DWARF unwinder library in elfutils (Jiri Olsa)
. Fix build race in the generation of bison files (Jiri Olsa)
. Further streamline the feature detection display, trimming it a bit to
show just the libraries detected, using VF=1 gets a more verbose output
. Add support for the new DWARF unwinder library in elfutils (Jiri Olsa)
. Fix build race in the generation of bison files (Jiri Olsa)
. Further streamline the feature detection display, trimming it a bit to
show just the libraries detected, using VF=1 gets a more verbose output
On Thu, Feb 27, 2014 at 01:30:52PM +0100, Ingo Molnar wrote:
* Jiri Olsa jo...@redhat.com wrote:
On Thu, Feb 27, 2014 at 12:46:58PM +0100, Ingo Molnar wrote:
* Arnaldo Carvalho de Melo a...@infradead.org wrote:
From: Arnaldo Carvalho de Melo a...@ghostprotocols.net
SNIP
The trace_do_page_fault function trigger tracepoint
and then handles the actual page fault.
This could lead to error if the tracepoint caused page
fault. The original cr2 value gets lost and the original
page fault handler kills current process with SIGSEGV.
This happens if you record page
On Fri, Feb 28, 2014 at 04:33:40PM +0100, Jiri Olsa wrote:
The trace_do_page_fault function trigger tracepoint
and then handles the actual page fault.
This could lead to error if the tracepoint caused page
fault. The original cr2 value gets lost and the original
page fault handler kills
On Fri, Feb 28, 2014 at 04:47:08PM +0100, Peter Zijlstra wrote:
On Fri, Feb 28, 2014 at 04:33:40PM +0100, Jiri Olsa wrote:
While I like the idea of just pushing up the CR2 read; the below does
the read too late still, exception_enter() also has a tracepoint in.
please check v2, thanks
jirka
Fixing crash in elf_section_by_name function caused
by missing section name in elf binary.
Reported-by: Albert Strasheim alb...@cloudflare.com
Signed-off-by: Jiri Olsa jo...@redhat.com
Cc: Corey Ashford cjash...@linux.vnet.ibm.com
Cc: David Ahern dsah...@gmail.com
Cc: Frederic Weisbecker fweis
=13930143733r=1w=2
Suggested-by: Peter Zijlstra a.p.zijls...@chello.nl
Signed-off-by: Jiri Olsa jo...@redhat.com
Cc: Peter Zijlstra a.p.zijls...@chello.nl
Cc: Paul Mackerras pau...@samba.org
Cc: Ingo Molnar mi...@redhat.com
Cc: Arnaldo Carvalho de Melo a...@ghostprotocols.net
Cc: H. Peter Anvin h
801 - 900 of 19999 matches
Mail list logo