linux/arch/s390/include/uapi/asm/debug.h
<<
>>
Prefs
   1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
   2/*
   3 *   S/390 debug facility
   4 *
   5 *    Copyright IBM Corp. 1999, 2000
   6 */
   7
   8#ifndef _UAPIDEBUG_H
   9#define _UAPIDEBUG_H
  10
  11#include <linux/fs.h>
  12
  13/* Note:
  14 * struct __debug_entry must be defined outside of #ifdef __KERNEL__ 
  15 * in order to allow a user program to analyze the 'raw'-view.
  16 */
  17
  18struct __debug_entry{
  19        union {
  20                struct {
  21                        unsigned long long clock:52;
  22                        unsigned long long exception:1;
  23                        unsigned long long level:3;
  24                        unsigned long long cpuid:8;
  25                } fields;
  26
  27                unsigned long long stck;
  28        } id;
  29        void* caller;
  30} __attribute__((packed));
  31
  32
  33#define __DEBUG_FEATURE_VERSION      2  /* version of debug feature */
  34
  35#endif /* _UAPIDEBUG_H */
  36