Re: powerpc/perf: hw breakpoints return ENOSPC

2012-09-26 Thread Jovi Zhang
On Thu, Aug 16, 2012 at 12:23 PM, Michael Neuling mi...@neuling.org wrote: Hi, I've been trying to get hardware breakpoints with perf to work on POWER7 but I'm getting the following: % perf record -e mem:0x1000 true Error: sys_perf_event_open() syscall returned with 28 (No space

Re: [PATCH] uprobe: fix misleading log entry

2012-10-11 Thread Jovi Zhang
On Wed, Jul 18, 2012 at 5:22 PM, Srikar Dronamraju sri...@linux.vnet.ibm.com wrote: * Jovi Zhang bookj...@gmail.com [2012-07-18 11:08:42]: From 68232ef2decae95b807f2f3763e8ea99c1a3b2ae Mon Sep 17 00:00:00 2001 From: Jovi Zhang bookj...@gmail.com Date: Wed, 18 Jul 2012 17:51:26 +0800 Subject

Re: uprobe: checking probe event include directory

2012-10-11 Thread Jovi Zhang
On Wed, Jul 18, 2012 at 7:45 PM, Srikar Dronamraju sri...@linux.vnet.ibm.com wrote: * Jovi Zhang bookj...@gmail.com [2012-07-18 19:38:27]: On Wed, Jul 18, 2012 at 7:07 PM, Srikar Dronamraju sri...@linux.vnet.ibm.com wrote: The patch looks good, Can you modify the description a bit

[PATCH] perf: make the breakpoint events sample period default to 1

2012-07-14 Thread Jovi Zhang
From cb06e8f21d3875f4ffef46a7627dca88b2c74836 Mon Sep 17 00:00:00 2001 From: Jovi Zhang bookj...@gmail.com Date: Sun, 15 Jul 2012 03:03:10 +0800 Subject: [PATCH] perf: make the breakpoint events sample period default to 1 There have one problem about hw_breakpoint perf event, as watched

[PATCH] ftrace: using pr_fmt for better printk output

2012-07-16 Thread Jovi Zhang
From fe42b2f29e5968482b3129c71f81a58a0559cf04 Mon Sep 17 00:00:00 2001 From: Jovi Zhang bookj...@gmail.com Date: Tue, 17 Jul 2012 17:10:15 +0800 Subject: [PATCH] ftrace: using pr_fmt for better printk output There don't have subsystem name output in front ot ftrace related log entry, so use

[PATCH] [TRIVIAL] perf: missing struct before structure name

2012-07-16 Thread Jovi Zhang
From 3abcb73682893ed2bde318d17f1cc3430bf70224 Mon Sep 17 00:00:00 2001 From: Jovi Zhang bookj...@gmail.com Date: Tue, 17 Jul 2012 17:21:56 +0800 Subject: [PATCH] [TRIVIAL] perf: missing struct before structure name when CONFIG_PERF_EVENTS disabled, there will have a compiliation error, because

Re: [PATCH] ftrace: using pr_fmt for better printk output

2012-07-16 Thread Jovi Zhang
On Tue, Jul 17, 2012 at 12:25 PM, Steven Rostedt rost...@goodmis.org wrote: On Mon, 2012-07-16 at 20:42 -0700, Joe Perches wrote: diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c [] @@ -13,6 +13,8 @@ * Copyright (C) 2004 William Lee Irwin III */ +#define pr_fmt(fmt)

Re: [PATCH] ftrace: using pr_fmt for better printk output

2012-07-16 Thread Jovi Zhang
On Tue, Jul 17, 2012 at 1:07 PM, Joe Perches j...@perches.com wrote: On Tue, 2012-07-17 at 00:25 -0400, Steven Rostedt wrote: On Mon, 2012-07-16 at 20:42 -0700, Joe Perches wrote: diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c [] @@ -13,6 +13,8 @@ * Copyright (C) 2004

Re: [PATCH] ftrace: using pr_fmt for better printk output

2012-07-17 Thread Jovi Zhang
From cea5f76c3ad9f42b85a1a71b75035fe96317187a Mon Sep 17 00:00:00 2001 From: Jovi Zhang bookj...@gmail.com Date: Tue, 17 Jul 2012 22:43:11 +0800 Subject: [PATCH] ftrace: using pr_fmt for better printk output There don't have subsystem name output in front ot ftrace related log entry, so use

Re: uprobe: checking probe event include directory

2012-07-17 Thread Jovi Zhang
On Wed, Jul 18, 2012 at 1:27 AM, Srikar Dronamraju sri...@linux.vnet.ibm.com wrote: * Frederic Weisbecker fweis...@gmail.com [2012-07-17 12:59:39]: On Tue, Jul 17, 2012 at 06:12:28PM +0800, Jovi Zhang wrote: From 16ed13ee9098ae01705e8456005d1ad6d9909128 Mon Sep 17 00:00:00 2001 From: Jovi

[PATCH] uprobe: fix misleading log entry

2012-07-17 Thread Jovi Zhang
From 68232ef2decae95b807f2f3763e8ea99c1a3b2ae Mon Sep 17 00:00:00 2001 From: Jovi Zhang bookj...@gmail.com Date: Wed, 18 Jul 2012 17:51:26 +0800 Subject: [PATCH] uprobe: fix misleading log entry There don't have any 'r' prefix in uprobe event naming, remove it. Signed-off-by: Jovi Zhang bookj

Re: [offlist] uprobe: checking probe event include directory

2012-07-18 Thread Jovi Zhang
cannot be valid targets for uprobe. Hence verify if the target is a regular file during the probe registration. Thanks srikar, your description is more clear than mine. From fd5077196038cc271e2116e1fca359a0011e1669 Mon Sep 17 00:00:00 2001 From: Jovi Zhang bookj...@gmail.com Date: Wed, 18 Jul

Re: [PATCH] uprobe: fix misleading log entry

2012-07-18 Thread Jovi Zhang
On Wed, Jul 18, 2012 at 5:22 PM, Srikar Dronamraju sri...@linux.vnet.ibm.com wrote: * Jovi Zhang bookj...@gmail.com [2012-07-18 11:08:42]: From 68232ef2decae95b807f2f3763e8ea99c1a3b2ae Mon Sep 17 00:00:00 2001 From: Jovi Zhang bookj...@gmail.com Date: Wed, 18 Jul 2012 17:51:26 +0800 Subject

Re: [PATCH v2] tracing: Expose event tracing infrastructure

2013-03-15 Thread Jovi Zhang
On Wed, Mar 13, 2013 at 6:41 PM, zhangwei(Jovi) jovi.zhang...@huawei.com wrote: [change from v1: add missed type assignment in ftrace_event_register] Currently event tracing only can be use for ftrace and perf, there don't have any mechanism to let modules(like external tracing tool) register

Re: [PATCH 06/13] tracing: remove dump_ran check in __ftrace_dump

2013-03-11 Thread Jovi Zhang
On Mon, Mar 11, 2013 at 10:08 PM, Steven Rostedt rost...@goodmis.org wrote: On Mon, 2013-03-11 at 15:13 +0800, zhangwei(Jovi) wrote: It's reasonable to call __ftrace_dump function not only once, so remove the dump_ran variable checking. This needs a little more work. On an oops, I only want

Re: [PATCH 12/13] scsi/tracing: include correct header file

2013-03-11 Thread Jovi Zhang
On Mon, Mar 11, 2013 at 11:36 PM, Steven Rostedt rost...@goodmis.org wrote: On Mon, 2013-03-11 at 15:24 +, James Bottomley wrote: In the future, send them as a separate patch series. There's no dependencies on these patches with the rest of the series. They should have been sent

Re: [PATCH 07/13] tracing/kdb: remove redundant checking

2013-03-11 Thread Jovi Zhang
On Mon, Mar 11, 2013 at 10:46 PM, Jason Wessel jason.wes...@windriver.com wrote: On 03/11/2013 09:09 AM, Steven Rostedt wrote: This is Jason's code. Jason, please give an Ack or Nack. Thanks, -- Steve On Mon, 2013-03-11 at 15:13 +0800, zhangwei(Jovi) wrote: trace_empty is checking in

[PATCH] tracing: fix twice trace iterator init

2013-01-25 Thread Jovi Zhang
From ac499cd340bf2ba47b3d1dd129a3bb7527c195ae Mon Sep 17 00:00:00 2001 From: Jovi Zhang bookj...@gmail.com Date: Fri, 25 Jan 2013 18:03:07 +0800 Subject: [PATCH] tracing: fix twice trace iterator init trace iterator is already inited in trace_init_global_iter, so there don't need to assign again

Re: [RFC] ktap: Another dynamic tracing tool for Linux

2013-01-17 Thread Jovi Zhang
will try to get rid it sooner.) For any question, please contact the author, Jovi Zhang. ktap is a open source project, welcome hacking and contributing. .jovi -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo

Re: [RFC] ktap: Another dynamic tracing tool for Linux

2013-01-17 Thread Jovi Zhang
On Fri, Jan 18, 2013 at 11:35 AM, Frank Ch. Eigler f...@redhat.com wrote: Hi - On Fri, Jan 18, 2013 at 09:24:55AM +0800, Jovi Zhang wrote: Let us continue this ktap topic in this thread :). ktap code is public available at github, please clone from: https://github.com/ktap/ktap.git

[PATCH] MIPS/mm: add compound tail page _mapcount when mapped

2012-08-21 Thread Jovi Zhang
From 3dc19ea2b535719d0b4177f17bbbff9cbf257b23 Mon Sep 17 00:00:00 2001 From: Jovi Zhang bookj...@gmail.com Date: Wed, 22 Aug 2012 10:34:08 +0800 Subject: [PATCH] MIPS/mm: add compound tail page _mapcount when mapped see commit b6999b191 which target for x86 mm/gup, let it align with mips

[PATCH] pstore: add missed platform_device_unregister

2012-08-20 Thread Jovi Zhang
From 152373a6262045d19023cf45de84ad3c69316a45 Mon Sep 17 00:00:00 2001 From: Jovi Zhang bookj...@gmail.com Date: Mon, 20 Aug 2012 14:20:01 +0800 Subject: [PATCH] pstore: add missed platform_device_unregister we need unregister platform device when module exit, add it. Signed-off-by: Jovi Zhang

Re: [PATCH] coredump: fix pipe coredump when core limit is 0

2012-07-07 Thread Jovi Zhang
Hi Andrew, Is that attached patch ok to go through your -mm tree? this patch reviewed many months ago, but still not goto mainstream. :) that comments is quite mismatch with the code. Thanks. .jovi 0001-coredump-fix-wrong-comments-on-core-limits-of-pipe-c.patch Description: Binary data

[PATCH] perf: fix perf-report display ip string incorrectly

2012-07-10 Thread Jovi Zhang
From bfc2eb1ac844b6d5f64e36eb01464a1cfba39663 Mon Sep 17 00:00:00 2001 From: Jovi Zhang bookj...@gmail.com Date: Wed, 11 Jul 2012 04:32:15 +0800 Subject: [PATCH] perf: fix perf-report display ip string incorrectly This patch fix perf ui browser cannot display ip string correctly when using perf

[PATCH] perf: fix perf-lock report coredump

2012-07-10 Thread Jovi Zhang
From 4b363bf16c12b76788fbace1475123b7214ae58d Mon Sep 17 00:00:00 2001 From: Jovi Zhang bookj...@gmail.com Date: Wed, 11 Jul 2012 16:53:57 +0800 Subject: [PATCH] perf: fix perf-lock report coredump Check sample type event raw_data is existed in perf.data firstly, then invoke process_raw_event

Re: [PATCH] perf: fix perf-lock report coredump

2012-07-10 Thread Jovi Zhang
On Wed, Jul 11, 2012 at 10:20 AM, David Ahern dsah...@gmail.com wrote: On 7/10/12 7:06 PM, Jovi Zhang wrote: From 4b363bf16c12b76788fbace1475123b7214ae58d Mon Sep 17 00:00:00 2001 From: Jovi Zhang bookj...@gmail.com Date: Wed, 11 Jul 2012 16:53:57 +0800 Subject: [PATCH] perf: fix perf-lock

Re: [RFC] ktap: Another dynamic tracing tool for Linux

2013-01-04 Thread Jovi Zhang
On Tue, Jan 1, 2013 at 2:58 AM, Frank Ch. Eigler f...@redhat.com wrote: bookjovi wrote: [...] This mail is RFC for discuss on a new dynamic tracing tool, I name it ktap. (only experimental project now) Welcome to the problem domain! Thanks very much, frank, I'm so luck to discussing this

Re: [RFC] ktap: Another dynamic tracing tool for Linux

2013-01-12 Thread Jovi Zhang
On Fri, Jan 11, 2013 at 10:19 PM, Michel Dagenais michel.dagen...@polymtl.ca wrote: You may be interested in KGTP which implements a simple bytecode interpreter in the kernel to accept GDB tracepoints http://code.google.com/p/kgtp/ The bytecode is quite limited but would be easy to extend.

Re: [PATCH 03/11] tracing: add soft disable for syscall events

2013-06-21 Thread Jovi Zhang
On Sat, Jun 22, 2013 at 4:22 AM, Steven Rostedt rost...@goodmis.org wrote: On Fri, 2013-06-21 at 14:53 +0800, zhangwei(Jovi) wrote: On 2013/6/21 2:31, Tom Zanussi wrote: Add support for SOFT_DISABLE to syscall events. The original SOFT_DISABLE patches didn't add support for soft disable

Re: [PATCH 1/2] tracing/kprobes: move free_trace_probe into unregister_trace_probe

2013-06-25 Thread Jovi Zhang
On Tue, Jun 25, 2013 at 9:34 PM, Steven Rostedt rost...@goodmis.org wrote: On Tue, 2013-06-25 at 18:37 +0800, zhangwei(Jovi) wrote: On 2013/6/25 18:10, Masami Hiramatsu wrote: (2013/06/25 17:15), zhangwei(Jovi) wrote: There have no good reason to call free_trace_probe every time when

Re: [PATCH 03/11] tracing: add soft disable for syscall events

2013-06-21 Thread Jovi Zhang
On Sat, Jun 22, 2013 at 4:22 AM, Steven Rostedt wrote: > On Fri, 2013-06-21 at 14:53 +0800, zhangwei(Jovi) wrote: >> On 2013/6/21 2:31, Tom Zanussi wrote: >> > Add support for SOFT_DISABLE to syscall events. >> > >> > The original SOFT_DISABLE patches didn't add support for soft disable >> > of

Re: [PATCH 1/2] tracing/kprobes: move free_trace_probe into unregister_trace_probe

2013-06-25 Thread Jovi Zhang
On Tue, Jun 25, 2013 at 9:34 PM, Steven Rostedt wrote: > On Tue, 2013-06-25 at 18:37 +0800, zhangwei(Jovi) wrote: >> On 2013/6/25 18:10, Masami Hiramatsu wrote: >> > (2013/06/25 17:15), zhangwei(Jovi) wrote: >> >> There have no good reason to call free_trace_probe >> >> every time when

Re: [PATCH v2] tracing: Expose event tracing infrastructure

2013-03-15 Thread Jovi Zhang
On Wed, Mar 13, 2013 at 6:41 PM, zhangwei(Jovi) wrote: > [change from v1: add missed type assignment in ftrace_event_register] > > Currently event tracing only can be use for ftrace and perf, > there don't have any mechanism to let modules(like external tracing tool) > register callback tracing

Re: [PATCH 06/13] tracing: remove dump_ran check in __ftrace_dump

2013-03-11 Thread Jovi Zhang
On Mon, Mar 11, 2013 at 10:08 PM, Steven Rostedt wrote: > On Mon, 2013-03-11 at 15:13 +0800, zhangwei(Jovi) wrote: >> It's reasonable to call __ftrace_dump function not only once, >> so remove the dump_ran variable checking. > > This needs a little more work. On an oops, I only want it dumped

Re: [PATCH 12/13] scsi/tracing: include correct header file

2013-03-11 Thread Jovi Zhang
On Mon, Mar 11, 2013 at 11:36 PM, Steven Rostedt wrote: > On Mon, 2013-03-11 at 15:24 +, James Bottomley wrote: > >> > In the future, send them as a separate patch series. There's no >> > dependencies on these patches with the rest of the series. They should >> > have been sent directly to

Re: [PATCH 07/13] tracing/kdb: remove redundant checking

2013-03-11 Thread Jovi Zhang
On Mon, Mar 11, 2013 at 10:46 PM, Jason Wessel wrote: > On 03/11/2013 09:09 AM, Steven Rostedt wrote: >> This is Jason's code. >> >> Jason, please give an Ack or Nack. >> >> Thanks, >> >> -- Steve >> >> >> On Mon, 2013-03-11 at 15:13 +0800, zhangwei(Jovi) wrote: >>> trace_empty is checking in

Re: [PATCH] uprobe: fix misleading log entry

2012-10-11 Thread Jovi Zhang
On Wed, Jul 18, 2012 at 5:22 PM, Srikar Dronamraju wrote: > * Jovi Zhang [2012-07-18 11:08:42]: > >> From 68232ef2decae95b807f2f3763e8ea99c1a3b2ae Mon Sep 17 00:00:00 2001 >> From: Jovi Zhang >> Date: Wed, 18 Jul 2012 17:51:26 +0800 >> Subject: [PATCH] up

Re: uprobe: checking probe event include directory

2012-10-11 Thread Jovi Zhang
On Wed, Jul 18, 2012 at 7:45 PM, Srikar Dronamraju wrote: > * Jovi Zhang [2012-07-18 19:38:27]: > >> On Wed, Jul 18, 2012 at 7:07 PM, Srikar Dronamraju >> wrote: >> > The patch looks good, >> > >> > Can you modify the description a bit. However you

[PATCH] tracing: fix twice trace iterator init

2013-01-25 Thread Jovi Zhang
>From ac499cd340bf2ba47b3d1dd129a3bb7527c195ae Mon Sep 17 00:00:00 2001 From: Jovi Zhang Date: Fri, 25 Jan 2013 18:03:07 +0800 Subject: [PATCH] tracing: fix twice trace iterator init trace iterator is already inited in trace_init_global_iter, so there don't need to assign again. Signed-

Re: [PATCH] coredump: fix pipe coredump when core limit is 0

2012-07-07 Thread Jovi Zhang
Hi Andrew, Is that attached patch ok to go through your -mm tree? this patch reviewed many months ago, but still not goto mainstream. :) that comments is quite mismatch with the code. Thanks. .jovi 0001-coredump-fix-wrong-comments-on-core-limits-of-pipe-c.patch Description: Binary data

[PATCH] perf: fix perf-report display ip string incorrectly

2012-07-10 Thread Jovi Zhang
>From bfc2eb1ac844b6d5f64e36eb01464a1cfba39663 Mon Sep 17 00:00:00 2001 From: Jovi Zhang Date: Wed, 11 Jul 2012 04:32:15 +0800 Subject: [PATCH] perf: fix perf-report display ip string incorrectly This patch fix perf ui browser cannot display ip string correctly when using perf-report. &q

[PATCH] perf: fix perf-lock report coredump

2012-07-10 Thread Jovi Zhang
>From 4b363bf16c12b76788fbace1475123b7214ae58d Mon Sep 17 00:00:00 2001 From: Jovi Zhang Date: Wed, 11 Jul 2012 16:53:57 +0800 Subject: [PATCH] perf: fix perf-lock report coredump Check sample type event raw_data is existed in perf.data firstly, then invoke process_raw_event, otherw

Re: [PATCH] perf: fix perf-lock report coredump

2012-07-10 Thread Jovi Zhang
On Wed, Jul 11, 2012 at 10:20 AM, David Ahern wrote: > On 7/10/12 7:06 PM, Jovi Zhang wrote: >> >> From 4b363bf16c12b76788fbace1475123b7214ae58d Mon Sep 17 00:00:00 2001 >> From: Jovi Zhang >> Date: Wed, 11 Jul 2012 16:53:57 +0800 >> Subject: [PATCH] pe

Re: powerpc/perf: hw breakpoints return ENOSPC

2012-09-26 Thread Jovi Zhang
On Thu, Aug 16, 2012 at 12:23 PM, Michael Neuling wrote: > Hi, > > I've been trying to get hardware breakpoints with perf to work on POWER7 > but I'm getting the following: > > % perf record -e mem:0x1000 true > > Error: sys_perf_event_open() syscall returned with 28 (No space left on

Re: uprobe: checking probe event include directory

2012-07-17 Thread Jovi Zhang
On Wed, Jul 18, 2012 at 1:27 AM, Srikar Dronamraju wrote: > * Frederic Weisbecker [2012-07-17 12:59:39]: > >> On Tue, Jul 17, 2012 at 06:12:28PM +0800, Jovi Zhang wrote: >> > From 16ed13ee9098ae01705e8456005d1ad6d9909128 Mon Sep 17 00:00:00 2001 >> > From: Jovi Zhan

[PATCH] uprobe: fix misleading log entry

2012-07-17 Thread Jovi Zhang
>From 68232ef2decae95b807f2f3763e8ea99c1a3b2ae Mon Sep 17 00:00:00 2001 From: Jovi Zhang Date: Wed, 18 Jul 2012 17:51:26 +0800 Subject: [PATCH] uprobe: fix misleading log entry There don't have any 'r' prefix in uprobe event naming, remove it. Signed-off-by: Jovi Zhang --- kernel/tr

Re: [offlist] uprobe: checking probe event include directory

2012-07-18 Thread Jovi Zhang
el/debug/tracing/uprobe_events > > However directories cannot be valid targets for uprobe. > Hence verify if the target is a regular file during the probe > registration. Thanks srikar, your description is more clear than mine. >From fd5077196038cc271e2116e1fca359a0011e1669 Mon Sep 17

Re: [PATCH] uprobe: fix misleading log entry

2012-07-18 Thread Jovi Zhang
On Wed, Jul 18, 2012 at 5:22 PM, Srikar Dronamraju wrote: > * Jovi Zhang [2012-07-18 11:08:42]: > >> From 68232ef2decae95b807f2f3763e8ea99c1a3b2ae Mon Sep 17 00:00:00 2001 >> From: Jovi Zhang >> Date: Wed, 18 Jul 2012 17:51:26 +0800 >> Subject: [PATCH] up

[PATCH] MIPS/mm: add compound tail page _mapcount when mapped

2012-08-21 Thread Jovi Zhang
>From 3dc19ea2b535719d0b4177f17bbbff9cbf257b23 Mon Sep 17 00:00:00 2001 From: Jovi Zhang Date: Wed, 22 Aug 2012 10:34:08 +0800 Subject: [PATCH] MIPS/mm: add compound tail page _mapcount when mapped see commit b6999b191 which target for x86 mm/gup, let it align with mips architecture. Quote f

[PATCH] perf: make the breakpoint events sample period default to 1

2012-07-14 Thread Jovi Zhang
>From cb06e8f21d3875f4ffef46a7627dca88b2c74836 Mon Sep 17 00:00:00 2001 From: Jovi Zhang Date: Sun, 15 Jul 2012 03:03:10 +0800 Subject: [PATCH] perf: make the breakpoint events sample period default to 1 There have one problem about hw_breakpoint perf event, as watched, the events repor

[PATCH] ftrace: using pr_fmt for better printk output

2012-07-16 Thread Jovi Zhang
>From fe42b2f29e5968482b3129c71f81a58a0559cf04 Mon Sep 17 00:00:00 2001 From: Jovi Zhang Date: Tue, 17 Jul 2012 17:10:15 +0800 Subject: [PATCH] ftrace: using pr_fmt for better printk output There don't have subsystem name output in front ot ftrace related log entry, so use pr_fmt to ena

[PATCH] [TRIVIAL] perf: missing struct before structure name

2012-07-16 Thread Jovi Zhang
>From 3abcb73682893ed2bde318d17f1cc3430bf70224 Mon Sep 17 00:00:00 2001 From: Jovi Zhang Date: Tue, 17 Jul 2012 17:21:56 +0800 Subject: [PATCH] [TRIVIAL] perf: missing struct before structure name when CONFIG_PERF_EVENTS disabled, there will have a compiliation error, because missing str

Re: [PATCH] ftrace: using pr_fmt for better printk output

2012-07-16 Thread Jovi Zhang
On Tue, Jul 17, 2012 at 12:25 PM, Steven Rostedt wrote: > On Mon, 2012-07-16 at 20:42 -0700, Joe Perches wrote: > >> > diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c >> [] >> > @@ -13,6 +13,8 @@ >> > * Copyright (C) 2004 William Lee Irwin III >> > */ >> > >> > +#define

Re: [PATCH] ftrace: using pr_fmt for better printk output

2012-07-16 Thread Jovi Zhang
On Tue, Jul 17, 2012 at 1:07 PM, Joe Perches wrote: > On Tue, 2012-07-17 at 00:25 -0400, Steven Rostedt wrote: >> On Mon, 2012-07-16 at 20:42 -0700, Joe Perches wrote: >> >> > > diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c >> > [] >> > > @@ -13,6 +13,8 @@ >> > > * Copyright (C)

Re: [PATCH] ftrace: using pr_fmt for better printk output

2012-07-17 Thread Jovi Zhang
>From cea5f76c3ad9f42b85a1a71b75035fe96317187a Mon Sep 17 00:00:00 2001 From: Jovi Zhang Date: Tue, 17 Jul 2012 22:43:11 +0800 Subject: [PATCH] ftrace: using pr_fmt for better printk output There don't have subsystem name output in front ot ftrace related log entry, so use pr_fmt to ena

Re: [RFC] ktap: Another dynamic tracing tool for Linux

2013-01-12 Thread Jovi Zhang
On Fri, Jan 11, 2013 at 10:19 PM, Michel Dagenais wrote: > You may be interested in KGTP which implements a simple bytecode interpreter > in the kernel to accept GDB tracepoints http://code.google.com/p/kgtp/ > > The bytecode is quite limited but would be easy to extend. KGTP is still not meet my

Re: [RFC] ktap: Another dynamic tracing tool for Linux

2013-01-04 Thread Jovi Zhang
On Tue, Jan 1, 2013 at 2:58 AM, Frank Ch. Eigler wrote: > > bookjovi wrote: > > >> [...] This mail is RFC for discuss on a new dynamic tracing tool, I >> name it ktap. (only experimental project now) > > Welcome to the problem domain! Thanks very much, frank, I'm so luck to discussing this topic

Re: [RFC] ktap: Another dynamic tracing tool for Linux

2013-01-17 Thread Jovi Zhang
mmit is just a initial pulbic code release, it have basic tracepoint and syscall support, please waiting ktap release 1.0. :) I suggest you put this ktap directory into linux/kernel/trace/. (this initial code have one issue: it need to patch ftrace code in Linux kernel, see ftrace.patch, I wi

Re: [RFC] ktap: Another dynamic tracing tool for Linux

2013-01-17 Thread Jovi Zhang
On Fri, Jan 18, 2013 at 11:35 AM, Frank Ch. Eigler wrote: > Hi - > > On Fri, Jan 18, 2013 at 09:24:55AM +0800, Jovi Zhang wrote: >> Let us continue this ktap topic in this thread :). >> ktap code is public available at github, please clone from: >> https

[PATCH] pstore: add missed platform_device_unregister

2012-08-20 Thread Jovi Zhang
>From 152373a6262045d19023cf45de84ad3c69316a45 Mon Sep 17 00:00:00 2001 From: Jovi Zhang Date: Mon, 20 Aug 2012 14:20:01 +0800 Subject: [PATCH] pstore: add missed platform_device_unregister we need unregister platform device when module exit, add it. Signed-off-by: Jovi Zhang --- fs/pst

[tip:perf/core] tracing: Verify target file before registering a uprobe event

2013-01-24 Thread tip-bot for Jovi Zhang
Commit-ID: d24d7dbf3cc49b00a152e55e24f0eeb173c7a971 Gitweb: http://git.kernel.org/tip/d24d7dbf3cc49b00a152e55e24f0eeb173c7a971 Author: Jovi Zhang bookj...@gmail.com AuthorDate: Wed, 18 Jul 2012 18:16:44 +0800 Committer: Steven Rostedt rost...@goodmis.org CommitDate: Mon, 21 Jan 2013 13

[tip:perf/core] perf tools: Make the breakpoint events sample period default to 1

2012-07-25 Thread tip-bot for Jovi Zhang
Commit-ID: 4a841d650ea435c69e60675537f158a620697290 Gitweb: http://git.kernel.org/tip/4a841d650ea435c69e60675537f158a620697290 Author: Jovi Zhang bookj...@gmail.com AuthorDate: Sun, 15 Jul 2012 03:03:10 +0800 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Wed, 25 Jul

[tip:perf/core] perf/x86: Fix missing struct before structure name

2012-07-26 Thread tip-bot for Jovi Zhang
Commit-ID: 35d56ca9d401d9d0ac8d91e4db1485af5f38f6fd Gitweb: http://git.kernel.org/tip/35d56ca9d401d9d0ac8d91e4db1485af5f38f6fd Author: Jovi Zhang bookj...@gmail.com AuthorDate: Tue, 17 Jul 2012 10:14:41 +0800 Committer: Ingo Molnar mi...@kernel.org CommitDate: Thu, 26 Jul 2012 15:04:34

[tip:perf/core] perf tools: Make the breakpoint events sample period default to 1

2012-07-25 Thread tip-bot for Jovi Zhang
Commit-ID: 4a841d650ea435c69e60675537f158a620697290 Gitweb: http://git.kernel.org/tip/4a841d650ea435c69e60675537f158a620697290 Author: Jovi Zhang AuthorDate: Sun, 15 Jul 2012 03:03:10 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 25 Jul 2012 11:37:46 -0300 perf tools

[tip:perf/core] perf/x86: Fix missing struct before structure name

2012-07-26 Thread tip-bot for Jovi Zhang
Commit-ID: 35d56ca9d401d9d0ac8d91e4db1485af5f38f6fd Gitweb: http://git.kernel.org/tip/35d56ca9d401d9d0ac8d91e4db1485af5f38f6fd Author: Jovi Zhang AuthorDate: Tue, 17 Jul 2012 10:14:41 +0800 Committer: Ingo Molnar CommitDate: Thu, 26 Jul 2012 15:04:34 +0200 perf/x86: Fix missing struct

[tip:perf/core] tracing: Verify target file before registering a uprobe event

2013-01-24 Thread tip-bot for Jovi Zhang
Commit-ID: d24d7dbf3cc49b00a152e55e24f0eeb173c7a971 Gitweb: http://git.kernel.org/tip/d24d7dbf3cc49b00a152e55e24f0eeb173c7a971 Author: Jovi Zhang AuthorDate: Wed, 18 Jul 2012 18:16:44 +0800 Committer: Steven Rostedt CommitDate: Mon, 21 Jan 2013 13:22:31 -0500 tracing: Verify target