mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
9807f75955
Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Michael Kerrisk <mtk.manpages@gmail.com> Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Acked-by: Dave Jones <davej@redhat.com>
35 lines
794 B
C
35 lines
794 B
C
/*
|
|
* S/390 debug facility
|
|
*
|
|
* Copyright IBM Corp. 1999, 2000
|
|
*/
|
|
|
|
#ifndef _UAPIDEBUG_H
|
|
#define _UAPIDEBUG_H
|
|
|
|
#include <linux/fs.h>
|
|
|
|
/* Note:
|
|
* struct __debug_entry must be defined outside of #ifdef __KERNEL__
|
|
* in order to allow a user program to analyze the 'raw'-view.
|
|
*/
|
|
|
|
struct __debug_entry{
|
|
union {
|
|
struct {
|
|
unsigned long long clock:52;
|
|
unsigned long long exception:1;
|
|
unsigned long long level:3;
|
|
unsigned long long cpuid:8;
|
|
} fields;
|
|
|
|
unsigned long long stck;
|
|
} id;
|
|
void* caller;
|
|
} __attribute__((packed));
|
|
|
|
|
|
#define __DEBUG_FEATURE_VERSION 2 /* version of debug feature */
|
|
|
|
#endif /* _UAPIDEBUG_H */
|