public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
From: Wenji Huang <wenji.huang@oracle.com>
To: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Cc: systemtap@sources.redhat.com
Subject: Bug: duplicate marker entry in Modules.marker
Date: Wed, 19 Mar 2008 03:02:00 -0000	[thread overview]
Message-ID: <47E080D0.2030800@oracle.com> (raw)
In-Reply-To: <20080129160005.GA5561@Krystal>

Hi Mathieu,

When I use marker in 2.6.25-rc5, found there could be duplicate marker 
entries in Modules.marker.

It can be reproduced through these steps:
     1. define trace_mark(mark1, "format 1, %d",var1). There is the 
entry in Modules.marker.
		mark1 vmlinux format 1, %d
     2. build and boot the kernel
     3. modify the marker, such as trace_mark(mark1, "format 2, 
%d",var1). There are two entries:
		mark1 vmlinux format 1, %d
		mark1 vmlinux format 2, %d

Although marker supports multi handlers, the only one marker is defined 
in kernel and stap script kernel.mark("mark1")
will be triggered two times.

Best regards,
Wenji





  parent reply	other threads:[~2008-03-19  3:02 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-29 16:00 Markers usage Mathieu Desnoyers
2008-01-29 16:15 ` Frank Ch. Eigler
2008-03-19  3:02 ` Wenji Huang [this message]
2008-03-19  3:07   ` Bug: duplicate marker entry in Modules.marker Roland McGrath
2008-03-19  7:53     ` Wenji Huang
2008-03-19  8:03       ` Roland McGrath
2008-03-20  1:05         ` Mathieu Desnoyers
2008-03-20  8:29           ` Roland McGrath
2008-03-20  8:38 Roland McGrath
2008-03-20  9:02 ` Wenji Huang

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=47E080D0.2030800@oracle.com \
    --to=wenji.huang@oracle.com \
    --cc=mathieu.desnoyers@polymtl.ca \
    --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).