public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
From: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
To: Vara Prasad <prasadav@us.ibm.com>
Cc: Mike Mason <mmlnx@us.ibm.com>, David Smith <dsmith@redhat.com>,
	  systemtap@sources.redhat.com
Subject: Re: Status of kernel marker support
Date: Tue, 02 Oct 2007 20:00:00 -0000	[thread overview]
Message-ID: <20071002200003.GA16017@Krystal> (raw)
In-Reply-To: <47029D12.9030008@us.ibm.com>

* Vara Prasad (prasadav@us.ibm.com) wrote:
> I am forwarding this to Mathieu just in case he is not following the 
> SystemTap mailing list. Please include him in future markers discussion.
> 
> Mathieu, as you can see we are adding the support for markers in the 
> SystemTap and also trying to add markers patches to the kernel.
> Are we using the latest version of the markers patch or do you have more 
> updated versions?

Hi Vara,

That's a good news.

The best is to get the latest marker post I made on LKML, posted back
Fri, 28 Sep 2007 10:28:45. However, since you don't have the full
patchset to be merged in the -mm tree, it is probably best for me to
prepare a tarball. Here it is:
http://ltt.polymtl.ca/markers/markers-patches-for-2.6.23-rc8-mm2-02-10-2007.tar.bz2

Please keep in mind that it will break the tools you have, which depends
on the __markers_strings section to be a "real" section, not just a blob
of data.

In order to get the markers from the kernel image, you should use the
__start___markers and __stop___markers symbols. (since the __markers
section is packed in the .data section in the linker scripts, I think
__markers will just vanish) (see include/asm-generic/vmlinux.lds.h for
details).

To get the markers from the kernel modules, using the __markers sections
seems like a good solution.


> If we find bugs while using markers can we open them in the SystemTap 
> bugzilla?
> 

Sure, please keep me in CC so I can help you solving the problem.

Mathieu

> Thanks,
> Vara Prasad
> 
> Mike Mason wrote:
> 
> >David Smith wrote:
> >
> >>Mike Mason wrote:
> >>
> >>>What's the status of kernel marker support in SystemTap?  Should 
> >>>kernel.mark("<name>") work with Mathieu's latest patches?  Just 
> >>>curious because I tried and I'm seeing "no match for probe point" 
> >>>errors for markers I added to the kernel.
> >>
> >>
> >>Mike,
> >>
> >>As the ChangeLog says, I updated the markers support on 9/25/2007 to 
> >>work with Mathieu's 9/18/2007 markers patch.
> >
> >
> >Sorry, I missed the ChangeLog entries.
> >
> >>
> >>So, are you using a version of systemtap that has those changes present? 
> >
> >
> >Yes, I'm using the latest cvs code.
> >
> >> Which version of Mathieu's markers patch are you using?
> >>
> >
> >I'm using the latest marker patches posted on 9/28.
> >
> >Thanks,
> >Mike
> >
>   
> 

-- 
Mathieu Desnoyers
Computer Engineering Ph.D. Student, Ecole Polytechnique de Montreal
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F  BA06 3F25 A8FE 3BAE 9A68

  parent reply	other threads:[~2007-10-02 20:00 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-02 15:45 Mike Mason
2007-10-02 15:53 ` David Smith
2007-10-02 16:22   ` Mike Mason
2007-10-02 16:36     ` David Smith
2007-10-02 19:34     ` Vara Prasad
2007-10-02 19:46       ` Vara Prasad
2007-10-02 19:52       ` Randy Dunlap
2007-10-02 20:00       ` Mathieu Desnoyers [this message]
2007-10-02 21:06         ` David Smith
2007-10-02 23:53           ` Mathieu Desnoyers

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=20071002200003.GA16017@Krystal \
    --to=mathieu.desnoyers@polymtl.ca \
    --cc=dsmith@redhat.com \
    --cc=mmlnx@us.ibm.com \
    --cc=prasadav@us.ibm.com \
    --cc=systemtap@sources.redhat.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).