aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/xen/lib.h
diff options
context:
space:
mode:
authorkaf24@localhost.localdomain <kaf24@localhost.localdomain>2006-10-27 18:52:55 +0100
committerkaf24@localhost.localdomain <kaf24@localhost.localdomain>2006-10-27 18:52:55 +0100
commit909fc982871a8887ee5b171d3e36f0f33af07e19 (patch)
treef35661772809d54daa97a09fb28036cfd8b7c120 /xen/include/xen/lib.h
parent26cf03554a7583301853f473abe37699a28cb230 (diff)
downloadxen-909fc982871a8887ee5b171d3e36f0f33af07e19.tar.gz
xen-909fc982871a8887ee5b171d3e36f0f33af07e19.tar.bz2
xen-909fc982871a8887ee5b171d3e36f0f33af07e19.zip
[XEN] Implement log levels. It adds the thresholds and code to printk
to implement the thresholds. Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Diffstat (limited to 'xen/include/xen/lib.h')
-rw-r--r--xen/include/xen/lib.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/xen/include/xen/lib.h b/xen/include/xen/lib.h
index 8af65e1ed8..18eaf96a95 100644
--- a/xen/include/xen/lib.h
+++ b/xen/include/xen/lib.h
@@ -58,6 +58,10 @@ extern void panic(const char *format, ...)
extern long vm_assist(struct domain *, unsigned int, unsigned int);
extern int __printk_ratelimit(int ratelimit_ms, int ratelimit_burst);
extern int printk_ratelimit(void);
+extern int xenlog_upper_thresh;
+extern int xenlog_lower_thresh;
+extern int xenlog_guest_upper_thresh;
+extern int xenlog_guest_lower_thresh;
/* vsprintf.c */
extern int sprintf(char * buf, const char * fmt, ...)