Linux 3.16-rc2
[linux/fpc-iii.git] / arch / s390 / include / uapi / asm / debug.h
blobc59fc79125f21a416b73776794edff50aef92ff8
1 /*
2 * S/390 debug facility
4 * Copyright IBM Corp. 1999, 2000
5 */
7 #ifndef _UAPIDEBUG_H
8 #define _UAPIDEBUG_H
10 #include <linux/fs.h>
12 /* Note:
13 * struct __debug_entry must be defined outside of #ifdef __KERNEL__
14 * in order to allow a user program to analyze the 'raw'-view.
17 struct __debug_entry{
18 union {
19 struct {
20 unsigned long long clock:52;
21 unsigned long long exception:1;
22 unsigned long long level:3;
23 unsigned long long cpuid:8;
24 } fields;
26 unsigned long long stck;
27 } id;
28 void* caller;
29 } __attribute__((packed));
32 #define __DEBUG_FEATURE_VERSION 2 /* version of debug feature */
34 #endif /* _UAPIDEBUG_H */