All of lore.kernel.org
 help / color / mirror / Atom feed
From: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
To: Steven Rostedt <rostedt@goodmis.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>,
	Ingo Molnar <mingo@elte.hu>,
	Frederic Weisbecker <fweisbec@gmail.com>,
	Peter Zijlstra <peterz@infradead.org>,
	linux-kernel@vger.kernel.org, yrl.pp-manager.tt@hitachi.com
Subject: Re: [PATCH -tip  00/13]tracing/kprobes: Dynamic events on module support
Date: Fri, 15 Jul 2011 21:26:00 +0900	[thread overview]
Message-ID: <4E2031D8.3090902@hitachi.com> (raw)
In-Reply-To: <1310729328.27864.61.camel@gandalf.stny.rr.com>

(2011/07/15 20:28), Steven Rostedt wrote:
> On Mon, 2011-06-27 at 16:26 +0900, Masami Hiramatsu wrote:
>> Hi Steven,
>>
>> Here, I'd like to push updates of dynamic events and perf-probe
>> for supporting dynamic events on module.
>>
>> The main part of this series is 1-5th patches for kprobes and
>> dynamic event tracer, which allows us to add events on offline
>> kernel module. This means we can put events even on the init
>> functions of the drivers before loading. The requirement of
>> this feature comes from my recent experience of a driver
>> debugging. It had a timing bug in the initialization routine,
>> and it was hard to catch them without tracing the behavior.
>>
>> I added some perf-probe updates (which including some resent
>> patches), And it's OK to pull only the main part (kprobes and
>> ftrace patches) without perf updates.
>>
> 
> OK I pulled in everything but patch 10, as that seemed to have an issue
> with the message that David Ahern brought up. I left that one out as it
> really wasn't necessary for the other patches. If you want to just
> resend that one patch with an update, I can pull that one in too.

Thanks, and patch 10, I've found that that actually fixed a bug
of perf probe itself and have sent it to Ingo as another bugfix,
so feel free to drop it from your tree.

Thank you,

> 
> -- Steve
> 
>>
>> Thank you,
>>
>> ---
>>
>> Masami Hiramatsu (13):
>>       perf probe: Support adding probes on offline kernel modules
>>       perf probe: Add probed module in front of function
>>       [RESEND]perf probe: Introduce debuginfo to encapsulate dwarf information
>>       [RESEND]perf probe: Warn when more than two lines are given
>>       [RESEND][CLEANUP]perf-probe: Move dwarf library routines to dwarf-aux.{c,h}
>>       [RESEND][CLEANUP]perf probe: Remove redundant dwarf functions
>>       [RESEND][CLEANUP]perf probe: Move strtailcmp to string.c
>>       [RESEND][CLEANUP]perf probe: Rename DIE_FIND_CB_FOUND to DIE_FIND_CB_END
>>       tracing/kprobe: Update symbol reference when loading module
>>       tracing/kprobes: Support module init function probing
>>       kprobes: Return -ENOENT if probe point doesn't exist
>>       [CLEANUP]tracing/kprobes: merge trace probe enable/disable functions
>>       [CLEANUP]tracing/kprobes: Rename probe_* to trace_probe_*
>>
>>
>>  Documentation/trace/kprobetrace.txt     |    9 
>>  kernel/kprobes.c                        |   33 +
>>  kernel/trace/trace_kprobe.c             |  314 +++++++++----
>>  tools/perf/Documentation/perf-probe.txt |    6 
>>  tools/perf/Makefile                     |    2 
>>  tools/perf/builtin-probe.c              |   14 -
>>  tools/perf/util/dwarf-aux.c             |  663 +++++++++++++++++++++++++++
>>  tools/perf/util/dwarf-aux.h             |  100 ++++
>>  tools/perf/util/probe-event.c           |  165 +++++--
>>  tools/perf/util/probe-event.h           |    1 
>>  tools/perf/util/probe-finder.c          |  752 ++++---------------------------
>>  tools/perf/util/probe-finder.h          |   43 +-
>>  tools/perf/util/string.c                |   19 +
>>  tools/perf/util/util.h                  |    1 
>>  14 files changed, 1304 insertions(+), 818 deletions(-)
>>  create mode 100644 tools/perf/util/dwarf-aux.c
>>  create mode 100644 tools/perf/util/dwarf-aux.h
>>
> 
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/


-- 
Masami HIRAMATSU
Software Platform Research Dept. Linux Technology Center
Hitachi, Ltd., Yokohama Research Laboratory
E-mail: masami.hiramatsu.pt@hitachi.com

      reply	other threads:[~2011-07-15 12:26 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-27  7:26 [PATCH -tip 00/13]tracing/kprobes: Dynamic events on module support Masami Hiramatsu
2011-06-27  7:26 ` [PATCH -tip 01/13] [CLEANUP]tracing/kprobes: Rename probe_* to trace_probe_* Masami Hiramatsu
2011-07-21 10:01   ` [tip:perf/core] tracing/kprobes: " tip-bot for Masami Hiramatsu
2011-06-27  7:26 ` [PATCH -tip 02/13] [CLEANUP]tracing/kprobes: merge trace probe enable/disable functions Masami Hiramatsu
2011-07-08 16:37   ` Steven Rostedt
2011-07-09  4:41     ` Masami Hiramatsu
2011-07-15 17:27   ` Steven Rostedt
2011-07-16 10:30     ` Masami Hiramatsu
2011-07-16 10:33     ` [PATCH -tip v2] " Masami Hiramatsu
2011-07-16 11:11       ` Steven Rostedt
2011-07-21 10:01   ` [tip:perf/core] tracing/kprobes: Merge " tip-bot for Masami Hiramatsu
2011-06-27  7:26 ` [PATCH -tip 03/13] kprobes: Return -ENOENT if probe point doesn't exist Masami Hiramatsu
2011-06-28 13:03   ` Ananth N Mavinakayanahalli
2011-07-21 10:02   ` [tip:perf/core] " tip-bot for Masami Hiramatsu
2011-06-27  7:26 ` [PATCH -tip 04/13] tracing/kprobes: Support module init function probing Masami Hiramatsu
2011-07-21 10:02   ` [tip:perf/core] " tip-bot for Masami Hiramatsu
2011-06-27  7:27 ` [PATCH -tip 05/13] tracing/kprobe: Update symbol reference when loading module Masami Hiramatsu
2011-07-21 10:02   ` [tip:perf/core] " tip-bot for Masami Hiramatsu
2011-06-27  7:27 ` [PATCH -tip 06/13] [RESEND][CLEANUP]perf probe: Rename DIE_FIND_CB_FOUND to DIE_FIND_CB_END Masami Hiramatsu
2011-07-21 10:03   ` [tip:perf/core] perf " tip-bot for Masami Hiramatsu
2011-06-27  7:27 ` [PATCH -tip 07/13] [RESEND][CLEANUP]perf probe: Move strtailcmp to string.c Masami Hiramatsu
2011-07-21 10:03   ` [tip:perf/core] perf " tip-bot for Masami Hiramatsu
2011-06-27  7:27 ` [PATCH -tip 08/13] [RESEND][CLEANUP]perf probe: Remove redundant dwarf functions Masami Hiramatsu
2011-07-21 10:04   ` [tip:perf/core] perf " tip-bot for Masami Hiramatsu
2011-06-27  7:27 ` [PATCH -tip 09/13] [RESEND][CLEANUP]perf-probe: Move dwarf library routines to dwarf-aux.{c, h} Masami Hiramatsu
2011-07-21 10:04   ` [tip:perf/core] perf-probe: " tip-bot for Masami Hiramatsu
2011-06-27  7:27 ` [PATCH -tip 10/13] [RESEND]perf probe: Warn when more than two lines are given Masami Hiramatsu
2011-06-28 14:15   ` David Ahern
2011-06-29  5:14     ` Masami Hiramatsu
2011-06-27  7:27 ` [PATCH -tip 11/13] [RESEND]perf probe: Introduce debuginfo to encapsulate dwarf information Masami Hiramatsu
2011-07-21 10:05   ` [tip:perf/core] perf " tip-bot for Masami Hiramatsu
2011-06-27  7:27 ` [PATCH -tip 12/13] perf probe: Add probed module in front of function Masami Hiramatsu
2011-07-21 10:05   ` [tip:perf/core] " tip-bot for Masami Hiramatsu
2011-06-27  7:27 ` [PATCH -tip 13/13] perf probe: Support adding probes on offline kernel modules Masami Hiramatsu
2011-07-21 10:06   ` [tip:perf/core] " tip-bot for Masami Hiramatsu
2011-06-28 13:18 ` [PATCH -tip 00/13]tracing/kprobes: Dynamic events on module support Steven Rostedt
2011-07-15 11:28 ` Steven Rostedt
2011-07-15 12:26   ` Masami Hiramatsu [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E2031D8.3090902@hitachi.com \
    --to=masami.hiramatsu.pt@hitachi.com \
    --cc=acme@redhat.com \
    --cc=fweisbec@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=peterz@infradead.org \
    --cc=rostedt@goodmis.org \
    --cc=yrl.pp-manager.tt@hitachi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.