X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Fdoc%2Fdeveloper%2Fmarker-types.txt;h=f3538ac394e975cc130d8027c4f7846eb7dfd39a;hb=0c8bbfb74fe44e05e943223c0f697cb2ae0a3d38;hp=4c3b6c11419af02e6a17ad9d78e39b1ca14aabef;hpb=5a1e0e3f54f92a41503f427777eb105a04a48082;p=lttv.git 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__)