This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Bug: duplicate marker entry in Modules.marker
- From: Wenji Huang <wenji dot huang at oracle dot com>
- To: Mathieu Desnoyers <mathieu dot desnoyers at polymtl dot ca>
- Cc: systemtap at sources dot redhat dot com
- Date: Wed, 19 Mar 2008 10:56:16 +0800
- Subject: Bug: duplicate marker entry in Modules.marker
- References: <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