X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=kernel%2Fdebug_cmd.h;fp=kernel%2Fdebug_cmd.h;h=1b63f7715a0d089a161777c3542955cb3bac9aed;hb=3b34449070c0846fdc49436d1edd5916512f1644;hp=c0cbd0845cbbfd95e306b089e35c55ad5eb375bb;hpb=7370d748ee384dd549f2947c60ebc9a647907d06;p=util-vserver.git diff --git a/kernel/debug_cmd.h b/kernel/debug_cmd.h index c0cbd08..1b63f77 100644 --- a/kernel/debug_cmd.h +++ b/kernel/debug_cmd.h @@ -6,9 +6,20 @@ #define VCMD_dump_history VC_CMD(DEBUG, 1, 0) -#ifdef __KERNEL__ +#define VCMD_read_history VC_CMD(DEBUG, 5, 0) +#define VCMD_read_monitor VC_CMD(DEBUG, 6, 0) + +struct vcmd_read_history_v0 { + uint32_t index; + uint32_t count; + char *data; +}; + +struct vcmd_read_monitor_v0 { + uint32_t index; + uint32_t count; + char *data; +}; -extern int vc_dump_history(uint32_t); -#endif /* __KERNEL__ */ #endif /* _VX_DEBUG_CMD_H */