public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* Markers usage
@ 2008-01-29 16:00 Mathieu Desnoyers
  2008-01-29 16:15 ` Frank Ch. Eigler
  2008-03-19  3:02 ` Bug: duplicate marker entry in Modules.marker Wenji Huang
  0 siblings, 2 replies; 10+ messages in thread
From: Mathieu Desnoyers @ 2008-01-29 16:00 UTC (permalink / raw)
  To: Frank Ch. Eigler, systemtap

Hi Frank,

Quick question :

I see in your presentation that using markers arguments is done with
$arg2. Is it the field name or a simply the argument number ?

Mathieu

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

^ permalink raw reply	[flat|nested] 10+ messages in thread
* Re: Bug: duplicate marker entry in Modules.marker
@ 2008-03-20  8:38 Roland McGrath
  2008-03-20  9:02 ` Wenji Huang
  0 siblings, 1 reply; 10+ messages in thread
From: Roland McGrath @ 2008-03-20  8:38 UTC (permalink / raw)
  To: Mathieu Desnoyers; +Cc: Wenji Huang, systemtap

Sorry, should have been (?):

diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c
index 695b5d6..ca8015d 100644
--- a/scripts/mod/modpost.c
+++ b/scripts/mod/modpost.c
@@ -1973,7 +1973,8 @@ static void read_markers(const char *fname)
 			mod->skip = 1;
 		}
 
-		add_marker(mod, marker, fmt);
+		if (mod->skip)
+			add_marker(mod, marker, fmt);
 	}
 	return;
 fail:

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2008-03-20  9:02 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-29 16:00 Markers usage Mathieu Desnoyers
2008-01-29 16:15 ` Frank Ch. Eigler
2008-03-19  3:02 ` Bug: duplicate marker entry in Modules.marker Wenji Huang
2008-03-19  3:07   ` 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

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).