From: compudj Date: Sat, 24 Feb 2007 06:21:56 +0000 (+0000) Subject: time monotonic X-Git-Tag: v0.12.20~1093 X-Git-Url: https://git.lttng.org/?a=commitdiff_plain;h=0c6084aec1d226d65302e29cf262fe25f2f94593;p=lttv.git time monotonic git-svn-id: http://ltt.polymtl.ca/svn@2396 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/ltt/branches/poly/doc/developer/marker-types.txt b/ltt/branches/poly/doc/developer/marker-types.txt index 4c3b6c11..f3538ac3 100644 --- a/ltt/branches/poly/doc/developer/marker-types.txt +++ b/ltt/branches/poly/doc/developer/marker-types.txt @@ -33,7 +33,17 @@ if (enable) { #define _MARK_RESCHED (1 << MARK_RESCHED) preempt_schedule() will be called by the marker. -#define _MARK_DEFAULT (~_MARK_PREEMPT | _MARK_TRAP | _MARK_RESCHED) +#define MARK_PRINTK 4 +#define _MARK_PRINTK (1 << MARK_PRINTK) + vprintk can be called in the probe/printk can be called as probe. + +#define MARK_LOCK_SAFE +#define _MARK_LOCK_SAFE (1 << MARK_LOCK_SAFE) + It is completely safe to take a lock, disable irqs, softirqs, ... from this marker. + If unset, checking the context must be done to insure no deadlock or recursive + call will occur. + +#define _MARK_DEFAULT (_MARK_TRAP | _MARK_RESCHED | _MARK_PRINTK) #define MARK (format, ...) MARK_OPTIONS(MARK_DEFAULT, format, __VA_ARGS__)