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

TOMOYO Linux Cross Reference
Linux/include/trace/events/mmap.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 /include/trace/events/mmap.h (Version linux-6.12-rc7) and /include/trace/events/mmap.h (Version linux-5.7.19)


  1 /* SPDX-License-Identifier: GPL-2.0 */              1 /* SPDX-License-Identifier: GPL-2.0 */
  2 #undef TRACE_SYSTEM                                 2 #undef TRACE_SYSTEM
  3 #define TRACE_SYSTEM mmap                           3 #define TRACE_SYSTEM mmap
  4                                                     4 
  5 #if !defined(_TRACE_MMAP_H) || defined(TRACE_H      5 #if !defined(_TRACE_MMAP_H) || defined(TRACE_HEADER_MULTI_READ)
  6 #define _TRACE_MMAP_H                               6 #define _TRACE_MMAP_H
  7                                                     7 
  8 #include <linux/tracepoint.h>                       8 #include <linux/tracepoint.h>
  9                                                     9 
 10 TRACE_EVENT(vm_unmapped_area,                      10 TRACE_EVENT(vm_unmapped_area,
 11                                                    11 
 12         TP_PROTO(unsigned long addr, struct vm     12         TP_PROTO(unsigned long addr, struct vm_unmapped_area_info *info),
 13                                                    13 
 14         TP_ARGS(addr, info),                       14         TP_ARGS(addr, info),
 15                                                    15 
 16         TP_STRUCT__entry(                          16         TP_STRUCT__entry(
 17                 __field(unsigned long,  addr)      17                 __field(unsigned long,  addr)
 18                 __field(unsigned long,  total_     18                 __field(unsigned long,  total_vm)
 19                 __field(unsigned long,  flags)     19                 __field(unsigned long,  flags)
 20                 __field(unsigned long,  length     20                 __field(unsigned long,  length)
 21                 __field(unsigned long,  low_li     21                 __field(unsigned long,  low_limit)
 22                 __field(unsigned long,  high_l     22                 __field(unsigned long,  high_limit)
 23                 __field(unsigned long,  align_     23                 __field(unsigned long,  align_mask)
 24                 __field(unsigned long,  align_     24                 __field(unsigned long,  align_offset)
 25         ),                                         25         ),
 26                                                    26 
 27         TP_fast_assign(                            27         TP_fast_assign(
 28                 __entry->addr = addr;              28                 __entry->addr = addr;
 29                 __entry->total_vm = current->m     29                 __entry->total_vm = current->mm->total_vm;
 30                 __entry->flags = info->flags;      30                 __entry->flags = info->flags;
 31                 __entry->length = info->length     31                 __entry->length = info->length;
 32                 __entry->low_limit = info->low     32                 __entry->low_limit = info->low_limit;
 33                 __entry->high_limit = info->hi     33                 __entry->high_limit = info->high_limit;
 34                 __entry->align_mask = info->al     34                 __entry->align_mask = info->align_mask;
 35                 __entry->align_offset = info->     35                 __entry->align_offset = info->align_offset;
 36         ),                                         36         ),
 37                                                    37 
 38         TP_printk("addr=0x%lx err=%ld total_vm !!  38         TP_printk("addr=0x%lx err=%ld total_vm=0x%lx flags=0x%lx len=0x%lx lo=0x%lx hi=0x%lx mask=0x%lx ofs=0x%lx\n",
 39                 IS_ERR_VALUE(__entry->addr) ?      39                 IS_ERR_VALUE(__entry->addr) ? 0 : __entry->addr,
 40                 IS_ERR_VALUE(__entry->addr) ?      40                 IS_ERR_VALUE(__entry->addr) ? __entry->addr : 0,
 41                 __entry->total_vm, __entry->fl     41                 __entry->total_vm, __entry->flags, __entry->length,
 42                 __entry->low_limit, __entry->h     42                 __entry->low_limit, __entry->high_limit, __entry->align_mask,
 43                 __entry->align_offset)             43                 __entry->align_offset)
 44 );                                                 44 );
 45                                                << 
 46 TRACE_EVENT(vma_mas_szero,                     << 
 47         TP_PROTO(struct maple_tree *mt, unsign << 
 48                  unsigned long end),           << 
 49                                                << 
 50         TP_ARGS(mt, start, end),               << 
 51                                                << 
 52         TP_STRUCT__entry(                      << 
 53                         __field(struct maple_t << 
 54                         __field(unsigned long, << 
 55                         __field(unsigned long, << 
 56         ),                                     << 
 57                                                << 
 58         TP_fast_assign(                        << 
 59                         __entry->mt            << 
 60                         __entry->start         << 
 61                         __entry->end           << 
 62         ),                                     << 
 63                                                << 
 64         TP_printk("mt_mod %p, (NULL), SNULL, % << 
 65                   __entry->mt,                 << 
 66                   (unsigned long) __entry->sta << 
 67                   (unsigned long) __entry->end << 
 68         )                                      << 
 69 );                                             << 
 70                                                << 
 71 TRACE_EVENT(vma_store,                         << 
 72         TP_PROTO(struct maple_tree *mt, struct << 
 73                                                << 
 74         TP_ARGS(mt, vma),                      << 
 75                                                << 
 76         TP_STRUCT__entry(                      << 
 77                         __field(struct maple_t << 
 78                         __field(struct vm_area << 
 79                         __field(unsigned long, << 
 80                         __field(unsigned long, << 
 81         ),                                     << 
 82                                                << 
 83         TP_fast_assign(                        << 
 84                         __entry->mt            << 
 85                         __entry->vma           << 
 86                         __entry->vm_start      << 
 87                         __entry->vm_end        << 
 88         ),                                     << 
 89                                                << 
 90         TP_printk("mt_mod %p, (%p), STORE, %lu << 
 91                   __entry->mt, __entry->vma,   << 
 92                   (unsigned long) __entry->vm_ << 
 93                   (unsigned long) __entry->vm_ << 
 94         )                                      << 
 95 );                                             << 
 96                                                << 
 97                                                << 
 98 TRACE_EVENT(exit_mmap,                         << 
 99         TP_PROTO(struct mm_struct *mm),        << 
100                                                << 
101         TP_ARGS(mm),                           << 
102                                                << 
103         TP_STRUCT__entry(                      << 
104                         __field(struct mm_stru << 
105                         __field(struct maple_t << 
106         ),                                     << 
107                                                << 
108         TP_fast_assign(                        << 
109                        __entry->mm             << 
110                        __entry->mt             << 
111         ),                                     << 
112                                                << 
113         TP_printk("mt_mod %p, DESTROY",        << 
114                   __entry->mt                  << 
115         )                                      << 
116 );                                             << 
117                                                << 
118 #endif                                             45 #endif
119                                                    46 
120 /* This part must be outside protection */         47 /* This part must be outside protection */
121 #include <trace/define_trace.h>                    48 #include <trace/define_trace.h>
122                                                    49 

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