Xen Test Framework
exlog.h
Go to the documentation of this file.
1 #ifndef XTF_EXLOG_H
2 #define XTF_EXLOG_H
3 
4 #include <xtf/types.h>
5 #include <arch/regs.h>
6 
7 void xtf_exlog_start(void);
8 void xtf_exlog_reset(void);
9 void xtf_exlog_stop(void);
10 
11 typedef struct exlog_entry
12 {
13  unsigned long ip;
16 
17 unsigned int xtf_exlog_entries(void);
18 exlog_entry_t *xtf_exlog_entry(unsigned int idx);
19 
20 void xtf_exlog_log_exception(struct cpu_regs *regs);
21 
22 void xtf_exlog_dump_log(void);
23 
24 #endif /* XTF_EXLOG_H */
25 
26 /*
27  * Local variables:
28  * mode: C
29  * c-file-style: "BSD"
30  * c-basic-offset: 4
31  * tab-width: 4
32  * indent-tabs-mode: nil
33  * End:
34  */
unsigned long ip
Definition: exlog.h:13
Common declarations for all tests.
void xtf_exlog_stop(void)
Definition: exlog.c:21
unsigned int xtf_exlog_entries(void)
Definition: exlog.c:27
void xtf_exlog_start(void)
Definition: exlog.c:10
Definition: exlog.h:11
uint16_t cs
Definition: exlog.h:14
struct exlog_entry exlog_entry_t
uint16_t ev
Definition: exlog.h:14
void xtf_exlog_dump_log(void)
Definition: exlog.c:63
uint16_t ec
Definition: exlog.h:14
void xtf_exlog_reset(void)
Definition: exlog.c:16
__UINT16_TYPE__ uint16_t
Definition: stdint.h:15
exlog_entry_t * xtf_exlog_entry(unsigned int idx)
Definition: exlog.c:32
void xtf_exlog_log_exception(struct cpu_regs *regs)
Definition: exlog.c:39