>From: Dave Chinner [mailto:da...@fromorbit.com]
>On Fri, Feb 22, 2013 at 08:12:52AM +, Tony Lu wrote:
>> I encountered the following panic when using xfs partitions as rootfs, which
>> is due to the truncated log data read by xlog_bread_noalign(). We should
>> extend
>-Original Message-
>From: Ben Myers [mailto:b...@sgi.com]
>
>Hi Tony,
>
>On Fri, Feb 22, 2013 at 08:12:52AM +, Tony Lu wrote:
>> I encountered the following panic when using xfs partitions as rootfs, which
>> is due to the truncated log data read by x
>> For example, if xlog_bread_noalign() wants to read blocks from #1
>> to # 9, in which case the passed parameter blk_no is 1, and nbblks
>> is 8, sectBBsize is 8, after the round down and round up
>> operations, we get blk_no as 0, and nbblks as still 8. We
>> definitely lose the last block of th
I encountered the following panic when using xfs partitions as rootfs, which
is due to the truncated log data read by xlog_bread_noalign(). We should
extend the buffer by one extra log sector to ensure there's enough space to
accommodate requested log data, which we indeed did in xlog_get_bp(), but
>From 1bacfabf8369764126758bbbea1d3963ac778cce Mon Sep 17 00:00:00 2001
From: Lu Zhigang
Date: Thu, 8 Nov 2012 04:31:05 -0500
Subject: [PATCH 1/1] perf symbol: Don't assume .text section is the first
section of vmlinux
The start address derived from /proc/kallsyms in is the start address of
kern
This change includes support for Kprobes, Jprobes and Return Probes.
Signed-off-by: Tony Lu
Signed-off-by: Chris Metcalf
---
I assume it makes sense for this to be pushed via the tile tree;
it's currently queued in tile-next.
arch/tile/Kconfig| 2 +
arch
This commit adds support for static ftrace, graph function support,
and dynamic tracer support.
Signed-off-by: Tony Lu
Signed-off-by: Chris Metcalf
---
I assume it makes sense for this to be pushed via the tile tree;
it's currently queued in tile-next.
arch/tile/Kconfig
With this change, tile Linux now supports address-space layout
randomization for shared objects, stack, heap and vdso.
Signed-off-by: Tony Lu
Signed-off-by: Chris Metcalf
---
arch/tile/include/asm/elf.h | 4
arch/tile/mm/mmap.c | 20 ++--
2 files changed, 22
With this change, tile Linux now supports address-space layout
randomization for shared objects, stack, heap and vdso.
Signed-off-by: Tony Lu
Signed-off-by: Chris Metcalf
---
v2: implement Jiri Kosina's suggestion to copy the math in
mmap_rnd() for x86.
arch/tile/include/asm/elf.h
This change includes support for Kprobes, Jprobes and Return Probes.
Signed-off-by: Tony Lu
Signed-off-by: Chris Metcalf
---
v2: implement Masami Hiramatsu's suggestion to add an insn_has_control()
check to disallow placing probes on instructions that modify control flow.
We can improve th
t;-Original Message-
>From: Mark Tinguely [mailto:tingu...@sgi.com]
>Sent: Saturday, March 02, 2013 4:24 AM
>To: Tony Lu
>Cc: Alex Elder; linux-kernel@vger.kernel.org; Chris Metcalf; x...@oss.sgi.com;
>Ben Myers; Dave Chinner; linux-fsde...@vger.kernel.org
>Subjec
On Thu, Mar 11, 2021 at 08:56:19AM -0500, Steven Rostedt wrote:
> On Thu, 11 Mar 2021 17:44:15 +0800
> Tony Lu wrote:
>
> > ---
> > include/trace/events/net.h| 42 +--
> > include/trace/events/qdisc.h | 4 ++--
> > i
es) -> 0
5. rpc_xdr_alignment
2 holes (8 bytes) -> 0
Link: https://www.spinics.net/lists/netdev/msg726308.html
Link: https://www.spinics.net/lists/netdev/msg726451.html
Cc: David Miller
Cc: Eric Dumazet
Cc: Steven Rostedt
Cc: Ingo Molnar
Suggested-by: Steven Rostedt
Signed-off-by: Ton
On Wed, Mar 10, 2021 at 11:31:12AM -0500, Steven Rostedt wrote:
> On Wed, 10 Mar 2021 17:03:40 +0800
> Tony Lu wrote:
>
> > I use pahole to read vmlinux.o directly with defconfig and
> > CONFIG_DEBUG_INFO enabled, the result shows 22 structs prefixed with
> > trace_ev
les (8 bytes) -> 0
5. rpc_xdr_alignment
2 holes (8 bytes) -> 0
Link: https://www.spinics.net/lists/netdev/msg726308.html
Link: https://www.spinics.net/lists/netdev/msg726451.html
Suggested-by: Steven Rostedt
Signed-off-by: Tony Lu
---
include/trace/ev
distinguish between different net devices.
Output:
-0 [006] ..s. 133.306989: net_dev_xmit: net_inum=4026531992
dev=eth0 skbaddr=11a87c68 len=54 rc=0
Signed-off-by: Tony Lu
---
include/trace/events/net.h | 35 +--
1 file changed, 25 insertions
On Tue, Mar 09, 2021 at 12:40:11PM -0500, Steven Rostedt wrote:
> On Tue, 9 Mar 2021 12:43:50 +0800
> Tony Lu wrote:
>
> > There are lots of net namespaces on the host runs containers like k8s.
> > It is very common to see the same interface names among different net
&g
On Tue, Mar 09, 2021 at 09:12:45PM +0100, Eric Dumazet wrote:
>
>
> On 3/9/21 5:43 AM, Tony Lu wrote:
> > There are lots of net namespaces on the host runs containers like k8s.
> > It is very common to see the same interface names among different net
> > namespac
On Wed, Mar 10, 2021 at 09:22:34AM +, Lorenz Bauer wrote:
> On Tue, 9 Mar 2021 at 20:12, Eric Dumazet wrote:
> >
> > On 3/9/21 5:43 AM, Tony Lu wrote:
> > > There are lots of net namespaces on the host runs containers like k8s.
> > > It is very common to s
From: Zhigang Lu
This patchset adds perf support for tile architecture. The code is based on x86
perf event code, and it has been tested on tile for 2 years.
Zhigang Lu (4):
tile: Add support for handling PMC hardware
tile: Enable NMIs on return from handle_nmi() without errors
tile/perf:
The PMC module is used by perf_events, oprofile and watchdogs.
Signed-off-by: Zhigang Lu
Signed-off-by: Chris Metcalf
---
arch/tile/Kconfig| 4 ++
arch/tile/include/asm/pmc.h | 64 +++
arch/tile/kernel/Makefile| 1 +
arch/tile/kernel/intvec_32.S | 13 +
NMI interrupts mask ALL interrupts before calling the handler,
so we need to unmask NMIs according to the value handle_nmi() returns.
If it returns zero, the NMIs should be re-enabled; if it returns
a non-zero error, the NMIs should be disabled.
Signed-off-by: Zhigang Lu
Signed-off-by: Chris Metc
Add perf support for tile architecture.
Signed-off-by: Zhigang Lu
Signed-off-by: Chris Metcalf
---
arch/tile/Kconfig |2 +
arch/tile/include/asm/perf_event.h | 22 +
arch/tile/kernel/Makefile |1 +
arch/tile/kernel/irq.c | 18 +
arch/tile/kernel
Tested by building perf:
- Cross-compiled for tile on x86_64
- Built natively on tile
Signed-off-by: Zhigang Lu
Signed-off-by: Chris Metcalf
---
tools/perf/config/Makefile.arch | 3 ++-
tools/perf/perf.h | 8
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/
>-Original Message-
>From: Peter Zijlstra [mailto:pet...@infradead.org]
>Sent: Thursday, March 06, 2014 5:07 PM
>To: Tony Lu
>Cc: Paul Mackerras; Ingo Molnar; Arnaldo Carvalho de Melo; Chris Metcalf;
>linux-kernel@vger.kernel.org
>Subject: Re: [PATCH 3/4] tile/perf: S
>-Original Message-
>From: Peter Zijlstra [mailto:pet...@infradead.org]
>Sent: Thursday, March 06, 2014 5:11 PM
>To: Tony Lu
>Cc: Paul Mackerras; Ingo Molnar; Arnaldo Carvalho de Melo; Chris Metcalf;
>linux-kernel@vger.kernel.org
>Subject: Re: [PATCH 1/4] tile: Add sup
Thanks, I see. I was using the mainline tree, but it was just updated to
3.13-rc8.
>-Original Message-
>From: Arnaldo Carvalho de Melo [mailto:arnaldo.m...@gmail.com] On Behalf Of
>Arnaldo Carvalho de Melo
>Sent: Monday, February 10, 2014 8:39 PM
>To: Tony Lu
>Cc: Pe
Hi
I got the below output that shows perf can not resolve symbols for forked
threads. I did a system-wide collection from all CPUs after the application
hello run.
-bash-4.1$ ./perf --version
perf version 3.16.rc1.ge99cfa2
-bash-4.1$ ./hello & ./perf record -a sleep 5
-bash-4.1$ ./perf report
#
Thanks for your reply.
>-Original Message-
>From: Peter Zijlstra [mailto:pet...@infradead.org]
>Sent: Monday, June 23, 2014 5:13 PM
>To: Tony Lu
>Cc: Paul Mackerras; Ingo Molnar; Arnaldo Carvalho de Melo;
>linux-kernel@vger.kernel.org; Chris Metcalf
>Subject: Re
Revert the logic of checking the return value of thread__set_comm().
If thread__set_comm() returns zero without errors, we should not return
immediately, instead we should finish the rest of the clone work.
Otherwise, perf report would fail to resolve symbols sampled in forked
threads.
Signed-off
This matches the existing behavior in arch/tile/Makefile for defconfig.
Reported-by: fengguang...@intel.com
Signed-off-by: Tony Lu
Signed-off-by: Chris Metcalf
---
Chris Metcalf will push this change via the tile tree.
scripts/recordmcount.pl | 3 ++-
1 file changed, 2 insertions(+), 1
>-Original Message-
>Fix building errors occuring due to a missing export of flush_icache_range()
>in
>
>kisskb.ellerman.id.au/kisskb/buildresult/11677809/
>
>ERROR: "flush_icache_range" [drivers/misc/lkdtm.ko] undefined!
>
>Signed-off-by: Pranith Kumar
>Reported-by: Geert Uytterhoeven
>C
This introduces a new tracepoint trace_udp_queue_rcv, it will trace UDP
packets that are going to be queued on the socket receive queue.
Signed-off-by: Tony Lu
---
include/trace/events/udp.h | 7 +++
net/ipv4/udp.c | 1 +
net/ipv6/udp.c | 1 +
3 files changed, 9
This removes '\n' from trace event class tcp_event_sk_skb to avoid
redundant new blank line and make output compact.
Signed-off-by: Tony Lu
---
include/trace/events/tcp.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/trace/events/tcp.h b/include/trace/ev
This series introduces two new tracepoints trace_udp_send and
trace_udp_queue_rcv, and removes redundant new line from
tcp_event_sk_skb.
Tony Lu (3):
udp: introduce a new tracepoint for udp_send_skb
udp: introduce a new tracepoint for udp_queue_rcv_skb
tcp: remove redundant new line from
integrate into perf or ebpf.
Signed-off-by: Tony Lu
---
include/trace/events/udp.h | 81 ++
net/ipv4/udp.c | 1 +
net/ipv6/udp.c | 2 +
3 files changed, 84 insertions(+)
diff --git a/include/trace/events/udp.h b/include/trace/events/udp.h
36 matches
Mail list logo