~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/s390/include/asm/perf_event.h

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /arch/s390/include/asm/perf_event.h (Version linux-6.12-rc7) and /arch/i386/include/asm-i386/perf_event.h (Version linux-5.6.19)


  1 /* SPDX-License-Identifier: GPL-2.0 */              1 
  2 /*                                                
  3  * Performance event support - s390 specific d    
  4  *                                                
  5  * Copyright IBM Corp. 2009, 2017                 
  6  * Author(s): Martin Schwidefsky <schwidefsky@    
  7  *            Hendrik Brueckner <brueckner@lin    
  8  */                                               
  9                                                   
 10 #ifndef _ASM_S390_PERF_EVENT_H                    
 11 #define _ASM_S390_PERF_EVENT_H                    
 12                                                   
 13 #include <linux/perf_event.h>                     
 14 #include <linux/device.h>                         
 15 #include <asm/stacktrace.h>                       
 16                                                   
 17 /* Per-CPU flags for PMU states */                
 18 #define PMU_F_RESERVED                  0x1000    
 19 #define PMU_F_ENABLED                   0x2000    
 20 #define PMU_F_IN_USE                    0x4000    
 21 #define PMU_F_ERR_IBE                   0x0100    
 22 #define PMU_F_ERR_LSDA                  0x0200    
 23 #define PMU_F_ERR_MASK                  (PMU_F    
 24                                                   
 25 /* Perf definitions for PMU event attributes i    
 26 extern __init const struct attribute_group **c    
 27 extern ssize_t cpumf_events_sysfs_show(struct     
 28                                        struct     
 29                                        char *p    
 30 #define EVENT_VAR(_cat, _name)          event_    
 31 #define EVENT_PTR(_cat, _name)          (&EVEN    
 32                                                   
 33 #define CPUMF_EVENT_ATTR(cat, name, id)           
 34         PMU_EVENT_ATTR(name, EVENT_VAR(cat, na    
 35 #define CPUMF_EVENT_PTR(cat, name)      EVENT_    
 36                                                   
 37                                                   
 38 /* Perf callbacks */                              
 39 struct pt_regs;                                   
 40 extern unsigned long perf_instruction_pointer(    
 41 extern unsigned long perf_misc_flags(struct pt    
 42 #define perf_misc_flags(regs) perf_misc_flags(    
 43 #define perf_arch_bpf_user_pt_regs(regs) &regs    
 44                                                   
 45 /* Perf pt_regs extension for sample-data-entr    
 46 struct perf_sf_sde_regs {                         
 47         unsigned char in_guest:1;         /* g    
 48         unsigned long reserved:63;        /* r    
 49 };                                                
 50                                                   
 51 #define perf_arch_fetch_caller_regs(regs, __ip    
 52         (regs)->psw.mask = 0;                     
 53         (regs)->psw.addr = (__ip);                
 54         (regs)->gprs[15] = (unsigned long)__bu    
 55                 offsetof(struct stack_frame, b    
 56 } while (0)                                       
 57                                                   
 58 #endif /* _ASM_S390_PERF_EVENT_H */               
 59                                                   

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php