Dmitry V. Levin | 0e09704 | 2016-04-26 00:08:16 +0000 | [diff] [blame] | 1 | #ifndef STRACE_XLAT_H |
2 | |||||
3 | struct xlat { | ||||
4 | unsigned int val; | ||||
5 | const char *str; | ||||
6 | }; | ||||
7 | |||||
Dmitry V. Levin | a9f956d | 2016-04-28 23:52:28 +0000 | [diff] [blame^] | 8 | # define XLAT(val) { (unsigned)(val), #val } |
9 | # define XLAT_END { 0, 0 } | ||||
Dmitry V. Levin | 0e09704 | 2016-04-26 00:08:16 +0000 | [diff] [blame] | 10 | |
11 | #endif |