linux-support 0.0.25

Comprehensive Linux support for namespaces, cgroups, processes, scheduling, parsing /proc, parsing /sys, signals, hyper threads, CPUS, NUMA nodes, unusual file descriptors, PCI devices and much, much more
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
// This file is part of linux-support. It is subject to the license terms in the COPYRIGHT file found in the top-level directory of this distribution and at https://raw.githubusercontent.com/lemonrock/linux-support/master/COPYRIGHT. No part of linux-support, including this file, may be copied, modified, propagated, or distributed except according to the terms contained in the COPYRIGHT file.
// Copyright © 2020 The developers of linux-support. See the COPYRIGHT file in the top-level directory of this distribution and at https://raw.githubusercontent.com/lemonrock/linux-support/master/COPYRIGHT.


#[allow(missing_docs)]
#[repr(C)]
#[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)]
pub struct perf_event_attr
{
	pub type_: u32,
	pub size: u32,
	pub config: u64,
	pub __bindgen_anon_1: perf_event_attr__bindgen_ty_1,
	pub sample_type: u64,
	pub read_format: u64,
	_bitfield_1: __BindgenBitfieldUnit<[u8; 8], u32>,
	pub __bindgen_anon_2: perf_event_attr__bindgen_ty_2,
	pub bp_type: u32,
	pub __bindgen_anon_3: perf_event_attr__bindgen_ty_3,
	pub __bindgen_anon_4: perf_event_attr__bindgen_ty_4,
	pub branch_sample_type: u64,
	pub sample_regs_user: u64,
	pub sample_stack_user: u32,
	pub clockid: i32,
	pub sample_regs_intr: u64,
	pub aux_watermark: u32,
	pub sample_max_stack: u16,
	__reserved_2: u16,
	pub aux_sample_size: u32,
	__reserved_3: u32,
}

impl Default for perf_event_attr
{
	#[inline(always)]
	fn default() -> Self
	{
		Self
		{
			type_: 0,
			size: 0,
			config: 0,
			__bindgen_anon_1: Default::default(),
			sample_type: 0,
			read_format: 0,
			_bitfield_1: Default::default(),
			__bindgen_anon_2: Default::default(),
			bp_type: 0,
			__bindgen_anon_3: Default::default(),
			__bindgen_anon_4: Default::default(),
			branch_sample_type: 0,
			sample_regs_user: 0,
			sample_stack_user: 0,
			clockid: 0,
			sample_regs_intr: 0,
			aux_watermark: 0,
			sample_max_stack: 0,
			__reserved_2: 0,
			aux_sample_size: 0,
			__reserved_3: 0
		}
	}
}

impl Debug for perf_event_attr
{
	#[inline(always)]
	fn fmt(&self, f: &mut Formatter) -> fmt::Result
	{
		write!(f, "perf_event_attr {{ type: {:?}, size: {:?}, config: {:?}, __bindgen_anon_1: {:?}, sample_type: {:?}, read_format: {:?}, disabled: {:?}, inherit: {:?}, pinned: {:?}, exclusive: {:?}, exclude_user: {:?}, exclude_kernel: {:?}, exclude_hv: {:?}, exclude_idle: {:?}, mmap: {:?}, comm: {:?}, freq: {:?}, inherit_stat: {:?}, enable_on_exec: {:?}, task: {:?}, watermark: {:?}, precise_ip: {:?}, mmap_data: {:?}, sample_id_all: {:?}, exclude_host: {:?}, exclude_guest: {:?}, exclude_callchain_kernel: {:?}, exclude_callchain_user: {:?}, mmap2: {:?}, comm_exec: {:?}, use_clockid: {:?}, context_switch: {:?}, write_backward: {:?}, namespaces: {:?}, ksymbol: {:?}, bpf_event: {:?}, aux_output: {:?}, __reserved_1: {:?}, __bindgen_anon_2: {:?}, bp_type: {:?}, __bindgen_anon_3: {:?}, __bindgen_anon_4: {:?}, branch_sample_type: {:?}, sample_regs_user: {:?}, sample_stack_user: {:?}, clockid: {:?}, sample_regs_intr: {:?}, aux_watermark: {:?}, sample_max_stack: {:?}, __reserved_2: {:?}, aux_sample_size: {:?}, __reserved_3: {:?} }}", self.type_, self.size, self.config, self.__bindgen_anon_1, self.sample_type, self.read_format, self.disabled(), self.inherit(), self.pinned(), self.exclusive(), self.exclude_user(), self.exclude_kernel(), self.exclude_hv(), self.exclude_idle(), self.mmap(), self.comm(), self.freq(), self.inherit_stat(), self.enable_on_exec(), self.task(), self.watermark(), self.precise_ip(), self.mmap_data(), self.sample_id_all(), self.exclude_host(), self.exclude_guest(), self.exclude_callchain_kernel(), self.exclude_callchain_user(), self.mmap2(), self.comm_exec(), self.use_clockid(), self.context_switch(), self.write_backward(), self.namespaces(), self.ksymbol(), self.bpf_event(), self.aux_output(), self.__reserved_1(), self.__bindgen_anon_2, self.bp_type, self.__bindgen_anon_3, self.__bindgen_anon_4, self.branch_sample_type, self.sample_regs_user, self.sample_stack_user, self.clockid, self.sample_regs_intr, self.aux_watermark, self.sample_max_stack, self.__reserved_2, self.aux_sample_size, self.__reserved_3)
	}
}

#[allow(missing_docs)]
impl perf_event_attr
{
	#[inline(always)]
	pub fn disabled(&self) -> u64
	{
		unsafe { transmute(self._bitfield_1.get(0usize, 1) as u64) }
	}

	#[inline(always)]
	pub fn set_disabled(&mut self, val: u64)
	{
		unsafe
		{
			let val: u64 = transmute(val);
			self._bitfield_1.set(0usize, 1, val as u64)
		}
	}

	#[inline(always)]
	pub fn inherit(&self) -> u64
	{
		unsafe { transmute(self._bitfield_1.get(1usize, 1) as u64) }
	}

	#[inline(always)]
	pub fn set_inherit(&mut self, val: u64)
	{
		unsafe
		{
			let val: u64 = transmute(val);
			self._bitfield_1.set(1usize, 1, val as u64)
		}
	}

	#[inline(always)]
	pub fn pinned(&self) -> u64
	{
		unsafe { transmute(self._bitfield_1.get(2usize, 1) as u64) }
	}

	#[inline(always)]
	pub fn set_pinned(&mut self, val: u64)
	{
		unsafe
		{
			let val: u64 = transmute(val);
			self._bitfield_1.set(2usize, 1, val as u64)
		}
	}

	#[inline(always)]
	pub fn exclusive(&self) -> u64
	{
		unsafe { transmute(self._bitfield_1.get(3usize, 1) as u64) }
	}

	#[inline(always)]
	pub fn set_exclusive(&mut self, val: u64)
	{
		unsafe
		{
			let val: u64 = transmute(val);
			self._bitfield_1.set(3usize, 1, val as u64)
		}
	}

	#[inline(always)]
	pub fn exclude_user(&self) -> u64
	{
		unsafe { transmute(self._bitfield_1.get(4usize, 1) as u64) }
	}

	#[inline(always)]
	pub fn set_exclude_user(&mut self, val: u64)
	{
		unsafe
		{
			let val: u64 = transmute(val);
			self._bitfield_1.set(4usize, 1, val as u64)
		}
	}

	#[inline(always)]
	pub fn exclude_kernel(&self) -> u64
	{
		unsafe { transmute(self._bitfield_1.get(5usize, 1) as u64) }
	}

	#[inline(always)]
	pub fn set_exclude_kernel(&mut self, val: u64)
	{
		unsafe
		{
			let val: u64 = transmute(val);
			self._bitfield_1.set(5usize, 1, val as u64)
		}
	}

	#[inline(always)]
	pub fn exclude_hv(&self) -> u64
	{
		unsafe { transmute(self._bitfield_1.get(6usize, 1) as u64) }
	}

	#[inline(always)]
	pub fn set_exclude_hv(&mut self, val: u64)
	{
		unsafe
		{
			let val: u64 = transmute(val);
			self._bitfield_1.set(6usize, 1, val as u64)
		}
	}

	#[inline(always)]
	pub fn exclude_idle(&self) -> u64
	{
		unsafe { transmute(self._bitfield_1.get(7usize, 1) as u64) }
	}

	#[inline(always)]
	pub fn set_exclude_idle(&mut self, val: u64)
	{
		unsafe
		{
			let val: u64 = transmute(val);
			self._bitfield_1.set(7usize, 1, val as u64)
		}
	}

	#[inline(always)]
	pub fn mmap(&self) -> u64
	{
		unsafe { transmute(self._bitfield_1.get(8usize, 1) as u64) }
	}

	#[inline(always)]
	pub fn set_mmap(&mut self, val: u64)
	{
		unsafe
		{
			let val: u64 = transmute(val);
			self._bitfield_1.set(8usize, 1, val as u64)
		}
	}

	#[inline(always)]
	pub fn comm(&self) -> u64
	{
		unsafe { transmute(self._bitfield_1.get(9usize, 1) as u64) }
	}

	#[inline(always)]
	pub fn set_comm(&mut self, val: u64)
	{
		unsafe
		{
			let val: u64 = transmute(val);
			self._bitfield_1.set(9usize, 1, val as u64)
		}
	}

	#[inline(always)]
	pub fn freq(&self) -> u64
	{
		unsafe { transmute(self._bitfield_1.get(10usize, 1) as u64) }
	}

	#[inline(always)]
	pub fn set_freq(&mut self, val: u64)
	{
		unsafe
		{
			let val: u64 = transmute(val);
			self._bitfield_1.set(10usize, 1, val as u64)
		}
	}

	#[inline(always)]
	pub fn inherit_stat(&self) -> u64
	{
		unsafe { transmute(self._bitfield_1.get(11usize, 1) as u64) }
	}

	#[inline(always)]
	pub fn set_inherit_stat(&mut self, val: u64)
	{
		unsafe
		{
			let val: u64 = transmute(val);
			self._bitfield_1.set(11usize, 1, val as u64)
		}
	}

	#[inline(always)]
	pub fn enable_on_exec(&self) -> u64
	{
		unsafe { transmute(self._bitfield_1.get(12usize, 1) as u64) }
	}

	#[inline(always)]
	pub fn set_enable_on_exec(&mut self, val: u64)
	{
		unsafe
		{
			let val: u64 = transmute(val);
			self._bitfield_1.set(12usize, 1, val as u64)
		}
	}

	#[inline(always)]
	pub fn task(&self) -> u64
	{
		unsafe { transmute(self._bitfield_1.get(13usize, 1) as u64) }
	}

	#[inline(always)]
	pub fn set_task(&mut self, val: u64)
	{
		unsafe
		{
			let val: u64 = transmute(val);
			self._bitfield_1.set(13usize, 1, val as u64)
		}
	}

	#[inline(always)]
	pub fn watermark(&self) -> u64
	{
		unsafe { transmute(self._bitfield_1.get(14usize, 1) as u64) }
	}

	#[inline(always)]
	pub fn set_watermark(&mut self, val: u64)
	{
		unsafe
		{
			let val: u64 = transmute(val);
			self._bitfield_1.set(14usize, 1, val as u64)
		}
	}

	#[inline(always)]
	pub fn precise_ip(&self) -> u64
	{
		unsafe { transmute(self._bitfield_1.get(15usize, 2u8) as u64) }
	}

	#[inline(always)]
	pub fn set_precise_ip(&mut self, val: u64)
	{
		unsafe
		{
			let val: u64 = transmute(val);
			self._bitfield_1.set(15usize, 2u8, val as u64)
		}
	}

	#[inline(always)]
	pub fn mmap_data(&self) -> u64
	{
		unsafe { transmute(self._bitfield_1.get(17usize, 1) as u64) }
	}

	#[inline(always)]
	pub fn set_mmap_data(&mut self, val: u64)
	{
		unsafe
		{
			let val: u64 = transmute(val);
			self._bitfield_1.set(17usize, 1, val as u64)
		}
	}

	#[inline(always)]
	pub fn sample_id_all(&self) -> u64
	{
		unsafe { transmute(self._bitfield_1.get(18usize, 1) as u64) }
	}

	#[inline(always)]
	pub fn set_sample_id_all(&mut self, val: u64)
	{
		unsafe
		{
			let val: u64 = transmute(val);
			self._bitfield_1.set(18usize, 1, val as u64)
		}
	}

	#[inline(always)]
	pub fn exclude_host(&self) -> u64
	{
		unsafe { transmute(self._bitfield_1.get(19usize, 1) as u64) }
	}

	#[inline(always)]
	pub fn set_exclude_host(&mut self, val: u64)
	{
		unsafe
		{
			let val: u64 = transmute(val);
			self._bitfield_1.set(19usize, 1, val as u64)
		}
	}

	#[inline(always)]
	pub fn exclude_guest(&self) -> u64
	{
		unsafe { transmute(self._bitfield_1.get(20usize, 1) as u64) }
	}

	#[inline(always)]
	pub fn set_exclude_guest(&mut self, val: u64)
	{
		unsafe
		{
			let val: u64 = transmute(val);
			self._bitfield_1.set(20usize, 1, val as u64)
		}
	}

	#[inline(always)]
	pub fn exclude_callchain_kernel(&self) -> u64
	{
		unsafe { transmute(self._bitfield_1.get(21usize, 1) as u64) }
	}

	#[inline(always)]
	pub fn set_exclude_callchain_kernel(&mut self, val: u64)
	{
		unsafe
		{
			let val: u64 = transmute(val);
			self._bitfield_1.set(21usize, 1, val as u64)
		}
	}

	#[inline(always)]
	pub fn exclude_callchain_user(&self) -> u64
	{
		unsafe { transmute(self._bitfield_1.get(22usize, 1) as u64) }
	}

	#[inline(always)]
	pub fn set_exclude_callchain_user(&mut self, val: u64)
	{
		unsafe
		{
			let val: u64 = transmute(val);
			self._bitfield_1.set(22usize, 1, val as u64)
		}
	}

	#[inline(always)]
	pub fn mmap2(&self) -> u64
	{
		unsafe { transmute(self._bitfield_1.get(23usize, 1) as u64) }
	}

	#[inline(always)]
	pub fn set_mmap2(&mut self, val: u64)
	{
		unsafe
		{
			let val: u64 = transmute(val);
			self._bitfield_1.set(23usize, 1, val as u64)
		}
	}

	#[inline(always)]
	pub fn comm_exec(&self) -> u64
	{
		unsafe { transmute(self._bitfield_1.get(24usize, 1) as u64) }
	}

	#[inline(always)]
	pub fn set_comm_exec(&mut self, val: u64)
	{
		unsafe
		{
			let val: u64 = transmute(val);
			self._bitfield_1.set(24usize, 1, val as u64)
		}
	}

	#[inline(always)]
	pub fn use_clockid(&self) -> u64
	{
		unsafe { transmute(self._bitfield_1.get(25usize, 1) as u64) }
	}

	#[inline(always)]
	pub fn set_use_clockid(&mut self, val: u64)
	{
		unsafe
		{
			let val: u64 = transmute(val);
			self._bitfield_1.set(25usize, 1, val as u64)
		}
	}

	#[inline(always)]
	pub fn context_switch(&self) -> u64
	{
		unsafe { transmute(self._bitfield_1.get(26usize, 1) as u64) }
	}

	#[inline(always)]
	pub fn set_context_switch(&mut self, val: u64)
	{
		unsafe
		{
			let val: u64 = transmute(val);
			self._bitfield_1.set(26usize, 1, val as u64)
		}
	}

	#[inline(always)]
	pub fn write_backward(&self) -> u64
	{
		unsafe { transmute(self._bitfield_1.get(27usize, 1) as u64) }
	}

	#[inline(always)]
	pub fn set_write_backward(&mut self, val: u64)
	{
		unsafe
		{
			let val: u64 = transmute(val);
			self._bitfield_1.set(27usize, 1, val as u64)
		}
	}

	#[inline(always)]
	pub fn namespaces(&self) -> u64
	{
		unsafe { transmute(self._bitfield_1.get(28usize, 1) as u64) }
	}

	#[inline(always)]
	pub fn set_namespaces(&mut self, val: u64)
	{
		unsafe
		{
			let val: u64 = transmute(val);
			self._bitfield_1.set(28usize, 1, val as u64)
		}
	}

	#[inline(always)]
	pub fn ksymbol(&self) -> u64
	{
		unsafe { transmute(self._bitfield_1.get(29usize, 1) as u64) }
	}

	#[inline(always)]
	pub fn set_ksymbol(&mut self, val: u64)
	{
		unsafe
		{
			let val: u64 = transmute(val);
			self._bitfield_1.set(29usize, 1, val as u64)
		}
	}

	#[inline(always)]
	pub fn bpf_event(&self) -> u64
	{
		unsafe { transmute(self._bitfield_1.get(30usize, 1) as u64) }
	}

	#[inline(always)]
	pub fn set_bpf_event(&mut self, val: u64)
	{
		unsafe
		{
			let val: u64 = transmute(val);
			self._bitfield_1.set(30usize, 1, val as u64)
		}
	}

	#[inline(always)]
	pub fn aux_output(&self) -> u64
	{
		unsafe { transmute(self._bitfield_1.get(31usize, 1) as u64) }
	}

	#[inline(always)]
	pub fn set_aux_output(&mut self, val: u64)
	{
		unsafe
		{
			let val: u64 = transmute(val);
			self._bitfield_1.set(31usize, 1, val as u64)
		}
	}

	#[inline(always)]
	pub fn __reserved_1(&self) -> u64
	{
		unsafe { transmute(self._bitfield_1.get(32usize, 32u8) as u64) }
	}

	#[inline(always)]
	pub fn set___reserved_1(&mut self, val: u64)
	{
		unsafe
		{
			let val: u64 = transmute(val);
			self._bitfield_1.set(32usize, 32u8, val as u64)
		}
	}
	
	#[inline(always)]
	pub fn new_bitfield_1
	(
		disabled: u64,
		inherit: u64,
		pinned: u64,
		exclusive: u64,
		exclude_user: u64,
		exclude_kernel: u64,
		exclude_hv: u64,
		exclude_idle: u64,
		mmap: u64,
		comm: u64,
		freq: u64,
		inherit_stat: u64,
		enable_on_exec: u64,
		task: u64,
		watermark: u64,
		precise_ip: u64,
		mmap_data: u64,
		sample_id_all: u64,
		exclude_host: u64,
		exclude_guest: u64,
		exclude_callchain_kernel: u64,
		exclude_callchain_user: u64,
		mmap2: u64,
		comm_exec: u64,
		use_clockid: u64,
		context_switch: u64,
		write_backward: u64,
		namespaces: u64,
		ksymbol: u64,
		bpf_event: u64,
		aux_output: u64,
		__reserved_1: u64,
	) -> __BindgenBitfieldUnit<[u8; 8], u32>
	{
		let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 8], u32> = Default::default();
		__bindgen_bitfield_unit.set(0, 1,
		{
			let disabled: u64 = unsafe { transmute(disabled) };
			disabled as u64
		});
		__bindgen_bitfield_unit.set(1, 1,
		{
			let inherit: u64 = unsafe { transmute(inherit) };
			inherit as u64
		});
		__bindgen_bitfield_unit.set(2, 1,
		{
			let pinned: u64 = unsafe { transmute(pinned) };
			pinned as u64
		});
		__bindgen_bitfield_unit.set(3, 1,
		{
			let exclusive: u64 = unsafe { transmute(exclusive) };
			exclusive as u64
		});
		__bindgen_bitfield_unit.set(4, 1,
		{
			let exclude_user: u64 = unsafe { transmute(exclude_user) };
			exclude_user as u64
		});
		__bindgen_bitfield_unit.set(5, 1,
		{
			let exclude_kernel: u64 = unsafe { transmute(exclude_kernel) };
			exclude_kernel as u64
		});
		__bindgen_bitfield_unit.set(6, 1,
		{
			let exclude_hv: u64 = unsafe { transmute(exclude_hv) };
			exclude_hv as u64
		});
		__bindgen_bitfield_unit.set(7, 1,
		{
			let exclude_idle: u64 = unsafe { transmute(exclude_idle) };
			exclude_idle as u64
		});
		__bindgen_bitfield_unit.set(8, 1,
		{
			let mmap: u64 = unsafe { transmute(mmap) };
			mmap as u64
		});
		__bindgen_bitfield_unit.set(9, 1,
		{
			let comm: u64 = unsafe { transmute(comm) };
			comm as u64
		});
		__bindgen_bitfield_unit.set(10, 1,
		{
			let freq: u64 = unsafe { transmute(freq) };
			freq as u64
		});
		__bindgen_bitfield_unit.set(11, 1,
		{
			let inherit_stat: u64 = unsafe { transmute(inherit_stat) };
			inherit_stat as u64
		});
		__bindgen_bitfield_unit.set(12, 1,
		{
			let enable_on_exec: u64 = unsafe { transmute(enable_on_exec) };
			enable_on_exec as u64
		});
		__bindgen_bitfield_unit.set(13, 1,
		{
			let task: u64 = unsafe { transmute(task) };
			task as u64
		});
		__bindgen_bitfield_unit.set(14, 1,
		{
			let watermark: u64 = unsafe { transmute(watermark) };
			watermark as u64
		});
		__bindgen_bitfield_unit.set(15, 2u8,
		{
			let precise_ip: u64 = unsafe { transmute(precise_ip) };
			precise_ip as u64
		});
		__bindgen_bitfield_unit.set(17, 1,
		{
			let mmap_data: u64 = unsafe { transmute(mmap_data) };
			mmap_data as u64
		});
		__bindgen_bitfield_unit.set(18, 1,
		{
			let sample_id_all: u64 = unsafe { transmute(sample_id_all) };
			sample_id_all as u64
		});
		__bindgen_bitfield_unit.set(19, 1,
		{
			let exclude_host: u64 = unsafe { transmute(exclude_host) };
			exclude_host as u64
		});
		__bindgen_bitfield_unit.set(20, 1,
		{
			let exclude_guest: u64 = unsafe { transmute(exclude_guest) };
			exclude_guest as u64
		});
		__bindgen_bitfield_unit.set(21, 1,
		{
			let exclude_callchain_kernel: u64 =
				unsafe { transmute(exclude_callchain_kernel) };
			exclude_callchain_kernel as u64
		});
		__bindgen_bitfield_unit.set(22, 1,
		{
			let exclude_callchain_user: u64 =
				unsafe { transmute(exclude_callchain_user) };
			exclude_callchain_user as u64
		});
		__bindgen_bitfield_unit.set(23, 1,
		{
			let mmap2: u64 = unsafe { transmute(mmap2) };
			mmap2 as u64
		});
		__bindgen_bitfield_unit.set(24, 1,
		{
			let comm_exec: u64 = unsafe { transmute(comm_exec) };
			comm_exec as u64
		});
		__bindgen_bitfield_unit.set(25, 1,
		{
			let use_clockid: u64 = unsafe { transmute(use_clockid) };
			use_clockid as u64
		});
		__bindgen_bitfield_unit.set(26, 1,
		{
			let context_switch: u64 = unsafe { transmute(context_switch) };
			context_switch as u64
		});
		__bindgen_bitfield_unit.set(27, 1,
		{
			let write_backward: u64 = unsafe { transmute(write_backward) };
			write_backward as u64
		});
		__bindgen_bitfield_unit.set(28, 1,
		{
			let namespaces: u64 = unsafe { transmute(namespaces) };
			namespaces as u64
		});
		__bindgen_bitfield_unit.set(29, 1,
		{
			let ksymbol: u64 = unsafe { transmute(ksymbol) };
			ksymbol as u64
		});
		__bindgen_bitfield_unit.set(30, 1,
		{
			let bpf_event: u64 = unsafe { transmute(bpf_event) };
			bpf_event as u64
		});
		__bindgen_bitfield_unit.set(31, 1,
		{
			let aux_output: u64 = unsafe { transmute(aux_output) };
			aux_output as u64
		});
		__bindgen_bitfield_unit.set(32, 32,
		{
			let __reserved_1: u64 = unsafe { transmute(__reserved_1) };
			__reserved_1 as u64
		});
		__bindgen_bitfield_unit
	}
}