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

TOMOYO Linux Cross Reference
Linux/arch/powerpc/platforms/powernv/vas-trace.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/powerpc/platforms/powernv/vas-trace.h (Architecture i386) and /arch/m68k/platforms/powernv/vas-trace.h (Architecture m68k)


  1 /* SPDX-License-Identifier: GPL-2.0+ */             1 
  2                                                   
  3 #undef TRACE_SYSTEM                               
  4 #define TRACE_SYSTEM    vas                       
  5                                                   
  6 #if !defined(_VAS_TRACE_H) || defined(TRACE_HE    
  7                                                   
  8 #define _VAS_TRACE_H                              
  9 #include <linux/tracepoint.h>                     
 10 #include <linux/sched.h>                          
 11 #include <asm/vas.h>                              
 12                                                   
 13 TRACE_EVENT(    vas_rx_win_open,                  
 14                                                   
 15                 TP_PROTO(struct task_struct *t    
 16                          int vasid,               
 17                          int cop,                 
 18                          struct vas_rx_win_att    
 19                                                   
 20                 TP_ARGS(tsk, vasid, cop, rxatt    
 21                                                   
 22                 TP_STRUCT__entry(                 
 23                         __field(struct task_st    
 24                         __field(int, pid)         
 25                         __field(int, cop)         
 26                         __field(int, vasid)       
 27                         __field(struct vas_rx_    
 28                         __field(int, lnotify_l    
 29                         __field(int, lnotify_p    
 30                         __field(int, lnotify_t    
 31                 ),                                
 32                                                   
 33                 TP_fast_assign(                   
 34                         __entry->pid = tsk->pi    
 35                         __entry->vasid = vasid    
 36                         __entry->cop = cop;       
 37                         __entry->lnotify_lpid     
 38                         __entry->lnotify_pid =    
 39                         __entry->lnotify_tid =    
 40                 ),                                
 41                                                   
 42                 TP_printk("pid=%d, vasid=%d, c    
 43                         __entry->pid, __entry-    
 44                         __entry->lnotify_lpid,    
 45                         __entry->lnotify_tid)     
 46 );                                                
 47                                                   
 48 TRACE_EVENT(    vas_tx_win_open,                  
 49                                                   
 50                 TP_PROTO(struct task_struct *t    
 51                          int vasid,               
 52                          int cop,                 
 53                          struct vas_tx_win_att    
 54                                                   
 55                 TP_ARGS(tsk, vasid, cop, txatt    
 56                                                   
 57                 TP_STRUCT__entry(                 
 58                         __field(struct task_st    
 59                         __field(int, pid)         
 60                         __field(int, cop)         
 61                         __field(int, vasid)       
 62                         __field(struct vas_tx_    
 63                         __field(int, lpid)        
 64                         __field(int, pidr)        
 65                 ),                                
 66                                                   
 67                 TP_fast_assign(                   
 68                         __entry->pid = tsk->pi    
 69                         __entry->vasid = vasid    
 70                         __entry->cop = cop;       
 71                         __entry->lpid = txattr    
 72                         __entry->pidr = txattr    
 73                 ),                                
 74                                                   
 75                 TP_printk("pid=%d, vasid=%d, c    
 76                         __entry->pid, __entry-    
 77                         __entry->lpid, __entry    
 78 );                                                
 79                                                   
 80 TRACE_EVENT(    vas_paste_crb,                    
 81                                                   
 82                 TP_PROTO(struct task_struct *t    
 83                         struct pnv_vas_window     
 84                                                   
 85                 TP_ARGS(tsk, win),                
 86                                                   
 87                 TP_STRUCT__entry(                 
 88                         __field(struct task_st    
 89                         __field(struct vas_win    
 90                         __field(int, pid)         
 91                         __field(int, vasid)       
 92                         __field(int, winid)       
 93                         __field(unsigned long,    
 94                 ),                                
 95                                                   
 96                 TP_fast_assign(                   
 97                         __entry->pid = tsk->pi    
 98                         __entry->vasid = win->    
 99                         __entry->winid = win->    
100                         __entry->paste_kaddr =    
101                 ),                                
102                                                   
103                 TP_printk("pid=%d, vasid=%d, w    
104                         __entry->pid, __entry-    
105                         __entry->paste_kaddr)     
106 );                                                
107                                                   
108 #endif /* _VAS_TRACE_H */                         
109                                                   
110 #undef TRACE_INCLUDE_PATH                         
111 #define TRACE_INCLUDE_PATH ../../arch/powerpc/    
112 #define TRACE_INCLUDE_FILE vas-trace              
113 #include <trace/define_trace.h>                   
114                                                   

~ [ 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