Debian Codegraph @

templates/man2/perf_event_open.2.pot

raw
1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Free Software Foundation, Inc.
3 # This file is distributed under the same license as the PACKAGE package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5 #
6 #, fuzzy
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: PACKAGE VERSION\n"
10 "POT-Creation-Date: 2026-06-05 06:34+0200\n"
11 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: LANGUAGE <[email protected]>\n"
14 "Language: \n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18
19 #. type: TH
20 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
21 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
22 #, no-wrap
23 msgid "perf_event_open"
24 msgstr ""
25
26 #. type: TH
27 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
28 #: opensuse-tumbleweed
29 #, no-wrap
30 msgid "2026-02-08"
31 msgstr ""
32
33 #. type: TH
34 #: archlinux debian-unstable
35 #, no-wrap
36 msgid "Linux man-pages 6.18"
37 msgstr ""
38
39 #. type: SH
40 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
41 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
42 #, no-wrap
43 msgid "NAME"
44 msgstr ""
45
46 #. type: Plain text
47 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
48 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
49 msgid "perf_event_open - set up performance monitoring"
50 msgstr ""
51
52 #. type: SH
53 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
54 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
55 #, no-wrap
56 msgid "LIBRARY"
57 msgstr ""
58
59 #. type: Plain text
60 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
61 #: opensuse-leap-16-1 opensuse-tumbleweed
62 msgid "Standard C library (I<libc>,\\ I<-lc>)"
63 msgstr ""
64
65 #. type: SH
66 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
67 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
68 #, no-wrap
69 msgid "SYNOPSIS"
70 msgstr ""
71
72 #. type: Plain text
73 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
74 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
75 #, no-wrap
76 msgid ""
77 "B<#include E<lt>linux/perf_event.hE<gt>> /* Definition of B<PERF_*> constants */\n"
78 "B<#include E<lt>linux/hw_breakpoint.hE<gt>> /* Definition of B<HW_*> constants */\n"
79 "B<#include E<lt>sys/syscall.hE<gt>> /* Definition of B<SYS_*> constants */\n"
80 "B<#include E<lt>unistd.hE<gt>>\n"
81 msgstr ""
82
83 #. type: Plain text
84 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
85 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
86 #, no-wrap
87 msgid ""
88 "B<int syscall(SYS_perf_event_open, struct perf_event_attr *>I<attr>B<,>\n"
89 "B< pid_t >I<pid>B<, int >I<cpu>B<, int >I<group_fd>B<, unsigned long >I<flags>B<);>\n"
90 msgstr ""
91
92 #. type: Plain text
93 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
94 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
95 msgid ""
96 "I<Note>: glibc provides no wrapper for B<perf_event_open>(), necessitating "
97 "the use of B<syscall>(2)."
98 msgstr ""
99
100 #. type: SH
101 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
102 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
103 #, no-wrap
104 msgid "DESCRIPTION"
105 msgstr ""
106
107 #. type: Plain text
108 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
109 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
110 msgid ""
111 "Given a list of parameters, B<perf_event_open>() returns a file descriptor, "
112 "for use in subsequent system calls (B<read>(2), B<mmap>(2), B<prctl>(2), "
113 "B<fcntl>(2), etc.)."
114 msgstr ""
115
116 #. type: Plain text
117 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
118 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
119 msgid ""
120 "A call to B<perf_event_open>() creates a file descriptor that allows "
121 "measuring performance information. Each file descriptor corresponds to one "
122 "event that is measured; these can be grouped together to measure multiple "
123 "events simultaneously."
124 msgstr ""
125
126 #. type: Plain text
127 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
128 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
129 msgid ""
130 "Events can be enabled and disabled in two ways: via B<ioctl>(2) and via "
131 "B<prctl>(2). When an event is disabled it does not count or generate "
132 "overflows but does continue to exist and maintain its count value."
133 msgstr ""
134
135 #. type: Plain text
136 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
137 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
138 msgid ""
139 "Events come in two flavors: counting and sampled. A I<counting> event is "
140 "one that is used for counting the aggregate number of events that occur. In "
141 "general, counting event results are gathered with a B<read>(2) call. A "
142 "I<sampling> event periodically writes measurements to a buffer that can then "
143 "be accessed via B<mmap>(2)."
144 msgstr ""
145
146 #. type: SS
147 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
148 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
149 #, no-wrap
150 msgid "Arguments"
151 msgstr ""
152
153 #. type: Plain text
154 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
155 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
156 msgid ""
157 "The I<pid> and I<cpu> arguments allow specifying which process and CPU to "
158 "monitor:"
159 msgstr ""
160
161 #. type: TP
162 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
163 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
164 #, no-wrap
165 msgid "B<pid == 0> and B<cpu == -1>"
166 msgstr ""
167
168 #. type: Plain text
169 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
170 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
171 msgid "This measures the calling process/thread on any CPU."
172 msgstr ""
173
174 #. type: TP
175 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
176 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
177 #, no-wrap
178 msgid "B<pid == 0> and B<cpu E<gt>= 0>"
179 msgstr ""
180
181 #. type: Plain text
182 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
183 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
184 msgid ""
185 "This measures the calling process/thread only when running on the specified "
186 "CPU."
187 msgstr ""
188
189 #. type: TP
190 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
191 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
192 #, no-wrap
193 msgid "B<pid E<gt> 0> and B<cpu == -1>"
194 msgstr ""
195
196 #. type: Plain text
197 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
198 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
199 msgid "This measures the specified process/thread on any CPU."
200 msgstr ""
201
202 #. type: TP
203 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
204 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
205 #, no-wrap
206 msgid "B<pid E<gt> 0> and B<cpu E<gt>= 0>"
207 msgstr ""
208
209 #. type: Plain text
210 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
211 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
212 msgid ""
213 "This measures the specified process/thread only when running on the "
214 "specified CPU."
215 msgstr ""
216
217 #. type: TP
218 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
219 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
220 #, no-wrap
221 msgid "B<pid == -1> and B<cpu E<gt>= 0>"
222 msgstr ""
223
224 #. type: Plain text
225 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
226 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
227 msgid ""
228 "This measures all processes/threads on the specified CPU. This requires "
229 "B<CAP_PERFMON> (since Linux 5.8) or B<CAP_SYS_ADMIN> capability or a I</proc/"
230 "sys/kernel/perf_event_paranoid> value of less than 1."
231 msgstr ""
232
233 #. type: TP
234 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
235 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
236 #, no-wrap
237 msgid "B<pid == -1> and B<cpu == -1>"
238 msgstr ""
239
240 #. type: Plain text
241 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
242 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
243 msgid "This setting is invalid and will return an error."
244 msgstr ""
245
246 #. type: Plain text
247 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
248 #: opensuse-tumbleweed
249 msgid ""
250 "When I<pid> is greater than zero, permission to perform this system call is "
251 "governed by B<CAP_PERFMON> (since Linux 5.9) and a ptrace access mode "
252 "B<PTRACE_MODE_READ_REALCREDS> check on older Linux versions; see "
253 "B<ptrace>(2)."
254 msgstr ""
255
256 #. type: Plain text
257 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
258 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
259 msgid ""
260 "The I<group_fd> argument allows event groups to be created. An event group "
261 "has one event which is the group leader. The leader is created first, with "
262 "I<group_fd> = -1. The rest of the group members are created with subsequent "
263 "B<perf_event_open>() calls with I<group_fd> being set to the file "
264 "descriptor of the group leader. (A single event on its own is created with "
265 "I<group_fd> = -1 and is considered to be a group with only 1 member.) An "
266 "event group is scheduled onto the CPU as a unit: it will be put onto the CPU "
267 "only if all of the events in the group can be put onto the CPU. This means "
268 "that the values of the member events can be meaningfully compared \\"
269 "[em]added, divided (to get ratios), and so on\\[em] with each other, since "
270 "they have counted events for the same set of executed instructions."
271 msgstr ""
272
273 #. type: Plain text
274 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
275 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
276 msgid ""
277 "The I<flags> argument is formed by ORing together zero or more of the "
278 "following values:"
279 msgstr ""
280
281 #. type: TP
282 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
283 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
284 #, no-wrap
285 msgid "B<PERF_FLAG_FD_CLOEXEC> (since Linux 3.14)"
286 msgstr ""
287
288 #. commit a21b0b354d4ac39be691f51c53562e2c24443d9e
289 #. type: Plain text
290 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
291 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
292 msgid ""
293 "This flag enables the close-on-exec flag for the created event file "
294 "descriptor, so that the file descriptor is automatically closed on "
295 "B<execve>(2). Setting the close-on-exec flags at creation time, rather than "
296 "later with B<fcntl>(2), avoids potential race conditions where the calling "
297 "thread invokes B<perf_event_open>() and B<fcntl>(2) at the same time as "
298 "another thread calls B<fork>(2) then B<execve>(2)."
299 msgstr ""
300
301 #. type: TP
302 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
303 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
304 #, no-wrap
305 msgid "B<PERF_FLAG_FD_NO_GROUP>"
306 msgstr ""
307
308 #. type: Plain text
309 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
310 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
311 msgid ""
312 "This flag tells the event to ignore the I<group_fd> parameter except for the "
313 "purpose of setting up output redirection using the B<PERF_FLAG_FD_OUTPUT> "
314 "flag."
315 msgstr ""
316
317 #. type: TP
318 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
319 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
320 #, no-wrap
321 msgid "B<PERF_FLAG_FD_OUTPUT> (broken since Linux 2.6.35)"
322 msgstr ""
323
324 #. commit ac9721f3f54b27a16c7e1afb2481e7ee95a70318
325 #. type: Plain text
326 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
327 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
328 msgid ""
329 "This flag re-routes the event's sampled output to instead be included in the "
330 "mmap buffer of the event specified by I<group_fd>."
331 msgstr ""
332
333 #. type: TP
334 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
335 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
336 #, no-wrap
337 msgid "B<PERF_FLAG_PID_CGROUP> (since Linux 2.6.39)"
338 msgstr ""
339
340 #. commit e5d1367f17ba6a6fed5fd8b74e4d5720923e0c25
341 #. type: Plain text
342 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
343 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
344 msgid ""
345 "This flag activates per-container system-wide monitoring. A container is an "
346 "abstraction that isolates a set of resources for finer-grained control "
347 "(CPUs, memory, etc.). In this mode, the event is measured only if the "
348 "thread running on the monitored CPU belongs to the designated container "
349 "(cgroup). The cgroup is identified by passing a file descriptor opened on "
350 "its directory in the cgroupfs filesystem. For instance, if the cgroup to "
351 "monitor is called I<test>, then a file descriptor opened on I</dev/cgroup/"
352 "test> (assuming cgroupfs is mounted on I</dev/cgroup>) must be passed as "
353 "the I<pid> parameter. cgroup monitoring is available only for system-wide "
354 "events and may therefore require extra permissions."
355 msgstr ""
356
357 #. type: Plain text
358 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
359 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
360 msgid ""
361 "The I<perf_event_attr> structure provides detailed configuration information "
362 "for the event being created."
363 msgstr ""
364
365 #. type: Plain text
366 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
367 #: opensuse-leap-16-1 opensuse-tumbleweed
368 #, no-wrap
369 msgid ""
370 "struct perf_event_attr {\n"
371 " __u32 type; /* Type of event */\n"
372 " __u32 size; /* Size of attribute structure */\n"
373 " __u64 config; /* Type-specific configuration */\n"
374 "\\&\n"
375 " union {\n"
376 " __u64 sample_period; /* Period of sampling */\n"
377 " __u64 sample_freq; /* Frequency of sampling */\n"
378 " };\n"
379 "\\&\n"
380 " __u64 sample_type; /* Specifies values included in sample */\n"
381 " __u64 read_format; /* Specifies values returned in read */\n"
382 "\\&\n"
383 " __u64 disabled : 1, /* off by default */\n"
384 " inherit : 1, /* children inherit it */\n"
385 " pinned : 1, /* must always be on PMU */\n"
386 " exclusive : 1, /* only group on PMU */\n"
387 " exclude_user : 1, /* don\\[aq]t count user */\n"
388 " exclude_kernel : 1, /* don\\[aq]t count kernel */\n"
389 " exclude_hv : 1, /* don\\[aq]t count hypervisor */\n"
390 " exclude_idle : 1, /* don\\[aq]t count when idle */\n"
391 " mmap : 1, /* include mmap data */\n"
392 " comm : 1, /* include comm data */\n"
393 " freq : 1, /* use freq, not period */\n"
394 " inherit_stat : 1, /* per task counts */\n"
395 " enable_on_exec : 1, /* next exec enables */\n"
396 " task : 1, /* trace fork/exit */\n"
397 " watermark : 1, /* wakeup_watermark */\n"
398 " precise_ip : 2, /* skid constraint */\n"
399 " mmap_data : 1, /* non-exec mmap data */\n"
400 " sample_id_all : 1, /* sample_type all events */\n"
401 " exclude_host : 1, /* don\\[aq]t count in host */\n"
402 " exclude_guest : 1, /* don\\[aq]t count in guest */\n"
403 " exclude_callchain_kernel : 1,\n"
404 " /* exclude kernel callchains */\n"
405 " exclude_callchain_user : 1,\n"
406 " /* exclude user callchains */\n"
407 " mmap2 : 1, /* include mmap with inode data */\n"
408 " comm_exec : 1, /* flag comm events that are\n"
409 " due to exec */\n"
410 " use_clockid : 1, /* use clockid for time fields */\n"
411 " context_switch : 1, /* context switch data */\n"
412 " write_backward : 1, /* Write ring buffer from end\n"
413 " to beginning */\n"
414 " namespaces : 1, /* include namespaces data */\n"
415 " ksymbol : 1, /* include ksymbol events */\n"
416 " bpf_event : 1, /* include bpf events */\n"
417 " aux_output : 1, /* generate AUX records\n"
418 " instead of events */\n"
419 " cgroup : 1, /* include cgroup events */\n"
420 " text_poke : 1, /* include text poke events */\n"
421 " build_id : 1, /* use build id in mmap2 events */\n"
422 " inherit_thread : 1, /* children only inherit */\n"
423 " /* if cloned with CLONE_THREAD */\n"
424 " remove_on_exec : 1, /* event is removed from task\n"
425 " on exec */\n"
426 " sigtrap : 1, /* send synchronous SIGTRAP\n"
427 " on event */\n"
428 "\\&\n"
429 " __reserved_1 : 26;\n"
430 "\\&\n"
431 " union {\n"
432 " __u32 wakeup_events; /* wakeup every n events */\n"
433 " __u32 wakeup_watermark; /* bytes before wakeup */\n"
434 " };\n"
435 "\\&\n"
436 " __u32 bp_type; /* breakpoint type */\n"
437 "\\&\n"
438 " union {\n"
439 " __u64 bp_addr; /* breakpoint address */\n"
440 " __u64 kprobe_func; /* for perf_kprobe */\n"
441 " __u64 uprobe_path; /* for perf_uprobe */\n"
442 " __u64 config1; /* extension of config */\n"
443 " };\n"
444 "\\&\n"
445 " union {\n"
446 " __u64 bp_len; /* breakpoint size */\n"
447 " __u64 kprobe_addr; /* with kprobe_func == NULL */\n"
448 " __u64 probe_offset; /* for perf_[k,u]probe */\n"
449 " __u64 config2; /* extension of config1 */\n"
450 " };\n"
451 " __u64 branch_sample_type; /* enum perf_branch_sample_type */\n"
452 " __u64 sample_regs_user; /* user regs to dump on samples */\n"
453 " __u32 sample_stack_user; /* size of stack to dump on\n"
454 " samples */\n"
455 " __s32 clockid; /* clock to use for time fields */\n"
456 " __u64 sample_regs_intr; /* regs to dump on samples */\n"
457 " __u32 aux_watermark; /* aux bytes before wakeup */\n"
458 " __u16 sample_max_stack; /* max frames in callchain */\n"
459 " __u16 __reserved_2; /* align to u64 */\n"
460 " __u32 aux_sample_size; /* max aux sample size */\n"
461 " __u32 __reserved_3; /* align to u64 */\n"
462 " __u64 sig_data; /* user data for sigtrap */\n"
463 "\\&\n"
464 "};\n"
465 msgstr ""
466
467 #. type: Plain text
468 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
469 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
470 msgid ""
471 "The fields of the I<perf_event_attr> structure are described in more detail "
472 "below:"
473 msgstr ""
474
475 #. type: TP
476 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
477 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
478 #, no-wrap
479 msgid "I<type>"
480 msgstr ""
481
482 #. type: Plain text
483 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
484 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
485 msgid ""
486 "This field specifies the overall event type. It has one of the following "
487 "values:"
488 msgstr ""
489
490 #. type: TP
491 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
492 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
493 #, no-wrap
494 msgid "B<PERF_TYPE_HARDWARE>"
495 msgstr ""
496
497 #. type: Plain text
498 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
499 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
500 msgid ""
501 "This indicates one of the \"generalized\" hardware events provided by the "
502 "kernel. See the I<config> field definition for more details."
503 msgstr ""
504
505 #. type: TP
506 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
507 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
508 #, no-wrap
509 msgid "B<PERF_TYPE_SOFTWARE>"
510 msgstr ""
511
512 #. type: Plain text
513 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
514 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
515 msgid ""
516 "This indicates one of the software-defined events provided by the kernel "
517 "(even if no hardware support is available)."
518 msgstr ""
519
520 #. type: TP
521 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
522 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
523 #, no-wrap
524 msgid "B<PERF_TYPE_TRACEPOINT>"
525 msgstr ""
526
527 #. type: Plain text
528 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
529 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
530 msgid ""
531 "This indicates a tracepoint provided by the kernel tracepoint infrastructure."
532 msgstr ""
533
534 #. type: TP
535 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
536 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
537 #, no-wrap
538 msgid "B<PERF_TYPE_HW_CACHE>"
539 msgstr ""
540
541 #. type: Plain text
542 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
543 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
544 msgid ""
545 "This indicates a hardware cache event. This has a special encoding, "
546 "described in the I<config> field definition."
547 msgstr ""
548
549 #. type: TP
550 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
551 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
552 #, no-wrap
553 msgid "B<PERF_TYPE_RAW>"
554 msgstr ""
555
556 #. type: Plain text
557 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
558 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
559 msgid ""
560 "This indicates a \"raw\" implementation-specific event in the I<config> "
561 "field."
562 msgstr ""
563
564 #. type: TP
565 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
566 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
567 #, no-wrap
568 msgid "B<PERF_TYPE_BREAKPOINT> (since Linux 2.6.33)"
569 msgstr ""
570
571 #. commit 24f1e32c60c45c89a997c73395b69c8af6f0a84e
572 #. type: Plain text
573 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
574 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
575 msgid ""
576 "This indicates a hardware breakpoint as provided by the CPU. Breakpoints "
577 "can be read/write accesses to an address as well as execution of an "
578 "instruction address."
579 msgstr ""
580
581 #. type: TP
582 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
583 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
584 #, no-wrap
585 msgid "dynamic PMU"
586 msgstr ""
587
588 #. commit 2e80a82a49c4c7eca4e35734380f28298ba5db19
589 #. type: Plain text
590 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
591 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
592 msgid ""
593 "Since Linux 2.6.38, B<perf_event_open>() can support multiple PMUs. To "
594 "enable this, a value exported by the kernel can be used in the I<type> field "
595 "to indicate which PMU to use. The value to use can be found in the sysfs "
596 "filesystem: there is a subdirectory per PMU instance under I</sys/bus/"
597 "event_source/devices>. In each subdirectory there is a I<type> file whose "
598 "content is an integer that can be used in the I<type> field. For instance, "
599 "I</sys/bus/event_source/devices/cpu/type> contains the value for the core "
600 "CPU PMU, which is usually 4."
601 msgstr ""
602
603 #. type: TP
604 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
605 #: opensuse-leap-16-1 opensuse-tumbleweed
606 #, no-wrap
607 msgid "B<kprobe>"
608 msgstr ""
609
610 #. type: TQ
611 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
612 #: opensuse-leap-16-1 opensuse-tumbleweed
613 #, no-wrap
614 msgid "B<uprobe> (both since Linux 4.17)"
615 msgstr ""
616
617 #. commit 65074d43fc77bcae32776724b7fa2696923c78e4
618 #. commit e12f03d7031a977356e3d7b75a68c2185ff8d155
619 #. commit 33ea4b24277b06dbc55d7f5772a46f029600255e
620 #. type: Plain text
621 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
622 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
623 msgid ""
624 "These two dynamic PMUs create a kprobe/uprobe and attach it to the file "
625 "descriptor generated by perf_event_open. The kprobe/uprobe will be "
626 "destroyed on the destruction of the file descriptor. See fields "
627 "I<kprobe_func>, I<uprobe_path>, I<kprobe_addr>, and I<probe_offset> for more "
628 "details."
629 msgstr ""
630
631 #. type: TP
632 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
633 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
634 #, no-wrap
635 msgid "I<size>"
636 msgstr ""
637
638 #. type: Plain text
639 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
640 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
641 msgid ""
642 "The size of the I<perf_event_attr> structure for forward/backward "
643 "compatibility. Set this using I<sizeof(struct perf_event_attr)> to allow "
644 "the kernel to see the struct size at the time of compilation."
645 msgstr ""
646
647 #. commit cb5d76999029ae7a517cb07dfa732c1b5a934fc2
648 #. this was added much later when PERF_ATTR_SIZE_VER2 happened
649 #. but the actual attr_size had increased in Linux 2.6.33
650 #. commit cb5d76999029ae7a517cb07dfa732c1b5a934fc2
651 #. commit 1659d129ed014b715b0b2120e6fd929bdd33ed03
652 #. commit 60e2364e60e86e81bc6377f49779779e6120977f
653 #. commit 1a5941312414c71dece6717da9a0fa1303127afa
654 #. type: Plain text
655 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
656 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
657 msgid ""
658 "The related define B<PERF_ATTR_SIZE_VER0> is set to 64; this was the size of "
659 "the first published struct. B<PERF_ATTR_SIZE_VER1> is 72, corresponding to "
660 "the addition of breakpoints in Linux 2.6.33. B<PERF_ATTR_SIZE_VER2> is 80 "
661 "corresponding to the addition of branch sampling in Linux 3.4. "
662 "B<PERF_ATTR_SIZE_VER3> is 96 corresponding to the addition of "
663 "I<sample_regs_user> and I<sample_stack_user> in Linux 3.7. "
664 "B<PERF_ATTR_SIZE_VER4> is 104 corresponding to the addition of "
665 "I<sample_regs_intr> in Linux 3.19. B<PERF_ATTR_SIZE_VER5> is 112 "
666 "corresponding to the addition of I<aux_watermark> in Linux 4.1."
667 msgstr ""
668
669 #. type: TP
670 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
671 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
672 #, no-wrap
673 msgid "I<config>"
674 msgstr ""
675
676 #. type: Plain text
677 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
678 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
679 msgid ""
680 "This specifies which event you want, in conjunction with the I<type> field. "
681 "The I<config1> and I<config2> fields are also taken into account in cases "
682 "where 64 bits is not enough to fully specify the event. The encoding of "
683 "these fields are event dependent."
684 msgstr ""
685
686 #. type: Plain text
687 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
688 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
689 msgid ""
690 "There are various ways to set the I<config> field that are dependent on the "
691 "value of the previously described I<type> field. What follows are various "
692 "possible settings for I<config> separated out by I<type>."
693 msgstr ""
694
695 #. type: Plain text
696 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
697 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
698 msgid ""
699 "If I<type> is B<PERF_TYPE_HARDWARE>, we are measuring one of the generalized "
700 "hardware CPU events. Not all of these are available on all platforms. Set "
701 "I<config> to one of the following:"
702 msgstr ""
703
704 #. type: TP
705 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
706 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
707 #, no-wrap
708 msgid "B<PERF_COUNT_HW_CPU_CYCLES>"
709 msgstr ""
710
711 #. type: Plain text
712 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
713 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
714 msgid "Total cycles. Be wary of what happens during CPU frequency scaling."
715 msgstr ""
716
717 #. type: TP
718 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
719 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
720 #, no-wrap
721 msgid "B<PERF_COUNT_HW_INSTRUCTIONS>"
722 msgstr ""
723
724 #. type: Plain text
725 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
726 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
727 msgid ""
728 "Retired instructions. Be careful, these can be affected by various issues, "
729 "most notably hardware interrupt counts."
730 msgstr ""
731
732 #. type: TP
733 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
734 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
735 #, no-wrap
736 msgid "B<PERF_COUNT_HW_CACHE_REFERENCES>"
737 msgstr ""
738
739 #. type: Plain text
740 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
741 #: opensuse-tumbleweed
742 msgid ""
743 "Cache accesses. Usually this indicates Last Level Cache accesses but this "
744 "may vary depending on your CPU. This may include prefetches and coherency "
745 "messages; again, this depends on the design of your CPU."
746 msgstr ""
747
748 #. type: TP
749 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
750 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
751 #, no-wrap
752 msgid "B<PERF_COUNT_HW_CACHE_MISSES>"
753 msgstr ""
754
755 #. type: Plain text
756 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
757 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
758 msgid ""
759 "Cache misses. Usually this indicates Last Level Cache misses; this is "
760 "intended to be used in conjunction with the "
761 "B<PERF_COUNT_HW_CACHE_REFERENCES> event to calculate cache miss rates."
762 msgstr ""
763
764 #. type: TP
765 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
766 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
767 #, no-wrap
768 msgid "B<PERF_COUNT_HW_BRANCH_INSTRUCTIONS>"
769 msgstr ""
770
771 #. commit f287d332ce835f77a4f5077d2c0ef1e3f9ea42d2
772 #. type: Plain text
773 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
774 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
775 msgid ""
776 "Retired branch instructions. Prior to Linux 2.6.35, this used the wrong "
777 "event on AMD processors."
778 msgstr ""
779
780 #. type: TP
781 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
782 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
783 #, no-wrap
784 msgid "B<PERF_COUNT_HW_BRANCH_MISSES>"
785 msgstr ""
786
787 #. type: Plain text
788 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
789 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
790 msgid "Mispredicted branch instructions."
791 msgstr ""
792
793 #. type: TP
794 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
795 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
796 #, no-wrap
797 msgid "B<PERF_COUNT_HW_BUS_CYCLES>"
798 msgstr ""
799
800 #. type: Plain text
801 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
802 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
803 msgid "Bus cycles, which can be different from total cycles."
804 msgstr ""
805
806 #. type: TP
807 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
808 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
809 #, no-wrap
810 msgid "B<PERF_COUNT_HW_STALLED_CYCLES_FRONTEND> (since Linux 3.0)"
811 msgstr ""
812
813 #. commit 8f62242246351b5a4bc0c1f00c0c7003edea128a
814 #. type: Plain text
815 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
816 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
817 msgid "Stalled cycles during issue."
818 msgstr ""
819
820 #. type: TP
821 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
822 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
823 #, no-wrap
824 msgid "B<PERF_COUNT_HW_STALLED_CYCLES_BACKEND> (since Linux 3.0)"
825 msgstr ""
826
827 #. commit 8f62242246351b5a4bc0c1f00c0c7003edea128a
828 #. type: Plain text
829 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
830 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
831 msgid "Stalled cycles during retirement."
832 msgstr ""
833
834 #. type: TP
835 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
836 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
837 #, no-wrap
838 msgid "B<PERF_COUNT_HW_REF_CPU_CYCLES> (since Linux 3.3)"
839 msgstr ""
840
841 #. commit c37e17497e01fc0f5d2d6feb5723b210b3ab8890
842 #. type: Plain text
843 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
844 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
845 msgid "Total cycles; not affected by CPU frequency scaling."
846 msgstr ""
847
848 #. type: Plain text
849 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
850 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
851 msgid ""
852 "If I<type> is B<PERF_TYPE_SOFTWARE>, we are measuring software events "
853 "provided by the kernel. Set I<config> to one of the following:"
854 msgstr ""
855
856 #. type: TP
857 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
858 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
859 #, no-wrap
860 msgid "B<PERF_COUNT_SW_CPU_CLOCK>"
861 msgstr ""
862
863 #. type: Plain text
864 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
865 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
866 msgid "This reports the CPU clock, a high-resolution per-CPU timer."
867 msgstr ""
868
869 #. type: TP
870 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
871 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
872 #, no-wrap
873 msgid "B<PERF_COUNT_SW_TASK_CLOCK>"
874 msgstr ""
875
876 #. type: Plain text
877 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
878 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
879 msgid "This reports a clock count specific to the task that is running."
880 msgstr ""
881
882 #. type: TP
883 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
884 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
885 #, no-wrap
886 msgid "B<PERF_COUNT_SW_PAGE_FAULTS>"
887 msgstr ""
888
889 #. type: Plain text
890 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
891 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
892 msgid "This reports the number of page faults."
893 msgstr ""
894
895 #. type: TP
896 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
897 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
898 #, no-wrap
899 msgid "B<PERF_COUNT_SW_CONTEXT_SWITCHES>"
900 msgstr ""
901
902 #. commit e49a5bd38159dfb1928fd25b173bc9de4bbadb21
903 #. type: Plain text
904 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
905 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
906 msgid ""
907 "This counts context switches. Until Linux 2.6.34, these were all reported "
908 "as user-space events, after that they are reported as happening in the "
909 "kernel."
910 msgstr ""
911
912 #. type: TP
913 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
914 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
915 #, no-wrap
916 msgid "B<PERF_COUNT_SW_CPU_MIGRATIONS>"
917 msgstr ""
918
919 #. type: Plain text
920 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
921 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
922 msgid "This reports the number of times the process has migrated to a new CPU."
923 msgstr ""
924
925 #. type: TP
926 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
927 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
928 #, no-wrap
929 msgid "B<PERF_COUNT_SW_PAGE_FAULTS_MIN>"
930 msgstr ""
931
932 #. type: Plain text
933 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
934 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
935 msgid ""
936 "This counts the number of minor page faults. These did not require disk I/O "
937 "to handle."
938 msgstr ""
939
940 #. type: TP
941 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
942 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
943 #, no-wrap
944 msgid "B<PERF_COUNT_SW_PAGE_FAULTS_MAJ>"
945 msgstr ""
946
947 #. type: Plain text
948 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
949 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
950 msgid ""
951 "This counts the number of major page faults. These required disk I/O to "
952 "handle."
953 msgstr ""
954
955 #. type: TP
956 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
957 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
958 #, no-wrap
959 msgid "B<PERF_COUNT_SW_ALIGNMENT_FAULTS> (since Linux 2.6.33)"
960 msgstr ""
961
962 #. commit f7d7986060b2890fc26db6ab5203efbd33aa2497
963 #. type: Plain text
964 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
965 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
966 msgid ""
967 "This counts the number of alignment faults. These happen when unaligned "
968 "memory accesses happen; the kernel can handle these but it reduces "
969 "performance. This happens only on some architectures (never on x86)."
970 msgstr ""
971
972 #. type: TP
973 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
974 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
975 #, no-wrap
976 msgid "B<PERF_COUNT_SW_EMULATION_FAULTS> (since Linux 2.6.33)"
977 msgstr ""
978
979 #. commit f7d7986060b2890fc26db6ab5203efbd33aa2497
980 #. type: Plain text
981 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
982 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
983 msgid ""
984 "This counts the number of emulation faults. The kernel sometimes traps on "
985 "unimplemented instructions and emulates them for user space. This can "
986 "negatively impact performance."
987 msgstr ""
988
989 #. type: TP
990 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
991 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
992 #, no-wrap
993 msgid "B<PERF_COUNT_SW_DUMMY> (since Linux 3.12)"
994 msgstr ""
995
996 #. commit fa0097ee690693006ab1aea6c01ad3c851b65c77
997 #. type: Plain text
998 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
999 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1000 msgid ""
1001 "This is a placeholder event that counts nothing. Informational sample "
1002 "record types such as mmap or comm must be associated with an active event. "
1003 "This dummy event allows gathering such records without requiring a counting "
1004 "event."
1005 msgstr ""
1006
1007 #. type: TP
1008 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1009 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1010 #, no-wrap
1011 msgid "B<PERF_COUNT_SW_BPF_OUTPUT> (since Linux 4.4)"
1012 msgstr ""
1013
1014 #. commit a43eec304259a6c637f4014a6d4767159b6a3aa3
1015 #. type: Plain text
1016 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1017 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1018 msgid ""
1019 "This is used to generate raw sample data from BPF. BPF programs can write "
1020 "to this event using B<bpf_perf_event_output> helper."
1021 msgstr ""
1022
1023 #. type: TP
1024 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1025 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1026 #, no-wrap
1027 msgid "B<PERF_COUNT_SW_CGROUP_SWITCHES> (since Linux 5.13)"
1028 msgstr ""
1029
1030 #. commit d0d1dd628527c77db2391ce0293c1ed344b2365f
1031 #. type: Plain text
1032 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1033 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1034 msgid ""
1035 "This counts context switches to a task in a different cgroup. In other "
1036 "words, if the next task is in the same cgroup, it won't count the switch."
1037 msgstr ""
1038
1039 #. type: Plain text
1040 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1041 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1042 msgid ""
1043 "If I<type> is B<PERF_TYPE_TRACEPOINT>, then we are measuring kernel "
1044 "tracepoints. The value to use in I<config> can be obtained from under "
1045 "debugfs I<tracing/events/*/*/id> if ftrace is enabled in the kernel."
1046 msgstr ""
1047
1048 #. type: Plain text
1049 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1050 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1051 msgid ""
1052 "If I<type> is B<PERF_TYPE_HW_CACHE>, then we are measuring a hardware CPU "
1053 "cache event. To calculate the appropriate I<config> value, use the "
1054 "following equation:"
1055 msgstr ""
1056
1057 #. type: Plain text
1058 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1059 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1060 #, no-wrap
1061 msgid ""
1062 "config = (perf_hw_cache_id) |\n"
1063 " (perf_hw_cache_op_id E<lt>E<lt> 8) |\n"
1064 " (perf_hw_cache_op_result_id E<lt>E<lt> 16);\n"
1065 msgstr ""
1066
1067 #. type: Plain text
1068 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1069 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1070 msgid "where I<perf_hw_cache_id> is one of:"
1071 msgstr ""
1072
1073 #. type: TP
1074 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1075 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1076 #, no-wrap
1077 msgid "B<PERF_COUNT_HW_CACHE_L1D>"
1078 msgstr ""
1079
1080 #. type: Plain text
1081 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1082 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1083 msgid "for measuring Level 1 Data Cache"
1084 msgstr ""
1085
1086 #. type: TP
1087 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1088 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1089 #, no-wrap
1090 msgid "B<PERF_COUNT_HW_CACHE_L1I>"
1091 msgstr ""
1092
1093 #. type: Plain text
1094 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1095 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1096 msgid "for measuring Level 1 Instruction Cache"
1097 msgstr ""
1098
1099 #. type: TP
1100 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1101 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1102 #, no-wrap
1103 msgid "B<PERF_COUNT_HW_CACHE_LL>"
1104 msgstr ""
1105
1106 #. type: Plain text
1107 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1108 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1109 msgid "for measuring Last-Level Cache"
1110 msgstr ""
1111
1112 #. type: TP
1113 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1114 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1115 #, no-wrap
1116 msgid "B<PERF_COUNT_HW_CACHE_DTLB>"
1117 msgstr ""
1118
1119 #. type: Plain text
1120 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1121 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1122 msgid "for measuring the Data TLB"
1123 msgstr ""
1124
1125 #. type: TP
1126 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1127 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1128 #, no-wrap
1129 msgid "B<PERF_COUNT_HW_CACHE_ITLB>"
1130 msgstr ""
1131
1132 #. type: Plain text
1133 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1134 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1135 msgid "for measuring the Instruction TLB"
1136 msgstr ""
1137
1138 #. type: TP
1139 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1140 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1141 #, no-wrap
1142 msgid "B<PERF_COUNT_HW_CACHE_BPU>"
1143 msgstr ""
1144
1145 #. type: Plain text
1146 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1147 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1148 msgid "for measuring the branch prediction unit"
1149 msgstr ""
1150
1151 #. type: TP
1152 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1153 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1154 #, no-wrap
1155 msgid "B<PERF_COUNT_HW_CACHE_NODE> (since Linux 3.1)"
1156 msgstr ""
1157
1158 #. commit 89d6c0b5bdbb1927775584dcf532d98b3efe1477
1159 #. type: Plain text
1160 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1161 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1162 msgid "for measuring local memory accesses"
1163 msgstr ""
1164
1165 #. type: Plain text
1166 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1167 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1168 msgid "and I<perf_hw_cache_op_id> is one of:"
1169 msgstr ""
1170
1171 #. type: TP
1172 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1173 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1174 #, no-wrap
1175 msgid "B<PERF_COUNT_HW_CACHE_OP_READ>"
1176 msgstr ""
1177
1178 #. type: Plain text
1179 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1180 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1181 msgid "for read accesses"
1182 msgstr ""
1183
1184 #. type: TP
1185 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1186 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1187 #, no-wrap
1188 msgid "B<PERF_COUNT_HW_CACHE_OP_WRITE>"
1189 msgstr ""
1190
1191 #. type: Plain text
1192 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1193 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1194 msgid "for write accesses"
1195 msgstr ""
1196
1197 #. type: TP
1198 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1199 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1200 #, no-wrap
1201 msgid "B<PERF_COUNT_HW_CACHE_OP_PREFETCH>"
1202 msgstr ""
1203
1204 #. type: Plain text
1205 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1206 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1207 msgid "for prefetch accesses"
1208 msgstr ""
1209
1210 #. type: Plain text
1211 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1212 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1213 msgid "and I<perf_hw_cache_op_result_id> is one of:"
1214 msgstr ""
1215
1216 #. type: TP
1217 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1218 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1219 #, no-wrap
1220 msgid "B<PERF_COUNT_HW_CACHE_RESULT_ACCESS>"
1221 msgstr ""
1222
1223 #. type: Plain text
1224 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1225 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1226 msgid "to measure accesses"
1227 msgstr ""
1228
1229 #. type: TP
1230 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1231 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1232 #, no-wrap
1233 msgid "B<PERF_COUNT_HW_CACHE_RESULT_MISS>"
1234 msgstr ""
1235
1236 #. type: Plain text
1237 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1238 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1239 msgid "to measure misses"
1240 msgstr ""
1241
1242 #. type: Plain text
1243 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1244 #: opensuse-tumbleweed
1245 msgid ""
1246 "If I<type> is B<PERF_TYPE_RAW>, then a custom \"raw\" I<config> value is "
1247 "needed. Most CPUs support events that are not covered by the "
1248 "\"generalized\" events. These are implementation defined; see your CPU "
1249 "manual (for example, the Intel Volume 3B documentation, or the AMD BIOS and "
1250 "Kernel Developer Guide). The libpfm4 library can be used to translate from "
1251 "the name in the architectural manuals to the raw hex value "
1252 "B<perf_event_open>() expects in this field."
1253 msgstr ""
1254
1255 #. type: Plain text
1256 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1257 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1258 msgid ""
1259 "If I<type> is B<PERF_TYPE_BREAKPOINT>, then leave I<config> set to zero. "
1260 "Its parameters are set in other places."
1261 msgstr ""
1262
1263 #. type: Plain text
1264 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1265 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1266 msgid ""
1267 "If I<type> is B<kprobe> or B<uprobe>, set I<retprobe> (bit 0 of I<config>, "
1268 "see I</sys/bus/event_source/devices/[k,u]probe/format/retprobe>) for "
1269 "kretprobe/uretprobe. See fields I<kprobe_func>, I<uprobe_path>, "
1270 "I<kprobe_addr>, and I<probe_offset> for more details."
1271 msgstr ""
1272
1273 #. type: TP
1274 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1275 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1276 #, no-wrap
1277 msgid "I<kprobe_func>"
1278 msgstr ""
1279
1280 #. type: TQ
1281 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1282 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1283 #, no-wrap
1284 msgid "I<uprobe_path>"
1285 msgstr ""
1286
1287 #. type: TQ
1288 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1289 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1290 #, no-wrap
1291 msgid "I<kprobe_addr>"
1292 msgstr ""
1293
1294 #. type: TQ
1295 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1296 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1297 #, no-wrap
1298 msgid "I<probe_offset>"
1299 msgstr ""
1300
1301 #. type: Plain text
1302 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1303 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1304 msgid ""
1305 "These fields describe the kprobe/uprobe for dynamic PMUs B<kprobe> and "
1306 "B<uprobe>. For B<kprobe>: use I<kprobe_func> and I<probe_offset>, or use "
1307 "I<kprobe_addr> and leave I<kprobe_func> as NULL. For B<uprobe>: use "
1308 "I<uprobe_path> and I<probe_offset>."
1309 msgstr ""
1310
1311 #. type: TP
1312 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1313 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1314 #, no-wrap
1315 msgid "I<sample_period>"
1316 msgstr ""
1317
1318 #. type: TQ
1319 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1320 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1321 #, no-wrap
1322 msgid "I<sample_freq>"
1323 msgstr ""
1324
1325 #. type: Plain text
1326 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1327 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1328 msgid ""
1329 "A \"sampling\" event is one that generates an overflow notification every N "
1330 "events, where N is given by I<sample_period>. A sampling event has "
1331 "I<sample_period> E<gt> 0. When an overflow occurs, requested data is "
1332 "recorded in the mmap buffer. The I<sample_type> field controls what data is "
1333 "recorded on each overflow."
1334 msgstr ""
1335
1336 #. type: Plain text
1337 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1338 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1339 msgid ""
1340 "I<sample_freq> can be used if you wish to use frequency rather than period. "
1341 "In this case, you set the I<freq> flag. The kernel will adjust the sampling "
1342 "period to try and achieve the desired rate. The rate of adjustment is a "
1343 "timer tick."
1344 msgstr ""
1345
1346 #. type: TP
1347 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1348 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1349 #, no-wrap
1350 msgid "I<sample_type>"
1351 msgstr ""
1352
1353 #. type: Plain text
1354 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1355 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1356 msgid ""
1357 "The various bits in this field specify which values to include in the "
1358 "sample. They will be recorded in a ring-buffer, which is available to user "
1359 "space using B<mmap>(2). The order in which the values are saved in the "
1360 "sample are documented in the MMAP Layout subsection below; it is not the "
1361 "I<enum perf_event_sample_format> order."
1362 msgstr ""
1363
1364 #. type: TP
1365 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1366 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1367 #, no-wrap
1368 msgid "B<PERF_SAMPLE_IP>"
1369 msgstr ""
1370
1371 #. type: Plain text
1372 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1373 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1374 msgid "Records instruction pointer."
1375 msgstr ""
1376
1377 #. type: TP
1378 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1379 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1380 #, no-wrap
1381 msgid "B<PERF_SAMPLE_TID>"
1382 msgstr ""
1383
1384 #. type: Plain text
1385 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1386 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1387 msgid "Records the process and thread IDs."
1388 msgstr ""
1389
1390 #. type: TP
1391 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1392 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1393 #, no-wrap
1394 msgid "B<PERF_SAMPLE_TIME>"
1395 msgstr ""
1396
1397 #. type: Plain text
1398 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1399 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1400 msgid "Records a timestamp."
1401 msgstr ""
1402
1403 #. type: TP
1404 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1405 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1406 #, no-wrap
1407 msgid "B<PERF_SAMPLE_ADDR>"
1408 msgstr ""
1409
1410 #. type: Plain text
1411 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1412 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1413 msgid "Records an address, if applicable."
1414 msgstr ""
1415
1416 #. type: TP
1417 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1418 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1419 #, no-wrap
1420 msgid "B<PERF_SAMPLE_READ>"
1421 msgstr ""
1422
1423 #. type: Plain text
1424 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1425 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1426 msgid ""
1427 "Record counter values for all events in a group, not just the group leader."
1428 msgstr ""
1429
1430 #. type: TP
1431 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1432 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1433 #, no-wrap
1434 msgid "B<PERF_SAMPLE_CALLCHAIN>"
1435 msgstr ""
1436
1437 #. type: Plain text
1438 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1439 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1440 msgid "Records the callchain (stack backtrace)."
1441 msgstr ""
1442
1443 #. type: TP
1444 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1445 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1446 #, no-wrap
1447 msgid "B<PERF_SAMPLE_ID>"
1448 msgstr ""
1449
1450 #. type: Plain text
1451 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1452 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1453 msgid "Records a unique ID for the opened event's group leader."
1454 msgstr ""
1455
1456 #. type: TP
1457 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1458 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1459 #, no-wrap
1460 msgid "B<PERF_SAMPLE_CPU>"
1461 msgstr ""
1462
1463 #. type: Plain text
1464 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1465 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1466 msgid "Records CPU number."
1467 msgstr ""
1468
1469 #. type: TP
1470 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1471 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1472 #, no-wrap
1473 msgid "B<PERF_SAMPLE_PERIOD>"
1474 msgstr ""
1475
1476 #. type: Plain text
1477 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1478 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1479 msgid "Records the current sampling period."
1480 msgstr ""
1481
1482 #. type: TP
1483 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1484 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1485 #, no-wrap
1486 msgid "B<PERF_SAMPLE_STREAM_ID>"
1487 msgstr ""
1488
1489 #. type: Plain text
1490 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1491 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1492 msgid ""
1493 "Records a unique ID for the opened event. Unlike B<PERF_SAMPLE_ID> the "
1494 "actual ID is returned, not the group leader. This ID is the same as the one "
1495 "returned by B<PERF_FORMAT_ID>."
1496 msgstr ""
1497
1498 #. type: TP
1499 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1500 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1501 #, no-wrap
1502 msgid "B<PERF_SAMPLE_RAW>"
1503 msgstr ""
1504
1505 #. type: Plain text
1506 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1507 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1508 msgid ""
1509 "Records additional data, if applicable. Usually returned by tracepoint "
1510 "events."
1511 msgstr ""
1512
1513 #. type: TP
1514 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1515 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1516 #, no-wrap
1517 msgid "B<PERF_SAMPLE_BRANCH_STACK> (since Linux 3.4)"
1518 msgstr ""
1519
1520 #. commit bce38cd53e5ddba9cb6d708c4ef3d04a4016ec7e
1521 #. type: Plain text
1522 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1523 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1524 msgid ""
1525 "This provides a record of recent branches, as provided by CPU branch "
1526 "sampling hardware (such as Intel Last Branch Record). Not all hardware "
1527 "supports this feature."
1528 msgstr ""
1529
1530 #. type: Plain text
1531 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1532 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1533 msgid ""
1534 "See the I<branch_sample_type> field for how to filter which branches are "
1535 "reported."
1536 msgstr ""
1537
1538 #. type: TP
1539 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1540 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1541 #, no-wrap
1542 msgid "B<PERF_SAMPLE_REGS_USER> (since Linux 3.7)"
1543 msgstr ""
1544
1545 #. commit 4018994f3d8785275ef0e7391b75c3462c029e56
1546 #. type: Plain text
1547 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1548 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1549 msgid ""
1550 "Records the current user-level CPU register state (the values in the process "
1551 "before the kernel was called)."
1552 msgstr ""
1553
1554 #. type: TP
1555 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1556 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1557 #, no-wrap
1558 msgid "B<PERF_SAMPLE_STACK_USER> (since Linux 3.7)"
1559 msgstr ""
1560
1561 #. commit c5ebcedb566ef17bda7b02686e0d658a7bb42ee7
1562 #. type: Plain text
1563 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1564 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1565 msgid "Records the user level stack, allowing stack unwinding."
1566 msgstr ""
1567
1568 #. type: TP
1569 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1570 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1571 #, no-wrap
1572 msgid "B<PERF_SAMPLE_WEIGHT> (since Linux 3.10)"
1573 msgstr ""
1574
1575 #. commit c3feedf2aaf9ac8bad6f19f5d21e4ee0b4b87e9c
1576 #. type: Plain text
1577 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1578 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1579 msgid ""
1580 "Records a hardware provided weight value that expresses how costly the "
1581 "sampled event was. This allows the hardware to highlight expensive events "
1582 "in a profile."
1583 msgstr ""
1584
1585 #. type: TP
1586 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1587 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1588 #, no-wrap
1589 msgid "B<PERF_SAMPLE_DATA_SRC> (since Linux 3.10)"
1590 msgstr ""
1591
1592 #. commit d6be9ad6c960f43800a6f118932bc8a5a4eadcd1
1593 #. type: Plain text
1594 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1595 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1596 msgid ""
1597 "Records the data source: where in the memory hierarchy the data associated "
1598 "with the sampled instruction came from. This is available only if the "
1599 "underlying hardware supports this feature."
1600 msgstr ""
1601
1602 #. type: TP
1603 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1604 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1605 #, no-wrap
1606 msgid "B<PERF_SAMPLE_IDENTIFIER> (since Linux 3.12)"
1607 msgstr ""
1608
1609 #. commit ff3d527cebc1fa3707c617bfe9e74f53fcfb0955
1610 #. type: Plain text
1611 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1612 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1613 msgid ""
1614 "Places the B<SAMPLE_ID> value in a fixed position in the record, either at "
1615 "the beginning (for sample events) or at the end (if a non-sample event)."
1616 msgstr ""
1617
1618 #. type: Plain text
1619 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1620 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1621 msgid ""
1622 "This was necessary because a sample stream may have records from various "
1623 "different event sources with different I<sample_type> settings. Parsing the "
1624 "event stream properly was not possible because the format of the record was "
1625 "needed to find B<SAMPLE_ID>, but the format could not be found without "
1626 "knowing what event the sample belonged to (causing a circular dependency)."
1627 msgstr ""
1628
1629 #. type: Plain text
1630 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1631 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1632 msgid ""
1633 "The B<PERF_SAMPLE_IDENTIFIER> setting makes the event stream always parsable "
1634 "by putting B<SAMPLE_ID> in a fixed location, even though it means having "
1635 "duplicate B<SAMPLE_ID> values in records."
1636 msgstr ""
1637
1638 #. type: TP
1639 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1640 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1641 #, no-wrap
1642 msgid "B<PERF_SAMPLE_TRANSACTION> (since Linux 3.13)"
1643 msgstr ""
1644
1645 #. commit fdfbbd07e91f8fe387140776f3fd94605f0c89e5
1646 #. type: Plain text
1647 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1648 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1649 msgid ""
1650 "Records reasons for transactional memory abort events (for example, from "
1651 "Intel TSX transactional memory support)."
1652 msgstr ""
1653
1654 #. type: Plain text
1655 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1656 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1657 msgid ""
1658 "The I<precise_ip> setting must be greater than 0 and a transactional memory "
1659 "abort event must be measured or no values will be recorded. Also note that "
1660 "some perf_event measurements, such as sampled cycle counting, may cause "
1661 "extraneous aborts (by causing an interrupt during a transaction)."
1662 msgstr ""
1663
1664 #. type: TP
1665 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1666 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1667 #, no-wrap
1668 msgid "B<PERF_SAMPLE_REGS_INTR> (since Linux 3.19)"
1669 msgstr ""
1670
1671 #. commit 60e2364e60e86e81bc6377f49779779e6120977f
1672 #. type: Plain text
1673 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1674 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1675 msgid ""
1676 "Records a subset of the current CPU register state as specified by "
1677 "I<sample_regs_intr>. Unlike B<PERF_SAMPLE_REGS_USER> the register values "
1678 "will return kernel register state if the overflow happened while kernel code "
1679 "is running. If the CPU supports hardware sampling of register state (i.e., "
1680 "PEBS on Intel x86) and I<precise_ip> is set higher than zero then the "
1681 "register values returned are those captured by hardware at the time of the "
1682 "sampled instruction's retirement."
1683 msgstr ""
1684
1685 #. type: TP
1686 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1687 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1688 #, no-wrap
1689 msgid "B<PERF_SAMPLE_PHYS_ADDR> (since Linux 4.13)"
1690 msgstr ""
1691
1692 #. commit fc7ce9c74c3ad232b084d80148654f926d01ece7
1693 #. type: Plain text
1694 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1695 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1696 msgid "Records physical address of data like in B<PERF_SAMPLE_ADDR>."
1697 msgstr ""
1698
1699 #. type: TP
1700 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1701 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1702 #, no-wrap
1703 msgid "B<PERF_SAMPLE_CGROUP> (since Linux 5.7)"
1704 msgstr ""
1705
1706 #. commit 96aaab686505c449e24d76e76507290dcc30e008
1707 #. type: Plain text
1708 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1709 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1710 msgid ""
1711 "Records (perf_event) cgroup ID of the process. This corresponds to the "
1712 "I<id> field in the B<PERF_RECORD_CGROUP> event."
1713 msgstr ""
1714
1715 #. type: TP
1716 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1717 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1718 #, no-wrap
1719 msgid "B<PERF_SAMPLE_DATA_PAGE_SIZE> (since Linux 5.11)"
1720 msgstr ""
1721
1722 #. commit 8d97e71811aaafe4abf611dc24822fd6e73df1a1
1723 #. type: Plain text
1724 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1725 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1726 msgid "Records page size of data like in B<PERF_SAMPLE_ADDR>."
1727 msgstr ""
1728
1729 #. type: TP
1730 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1731 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1732 #, no-wrap
1733 msgid "B<PERF_SAMPLE_CODE_PAGE_SIZE> (since Linux 5.11)"
1734 msgstr ""
1735
1736 #. commit 995f088efebe1eba0282a6ffa12411b37f8990c2
1737 #. type: Plain text
1738 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1739 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1740 msgid "Records page size of ip like in B<PERF_SAMPLE_IP>."
1741 msgstr ""
1742
1743 #. type: TP
1744 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1745 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1746 #, no-wrap
1747 msgid "B<PERF_SAMPLE_WEIGHT_STRUCT> (since Linux 5.12)"
1748 msgstr ""
1749
1750 #. commit 2a6c6b7d7ad346f0679d0963cb19b3f0ea7ef32c
1751 #. type: Plain text
1752 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1753 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1754 msgid ""
1755 "Records hardware provided weight values like in B<PERF_SAMPLE_WEIGHT>, but "
1756 "it can represent multiple values in a struct. This shares the same space as "
1757 "B<PERF_SAMPLE_WEIGHT>, so users can apply either of those, not both. It has "
1758 "the following format and the meaning of each field is dependent on the "
1759 "hardware implementation."
1760 msgstr ""
1761
1762 #. type: Plain text
1763 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1764 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1765 #, no-wrap
1766 msgid ""
1767 "union perf_sample_weight {\n"
1768 " u64 full; /* PERF_SAMPLE_WEIGHT */\n"
1769 " struct { /* PERF_SAMPLE_WEIGHT_STRUCT */\n"
1770 " u32 var1_dw;\n"
1771 " u16 var2_w;\n"
1772 " u16 var3_w;\n"
1773 " };\n"
1774 "};\n"
1775 msgstr ""
1776
1777 #. type: TP
1778 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1779 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1780 #, no-wrap
1781 msgid "I<read_format>"
1782 msgstr ""
1783
1784 #. type: Plain text
1785 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1786 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1787 msgid ""
1788 "This field specifies the format of the data returned by B<read>(2) on a "
1789 "B<perf_event_open>() file descriptor."
1790 msgstr ""
1791
1792 #. type: TP
1793 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1794 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1795 #, no-wrap
1796 msgid "B<PERF_FORMAT_TOTAL_TIME_ENABLED>"
1797 msgstr ""
1798
1799 #. type: Plain text
1800 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1801 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1802 msgid ""
1803 "Adds the 64-bit I<time_enabled> field. This can be used to calculate "
1804 "estimated totals if the PMU is overcommitted and multiplexing is happening."
1805 msgstr ""
1806
1807 #. type: TP
1808 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1809 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1810 #, no-wrap
1811 msgid "B<PERF_FORMAT_TOTAL_TIME_RUNNING>"
1812 msgstr ""
1813
1814 #. type: Plain text
1815 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1816 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1817 msgid ""
1818 "Adds the 64-bit I<time_running> field. This can be used to calculate "
1819 "estimated totals if the PMU is overcommitted and multiplexing is happening."
1820 msgstr ""
1821
1822 #. type: TP
1823 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1824 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1825 #, no-wrap
1826 msgid "B<PERF_FORMAT_ID>"
1827 msgstr ""
1828
1829 #. type: Plain text
1830 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1831 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1832 msgid "Adds a 64-bit unique value that corresponds to the event group."
1833 msgstr ""
1834
1835 #. type: TP
1836 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1837 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1838 #, no-wrap
1839 msgid "B<PERF_FORMAT_GROUP>"
1840 msgstr ""
1841
1842 #. type: Plain text
1843 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1844 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1845 msgid "Allows all counter values in an event group to be read with one read."
1846 msgstr ""
1847
1848 #. type: TP
1849 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1850 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1851 #, no-wrap
1852 msgid "B<PERF_FORMAT_LOST (since Linux 6.0)>"
1853 msgstr ""
1854
1855 #. commit 119a784c81270eb88e573174ed2209225d646656
1856 #. type: Plain text
1857 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1858 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1859 msgid ""
1860 "Adds a 64-bit value that is the number of lost samples for this event. This "
1861 "would be only meaningful when I<sample_period> or I<sample_freq> is set."
1862 msgstr ""
1863
1864 #. type: TP
1865 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1866 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1867 #, no-wrap
1868 msgid "I<disabled>"
1869 msgstr ""
1870
1871 #. type: Plain text
1872 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1873 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1874 msgid ""
1875 "The I<disabled> bit specifies whether the counter starts out disabled or "
1876 "enabled. If disabled, the event can later be enabled by B<ioctl>(2), "
1877 "B<prctl>(2), or I<enable_on_exec>."
1878 msgstr ""
1879
1880 #. type: Plain text
1881 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1882 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1883 msgid ""
1884 "When creating an event group, typically the group leader is initialized with "
1885 "I<disabled> set to 1 and any child events are initialized with I<disabled> "
1886 "set to 0. Despite I<disabled> being 0, the child events will not start "
1887 "until the group leader is enabled."
1888 msgstr ""
1889
1890 #. type: TP
1891 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1892 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1893 #, no-wrap
1894 msgid "I<inherit>"
1895 msgstr ""
1896
1897 #. type: Plain text
1898 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1899 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1900 msgid ""
1901 "The I<inherit> bit specifies that this counter should count events of child "
1902 "tasks as well as the task specified. This applies only to new children, not "
1903 "to any existing children at the time the counter is created (nor to any new "
1904 "children of existing children)."
1905 msgstr ""
1906
1907 #. type: Plain text
1908 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
1909 #: opensuse-leap-16-1 opensuse-tumbleweed
1910 msgid ""
1911 "Inherit does not work for some combinations of I<read_format> values, such "
1912 "as B<PERF_FORMAT_GROUP>. Additionally, using it together with I<cpu == -1> "
1913 "prevents the creation of the mmap ring-buffer used for logging asynchronous "
1914 "events in sampled mode."
1915 msgstr ""
1916
1917 #. type: TP
1918 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1919 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1920 #, no-wrap
1921 msgid "I<pinned>"
1922 msgstr ""
1923
1924 #. type: Plain text
1925 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1926 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1927 msgid ""
1928 "The I<pinned> bit specifies that the counter should always be on the CPU if "
1929 "at all possible. It applies only to hardware counters and only to group "
1930 "leaders. If a pinned counter cannot be put onto the CPU (e.g., because "
1931 "there are not enough hardware counters or because of a conflict with some "
1932 "other event), then the counter goes into an 'error' state, where reads "
1933 "return end-of-file (i.e., B<read>(2) returns 0) until the counter is "
1934 "subsequently enabled or disabled."
1935 msgstr ""
1936
1937 #. type: TP
1938 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1939 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1940 #, no-wrap
1941 msgid "I<exclusive>"
1942 msgstr ""
1943
1944 #. type: Plain text
1945 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1946 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1947 msgid ""
1948 "The I<exclusive> bit specifies that when this counter's group is on the CPU, "
1949 "it should be the only group using the CPU's counters. In the future this "
1950 "may allow monitoring programs to support PMU features that need to run alone "
1951 "so that they do not disrupt other hardware counters."
1952 msgstr ""
1953
1954 #. type: Plain text
1955 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1956 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1957 msgid ""
1958 "Note that many unexpected situations may prevent events with the "
1959 "I<exclusive> bit set from ever running. This includes any users running a "
1960 "system-wide measurement as well as any kernel use of the performance "
1961 "counters (including the commonly enabled NMI Watchdog Timer interface)."
1962 msgstr ""
1963
1964 #. type: TP
1965 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1966 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1967 #, no-wrap
1968 msgid "I<exclude_user>"
1969 msgstr ""
1970
1971 #. type: Plain text
1972 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1973 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1974 msgid ""
1975 "If this bit is set, the count excludes events that happen in user space."
1976 msgstr ""
1977
1978 #. type: TP
1979 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1980 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1981 #, no-wrap
1982 msgid "I<exclude_kernel>"
1983 msgstr ""
1984
1985 #. type: Plain text
1986 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1987 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1988 msgid ""
1989 "If this bit is set, the count excludes events that happen in kernel space."
1990 msgstr ""
1991
1992 #. type: TP
1993 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1994 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1995 #, no-wrap
1996 msgid "I<exclude_hv>"
1997 msgstr ""
1998
1999 #. type: Plain text
2000 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2001 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2002 msgid ""
2003 "If this bit is set, the count excludes events that happen in the "
2004 "hypervisor. This is mainly for PMUs that have built-in support for handling "
2005 "this (such as POWER). Extra support is needed for handling hypervisor "
2006 "measurements on most machines."
2007 msgstr ""
2008
2009 #. type: TP
2010 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2011 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2012 #, no-wrap
2013 msgid "I<exclude_idle>"
2014 msgstr ""
2015
2016 #. type: Plain text
2017 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2018 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2019 msgid ""
2020 "If set, don't count when the CPU is running the idle task. While you can "
2021 "currently enable this for any event type, it is ignored for all but software "
2022 "events."
2023 msgstr ""
2024
2025 #. type: TP
2026 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2027 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2028 #, no-wrap
2029 msgid "I<mmap>"
2030 msgstr ""
2031
2032 #. type: Plain text
2033 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2034 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2035 msgid ""
2036 "The I<mmap> bit enables generation of B<PERF_RECORD_MMAP> samples for every "
2037 "B<mmap>(2) call that has B<PROT_EXEC> set. This allows tools to notice new "
2038 "executable code being mapped into a program (dynamic shared libraries for "
2039 "example) so that addresses can be mapped back to the original code."
2040 msgstr ""
2041
2042 #. type: TP
2043 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2044 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2045 #, no-wrap
2046 msgid "I<comm>"
2047 msgstr ""
2048
2049 #. commit 82b897782d10fcc4930c9d4a15b175348fdd2871
2050 #. type: Plain text
2051 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2052 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2053 msgid ""
2054 "The I<comm> bit enables tracking of process command name as modified by the "
2055 "B<execve>(2) and B<prctl>(PR_SET_NAME) system calls as well as writing to "
2056 "I</proc/self/comm>. If the I<comm_exec> flag is also successfully set "
2057 "(possible since Linux 3.16), then the misc flag "
2058 "B<PERF_RECORD_MISC_COMM_EXEC> can be used to differentiate the B<execve>(2) "
2059 "case from the others."
2060 msgstr ""
2061
2062 #. type: TP
2063 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2064 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2065 #, no-wrap
2066 msgid "I<freq>"
2067 msgstr ""
2068
2069 #. type: Plain text
2070 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2071 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2072 msgid ""
2073 "If this bit is set, then I<sample_frequency> not I<sample_period> is used "
2074 "when setting up the sampling interval."
2075 msgstr ""
2076
2077 #. type: TP
2078 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2079 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2080 #, no-wrap
2081 msgid "I<inherit_stat>"
2082 msgstr ""
2083
2084 #. type: Plain text
2085 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2086 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2087 msgid ""
2088 "This bit enables saving of event counts on context switch for inherited "
2089 "tasks. This is meaningful only if the I<inherit> field is set."
2090 msgstr ""
2091
2092 #. type: TP
2093 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2094 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2095 #, no-wrap
2096 msgid "I<enable_on_exec>"
2097 msgstr ""
2098
2099 #. type: Plain text
2100 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2101 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2102 msgid ""
2103 "If this bit is set, a counter is automatically enabled after a call to "
2104 "B<execve>(2)."
2105 msgstr ""
2106
2107 #. type: TP
2108 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2109 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2110 #, no-wrap
2111 msgid "I<task>"
2112 msgstr ""
2113
2114 #. type: Plain text
2115 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2116 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2117 msgid ""
2118 "If this bit is set, then fork/exit notifications are included in the ring "
2119 "buffer."
2120 msgstr ""
2121
2122 #. type: TP
2123 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2124 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2125 #, no-wrap
2126 msgid "I<watermark>"
2127 msgstr ""
2128
2129 #. type: Plain text
2130 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2131 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2132 msgid ""
2133 "If set, have an overflow notification happen when we cross the "
2134 "I<wakeup_watermark> boundary. Otherwise, overflow notifications happen "
2135 "after I<wakeup_events> samples."
2136 msgstr ""
2137
2138 #. type: TP
2139 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2140 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2141 #, no-wrap
2142 msgid "I<precise_ip> (since Linux 2.6.35)"
2143 msgstr ""
2144
2145 #. commit ab608344bcbde4f55ec4cd911b686b0ce3eae076
2146 #. type: Plain text
2147 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2148 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2149 msgid ""
2150 "This controls the amount of skid. Skid is how many instructions execute "
2151 "between an event of interest happening and the kernel being able to stop and "
2152 "record the event. Smaller skid is better and allows more accurate reporting "
2153 "of which events correspond to which instructions, but hardware is often "
2154 "limited with how small this can be."
2155 msgstr ""
2156
2157 #. type: Plain text
2158 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2159 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2160 msgid "The possible values of this field are the following:"
2161 msgstr ""
2162
2163 #. type: TP
2164 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2165 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2166 #, no-wrap
2167 msgid "B<0>"
2168 msgstr ""
2169
2170 #. type: Plain text
2171 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2172 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2173 msgid "B<SAMPLE_IP> can have arbitrary skid."
2174 msgstr ""
2175
2176 #. type: TP
2177 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2178 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2179 #, no-wrap
2180 msgid "B<1>"
2181 msgstr ""
2182
2183 #. type: Plain text
2184 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2185 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2186 msgid "B<SAMPLE_IP> must have constant skid."
2187 msgstr ""
2188
2189 #. type: TP
2190 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2191 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2192 #, no-wrap
2193 msgid "B<2>"
2194 msgstr ""
2195
2196 #. type: Plain text
2197 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2198 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2199 msgid "B<SAMPLE_IP> requested to have 0 skid."
2200 msgstr ""
2201
2202 #. type: TP
2203 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2204 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2205 #, no-wrap
2206 msgid "B<3>"
2207 msgstr ""
2208
2209 #. type: Plain text
2210 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2211 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2212 msgid ""
2213 "B<SAMPLE_IP> must have 0 skid. See also the description of "
2214 "B<PERF_RECORD_MISC_EXACT_IP>."
2215 msgstr ""
2216
2217 #. type: TP
2218 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2219 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2220 #, no-wrap
2221 msgid "I<mmap_data> (since Linux 2.6.36)"
2222 msgstr ""
2223
2224 #. commit 3af9e859281bda7eb7c20b51879cf43aa788ac2e
2225 #. type: Plain text
2226 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2227 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2228 msgid ""
2229 "This is the counterpart of the I<mmap> field. This enables generation of "
2230 "B<PERF_RECORD_MMAP> samples for B<mmap>(2) calls that do not have "
2231 "B<PROT_EXEC> set (for example data and SysV shared memory)."
2232 msgstr ""
2233
2234 #. type: TP
2235 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2236 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2237 #, no-wrap
2238 msgid "I<sample_id_all> (since Linux 2.6.38)"
2239 msgstr ""
2240
2241 #. commit c980d1091810df13f21aabbce545fd98f545bbf7
2242 #. type: Plain text
2243 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2244 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2245 msgid ""
2246 "If set, then TID, TIME, ID, STREAM_ID, and CPU can additionally be included "
2247 "in non-B<PERF_RECORD_SAMPLE>s if the corresponding I<sample_type> is "
2248 "selected."
2249 msgstr ""
2250
2251 #. type: Plain text
2252 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2253 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2254 msgid ""
2255 "If B<PERF_SAMPLE_IDENTIFIER> is specified, then an additional ID value is "
2256 "included as the last value to ease parsing the record stream. This may lead "
2257 "to the I<id> value appearing twice."
2258 msgstr ""
2259
2260 #. type: Plain text
2261 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2262 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2263 msgid "The layout is described by this pseudo-structure:"
2264 msgstr ""
2265
2266 #. type: Plain text
2267 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2268 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2269 #, no-wrap
2270 msgid ""
2271 "struct sample_id {\n"
2272 " { u32 pid, tid; } /* if PERF_SAMPLE_TID set */\n"
2273 " { u64 time; } /* if PERF_SAMPLE_TIME set */\n"
2274 " { u64 id; } /* if PERF_SAMPLE_ID set */\n"
2275 " { u64 stream_id;} /* if PERF_SAMPLE_STREAM_ID set */\n"
2276 " { u32 cpu, res; } /* if PERF_SAMPLE_CPU set */\n"
2277 " { u64 id; } /* if PERF_SAMPLE_IDENTIFIER set */\n"
2278 "};\n"
2279 msgstr ""
2280
2281 #. type: TP
2282 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2283 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2284 #, no-wrap
2285 msgid "I<exclude_host> (since Linux 3.2)"
2286 msgstr ""
2287
2288 #. commit a240f76165e6255384d4bdb8139895fac7988799
2289 #. type: Plain text
2290 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2291 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2292 msgid ""
2293 "When conducting measurements that include processes running VM instances "
2294 "(i.e., have executed a B<KVM_RUN> B<ioctl>(2)), only measure events "
2295 "happening inside a guest instance. This is only meaningful outside the "
2296 "guests; this setting does not change counts gathered inside of a guest. "
2297 "Currently, this functionality is x86 only."
2298 msgstr ""
2299
2300 #. type: TP
2301 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2302 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2303 #, no-wrap
2304 msgid "I<exclude_guest> (since Linux 3.2)"
2305 msgstr ""
2306
2307 #. commit a240f76165e6255384d4bdb8139895fac7988799
2308 #. type: Plain text
2309 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2310 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2311 msgid ""
2312 "When conducting measurements that include processes running VM instances "
2313 "(i.e., have executed a B<KVM_RUN> B<ioctl>(2)), do not measure events "
2314 "happening inside guest instances. This is only meaningful outside the "
2315 "guests; this setting does not change counts gathered inside of a guest. "
2316 "Currently, this functionality is x86 only."
2317 msgstr ""
2318
2319 #. type: TP
2320 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2321 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2322 #, no-wrap
2323 msgid "I<exclude_callchain_kernel> (since Linux 3.7)"
2324 msgstr ""
2325
2326 #. commit d077526485d5c9b12fe85d0b2b3b7041e6bc5f91
2327 #. type: Plain text
2328 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2329 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2330 msgid "Do not include kernel callchains."
2331 msgstr ""
2332
2333 #. type: TP
2334 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2335 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2336 #, no-wrap
2337 msgid "I<exclude_callchain_user> (since Linux 3.7)"
2338 msgstr ""
2339
2340 #. commit d077526485d5c9b12fe85d0b2b3b7041e6bc5f91
2341 #. type: Plain text
2342 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2343 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2344 msgid "Do not include user callchains."
2345 msgstr ""
2346
2347 #. type: TP
2348 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2349 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2350 #, no-wrap
2351 msgid "I<mmap2> (since Linux 3.16)"
2352 msgstr ""
2353
2354 #. commit 13d7a2410fa637f450a29ecb515ac318ee40c741
2355 #. This is tricky; was committed during 3.12 development
2356 #. but right before release was disabled.
2357 #. So while you could select mmap2 starting with Linux 3.12
2358 #. it did not work until Linux 3.16
2359 #. commit a5a5ba72843dd05f991184d6cb9a4471acce1005
2360 #. type: Plain text
2361 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2362 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2363 msgid ""
2364 "Generate an extended executable mmap record that contains enough additional "
2365 "information to uniquely identify shared mappings. The I<mmap> flag must "
2366 "also be set for this to work."
2367 msgstr ""
2368
2369 #. type: TP
2370 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2371 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2372 #, no-wrap
2373 msgid "I<comm_exec> (since Linux 3.16)"
2374 msgstr ""
2375
2376 #. commit 82b897782d10fcc4930c9d4a15b175348fdd2871
2377 #. type: Plain text
2378 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2379 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2380 msgid ""
2381 "This is purely a feature-detection flag, it does not change kernel "
2382 "behavior. If this flag can successfully be set, then, when I<comm> is "
2383 "enabled, the B<PERF_RECORD_MISC_COMM_EXEC> flag will be set in the I<misc> "
2384 "field of a comm record header if the rename event being reported was caused "
2385 "by a call to B<execve>(2). This allows tools to distinguish between the "
2386 "various types of process renaming."
2387 msgstr ""
2388
2389 #. type: TP
2390 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2391 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2392 #, no-wrap
2393 msgid "I<use_clockid> (since Linux 4.1)"
2394 msgstr ""
2395
2396 #. commit 34f439278cef7b1177f8ce24f9fc81dfc6221d3b
2397 #. type: Plain text
2398 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2399 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2400 msgid ""
2401 "This allows selecting which internal Linux clock to use when generating "
2402 "timestamps via the I<clockid> field. This can make it easier to correlate "
2403 "perf sample times with timestamps generated by other tools."
2404 msgstr ""
2405
2406 #. type: TP
2407 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2408 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2409 #, no-wrap
2410 msgid "I<context_switch> (since Linux 4.3)"
2411 msgstr ""
2412
2413 #. commit 45ac1403f564f411c6a383a2448688ba8dd705a4
2414 #. type: Plain text
2415 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2416 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2417 msgid ""
2418 "This enables the generation of B<PERF_RECORD_SWITCH> records when a context "
2419 "switch occurs. It also enables the generation of "
2420 "B<PERF_RECORD_SWITCH_CPU_WIDE> records when sampling in CPU-wide mode. This "
2421 "functionality is in addition to existing tracepoint and software events for "
2422 "measuring context switches. The advantage of this method is that it will "
2423 "give full information even with strict I<perf_event_paranoid> settings."
2424 msgstr ""
2425
2426 #. type: TP
2427 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2428 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2429 #, no-wrap
2430 msgid "I<write_backward> (since Linux 4.6)"
2431 msgstr ""
2432
2433 #. commit 9ecda41acb971ebd07c8fb35faf24005c0baea12
2434 #. type: Plain text
2435 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2436 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2437 msgid ""
2438 "This causes the ring buffer to be written from the end to the beginning. "
2439 "This is to support reading from overwritable ring buffer."
2440 msgstr ""
2441
2442 #. type: TP
2443 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2444 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2445 #, no-wrap
2446 msgid "I<namespaces> (since Linux 4.11)"
2447 msgstr ""
2448
2449 #. commit e422267322cd319e2695a535e47c5b1feeac45eb
2450 #. type: Plain text
2451 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2452 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2453 msgid ""
2454 "This enables the generation of B<PERF_RECORD_NAMESPACES> records when a task "
2455 "enters a new namespace. Each namespace has a combination of device and "
2456 "inode numbers."
2457 msgstr ""
2458
2459 #. type: TP
2460 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2461 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2462 #, no-wrap
2463 msgid "I<ksymbol> (since Linux 5.0)"
2464 msgstr ""
2465
2466 #. commit 76193a94522f1d4edf2447a536f3f796ce56343b
2467 #. type: Plain text
2468 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2469 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2470 msgid ""
2471 "This enables the generation of B<PERF_RECORD_KSYMBOL> records when new "
2472 "kernel symbols are registered or unregistered. This is analyzing dynamic "
2473 "kernel functions like eBPF."
2474 msgstr ""
2475
2476 #. type: TP
2477 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2478 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2479 #, no-wrap
2480 msgid "I<bpf_event> (since Linux 5.0)"
2481 msgstr ""
2482
2483 #. commit 6ee52e2a3fe4ea35520720736e6791df1fb67106
2484 #. type: Plain text
2485 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2486 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2487 msgid ""
2488 "This enables the generation of B<PERF_RECORD_BPF_EVENT> records when an eBPF "
2489 "program is loaded or unloaded."
2490 msgstr ""
2491
2492 #. type: TP
2493 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2494 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2495 #, no-wrap
2496 msgid "I<aux_output> (since Linux 5.4)"
2497 msgstr ""
2498
2499 #. commit ab43762ef010967e4ccd53627f70a2eecbeafefb
2500 #. type: Plain text
2501 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2502 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2503 msgid ""
2504 "This allows normal (non-AUX) events to generate data for AUX events if the "
2505 "hardware supports it."
2506 msgstr ""
2507
2508 #. type: TP
2509 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2510 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2511 #, no-wrap
2512 msgid "I<cgroup> (since Linux 5.7)"
2513 msgstr ""
2514
2515 #. commit 96aaab686505c449e24d76e76507290dcc30e008
2516 #. type: Plain text
2517 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2518 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2519 msgid ""
2520 "This enables the generation of B<PERF_RECORD_CGROUP> records when a new "
2521 "cgroup is created (and activated)."
2522 msgstr ""
2523
2524 #. type: TP
2525 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2526 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2527 #, no-wrap
2528 msgid "I<text_poke> (since Linux 5.8)"
2529 msgstr ""
2530
2531 #. commit e17d43b93e544f5016c0251d2074c15568d5d963
2532 #. type: Plain text
2533 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2534 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2535 msgid ""
2536 "This enables the generation of B<PERF_RECORD_TEXT_POKE> records when there's "
2537 "a change to the kernel text (i.e., self-modifying code)."
2538 msgstr ""
2539
2540 #. type: TP
2541 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2542 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2543 #, no-wrap
2544 msgid "I<build_id> (since Linux 5.12)"
2545 msgstr ""
2546
2547 #. commit 88a16a1309333e43d328621ece3e9fa37027e8eb
2548 #. type: Plain text
2549 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2550 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2551 msgid ""
2552 "This changes the contents in the B<PERF_RECORD_MMAP2> to have a build-id "
2553 "instead of device and inode numbers."
2554 msgstr ""
2555
2556 #. type: TP
2557 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2558 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2559 #, no-wrap
2560 msgid "I<inherit_thread> (since Linux 5.13)"
2561 msgstr ""
2562
2563 #. commit 2b26f0aa004995f49f7b6f4100dd0e4c39a9ed5f
2564 #. type: Plain text
2565 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2566 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2567 msgid ""
2568 "This disables the inheritance of the event to a child process. Only new "
2569 "threads in the same process (which is cloned with B<CLONE_THREAD>) will "
2570 "inherit the event."
2571 msgstr ""
2572
2573 #. type: TP
2574 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2575 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2576 #, no-wrap
2577 msgid "I<remove_on_exec> (since Linux 5.13)"
2578 msgstr ""
2579
2580 #. commit 2e498d0a74e5b88a6689ae1b811f247f91ff188e
2581 #. type: Plain text
2582 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2583 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2584 msgid ""
2585 "This closes the event when it starts a new process image by B<execve>(2)."
2586 msgstr ""
2587
2588 #. type: TP
2589 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2590 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2591 #, no-wrap
2592 msgid "I<sigtrap> (since Linux 5.13)"
2593 msgstr ""
2594
2595 #. commit 97ba62b278674293762c3d91f724f1bb922f04e0
2596 #. type: Plain text
2597 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2598 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2599 msgid ""
2600 "This enables synchronous signal delivery of B<SIGTRAP> on event overflow."
2601 msgstr ""
2602
2603 #. type: TP
2604 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2605 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2606 #, no-wrap
2607 msgid "I<wakeup_events>"
2608 msgstr ""
2609
2610 #. type: TQ
2611 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2612 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2613 #, no-wrap
2614 msgid "I<wakeup_watermark>"
2615 msgstr ""
2616
2617 #. type: Plain text
2618 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2619 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2620 msgid ""
2621 "This union sets how many samples (I<wakeup_events>) or bytes "
2622 "(I<wakeup_watermark>) happen before an overflow notification happens. "
2623 "Which one is used is selected by the I<watermark> bit flag."
2624 msgstr ""
2625
2626 #. type: Plain text
2627 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2628 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2629 msgid ""
2630 "I<wakeup_events> counts only B<PERF_RECORD_SAMPLE> record types. To receive "
2631 "overflow notification for all B<PERF_RECORD> types choose watermark and set "
2632 "I<wakeup_watermark> to 1."
2633 msgstr ""
2634
2635 #. commit f506b3dc0ec454a16d40cab9ee5d75435b39dc50
2636 #. type: Plain text
2637 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2638 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2639 msgid ""
2640 "Prior to Linux 3.0, setting I<wakeup_events> to 0 resulted in no overflow "
2641 "notifications; more recent kernels treat 0 the same as 1."
2642 msgstr ""
2643
2644 #. type: TP
2645 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2646 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2647 #, no-wrap
2648 msgid "I<bp_type> (since Linux 2.6.33)"
2649 msgstr ""
2650
2651 #. commit 24f1e32c60c45c89a997c73395b69c8af6f0a84e
2652 #. type: Plain text
2653 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2654 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2655 msgid "This chooses the breakpoint type. It is one of:"
2656 msgstr ""
2657
2658 #. type: TP
2659 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2660 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2661 #, no-wrap
2662 msgid "B<HW_BREAKPOINT_EMPTY>"
2663 msgstr ""
2664
2665 #. type: Plain text
2666 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2667 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2668 msgid "No breakpoint."
2669 msgstr ""
2670
2671 #. type: TP
2672 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2673 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2674 #, no-wrap
2675 msgid "B<HW_BREAKPOINT_R>"
2676 msgstr ""
2677
2678 #. type: Plain text
2679 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2680 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2681 msgid "Count when we read the memory location."
2682 msgstr ""
2683
2684 #. type: TP
2685 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2686 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2687 #, no-wrap
2688 msgid "B<HW_BREAKPOINT_W>"
2689 msgstr ""
2690
2691 #. type: Plain text
2692 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2693 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2694 msgid "Count when we write the memory location."
2695 msgstr ""
2696
2697 #. type: TP
2698 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2699 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2700 #, no-wrap
2701 msgid "B<HW_BREAKPOINT_RW>"
2702 msgstr ""
2703
2704 #. type: Plain text
2705 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2706 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2707 msgid "Count when we read or write the memory location."
2708 msgstr ""
2709
2710 #. type: TP
2711 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2712 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2713 #, no-wrap
2714 msgid "B<HW_BREAKPOINT_X>"
2715 msgstr ""
2716
2717 #. type: Plain text
2718 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2719 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2720 msgid "Count when we execute code at the memory location."
2721 msgstr ""
2722
2723 #. type: Plain text
2724 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2725 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2726 msgid ""
2727 "The values can be combined via a bitwise or, but the combination of "
2728 "B<HW_BREAKPOINT_R> or B<HW_BREAKPOINT_W> with B<HW_BREAKPOINT_X> is not "
2729 "allowed."
2730 msgstr ""
2731
2732 #. type: TP
2733 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2734 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2735 #, no-wrap
2736 msgid "I<bp_addr> (since Linux 2.6.33)"
2737 msgstr ""
2738
2739 #. commit 24f1e32c60c45c89a997c73395b69c8af6f0a84e
2740 #. type: Plain text
2741 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2742 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2743 msgid ""
2744 "This is the address of the breakpoint. For execution breakpoints, this is "
2745 "the memory address of the instruction of interest; for read and write "
2746 "breakpoints, it is the memory address of the memory location of interest."
2747 msgstr ""
2748
2749 #. type: TP
2750 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2751 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2752 #, no-wrap
2753 msgid "I<config1> (since Linux 2.6.39)"
2754 msgstr ""
2755
2756 #. commit a7e3ed1e470116c9d12c2f778431a481a6be8ab6
2757 #. type: Plain text
2758 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2759 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2760 msgid ""
2761 "I<config1> is used for setting events that need an extra register or "
2762 "otherwise do not fit in the regular config field. Raw OFFCORE_EVENTS on "
2763 "Nehalem/Westmere/SandyBridge use this field on Linux 3.3 and later kernels."
2764 msgstr ""
2765
2766 #. type: TP
2767 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2768 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2769 #, no-wrap
2770 msgid "I<bp_len> (since Linux 2.6.33)"
2771 msgstr ""
2772
2773 #. commit 24f1e32c60c45c89a997c73395b69c8af6f0a84e
2774 #. type: Plain text
2775 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
2776 #: opensuse-leap-16-1 opensuse-tumbleweed
2777 msgid ""
2778 "I<bp_len> is the size of the breakpoint being measured if I<type> is "
2779 "B<PERF_TYPE_BREAKPOINT>. Options are B<HW_BREAKPOINT_LEN_1>, "
2780 "B<HW_BREAKPOINT_LEN_2>, B<HW_BREAKPOINT_LEN_4>, and B<HW_BREAKPOINT_LEN_8>. "
2781 "For an execution breakpoint, set this to I<sizeof(long)>."
2782 msgstr ""
2783
2784 #. type: TP
2785 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2786 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2787 #, no-wrap
2788 msgid "I<config2> (since Linux 2.6.39)"
2789 msgstr ""
2790
2791 #. commit a7e3ed1e470116c9d12c2f778431a481a6be8ab6
2792 #. type: Plain text
2793 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2794 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2795 msgid "I<config2> is a further extension of the I<config1> field."
2796 msgstr ""
2797
2798 #. type: TP
2799 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2800 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2801 #, no-wrap
2802 msgid "I<branch_sample_type> (since Linux 3.4)"
2803 msgstr ""
2804
2805 #. commit bce38cd53e5ddba9cb6d708c4ef3d04a4016ec7e
2806 #. type: Plain text
2807 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2808 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2809 msgid ""
2810 "If B<PERF_SAMPLE_BRANCH_STACK> is enabled, then this specifies what branches "
2811 "to include in the branch record."
2812 msgstr ""
2813
2814 #. type: Plain text
2815 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2816 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2817 msgid ""
2818 "The first part of the value is the privilege level, which is a combination "
2819 "of one of the values listed below. If the user does not set privilege level "
2820 "explicitly, the kernel will use the event's privilege level. Event and "
2821 "branch privilege levels do not have to match."
2822 msgstr ""
2823
2824 #. type: TP
2825 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2826 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2827 #, no-wrap
2828 msgid "B<PERF_SAMPLE_BRANCH_USER>"
2829 msgstr ""
2830
2831 #. type: Plain text
2832 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2833 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2834 msgid "Branch target is in user space."
2835 msgstr ""
2836
2837 #. type: TP
2838 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2839 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2840 #, no-wrap
2841 msgid "B<PERF_SAMPLE_BRANCH_KERNEL>"
2842 msgstr ""
2843
2844 #. type: Plain text
2845 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2846 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2847 msgid "Branch target is in kernel space."
2848 msgstr ""
2849
2850 #. type: TP
2851 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2852 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2853 #, no-wrap
2854 msgid "B<PERF_SAMPLE_BRANCH_HV>"
2855 msgstr ""
2856
2857 #. type: Plain text
2858 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2859 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2860 msgid "Branch target is in hypervisor."
2861 msgstr ""
2862
2863 #. type: TP
2864 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2865 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2866 #, no-wrap
2867 msgid "B<PERF_SAMPLE_BRANCH_PLM_ALL>"
2868 msgstr ""
2869
2870 #. type: Plain text
2871 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2872 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2873 msgid "A convenience value that is the three preceding values ORed together."
2874 msgstr ""
2875
2876 #. type: Plain text
2877 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2878 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2879 msgid ""
2880 "In addition to the privilege value, at least one or more of the following "
2881 "bits must be set."
2882 msgstr ""
2883
2884 #. type: TP
2885 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2886 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2887 #, no-wrap
2888 msgid "B<PERF_SAMPLE_BRANCH_ANY>"
2889 msgstr ""
2890
2891 #. type: Plain text
2892 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2893 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2894 msgid "Any branch type."
2895 msgstr ""
2896
2897 #. type: TP
2898 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2899 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2900 #, no-wrap
2901 msgid "B<PERF_SAMPLE_BRANCH_ANY_CALL>"
2902 msgstr ""
2903
2904 #. type: Plain text
2905 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2906 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2907 msgid "Any call branch (includes direct calls, indirect calls, and far jumps)."
2908 msgstr ""
2909
2910 #. type: TP
2911 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2912 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2913 #, no-wrap
2914 msgid "B<PERF_SAMPLE_BRANCH_IND_CALL>"
2915 msgstr ""
2916
2917 #. type: Plain text
2918 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2919 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2920 msgid "Indirect calls."
2921 msgstr ""
2922
2923 #. type: TP
2924 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2925 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2926 #, no-wrap
2927 msgid "B<PERF_SAMPLE_BRANCH_CALL> (since Linux 4.4)"
2928 msgstr ""
2929
2930 #. commit c229bf9dc179d2023e185c0f705bdf68484c1e73
2931 #. type: Plain text
2932 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2933 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2934 msgid "Direct calls."
2935 msgstr ""
2936
2937 #. type: TP
2938 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2939 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2940 #, no-wrap
2941 msgid "B<PERF_SAMPLE_BRANCH_ANY_RETURN>"
2942 msgstr ""
2943
2944 #. type: Plain text
2945 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2946 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2947 msgid "Any return branch."
2948 msgstr ""
2949
2950 #. type: TP
2951 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2952 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2953 #, no-wrap
2954 msgid "B<PERF_SAMPLE_BRANCH_IND_JUMP> (since Linux 4.2)"
2955 msgstr ""
2956
2957 #. commit c9fdfa14c3792c0160849c484e83aa57afd80ccc
2958 #. type: Plain text
2959 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2960 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2961 msgid "Indirect jumps."
2962 msgstr ""
2963
2964 #. type: TP
2965 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2966 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2967 #, no-wrap
2968 msgid "B<PERF_SAMPLE_BRANCH_COND> (since Linux 3.16)"
2969 msgstr ""
2970
2971 #. commit bac52139f0b7ab31330e98fd87fc5a2664951050
2972 #. type: Plain text
2973 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2974 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2975 msgid "Conditional branches."
2976 msgstr ""
2977
2978 #. type: TP
2979 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2980 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2981 #, no-wrap
2982 msgid "B<PERF_SAMPLE_BRANCH_ABORT_TX> (since Linux 3.11)"
2983 msgstr ""
2984
2985 #. commit 135c5612c460f89657c4698fe2ea753f6f667963
2986 #. type: Plain text
2987 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2988 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2989 msgid "Transactional memory aborts."
2990 msgstr ""
2991
2992 #. type: TP
2993 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2994 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2995 #, no-wrap
2996 msgid "B<PERF_SAMPLE_BRANCH_IN_TX> (since Linux 3.11)"
2997 msgstr ""
2998
2999 #. commit 135c5612c460f89657c4698fe2ea753f6f667963
3000 #. type: Plain text
3001 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3002 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3003 msgid "Branch in transactional memory transaction."
3004 msgstr ""
3005
3006 #. type: TP
3007 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3008 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3009 #, no-wrap
3010 msgid "B<PERF_SAMPLE_BRANCH_NO_TX> (since Linux 3.11)"
3011 msgstr ""
3012
3013 #. commit 135c5612c460f89657c4698fe2ea753f6f667963
3014 #. commit 2c44b1936bb3b135a3fac8b3493394d42e51cf70
3015 #. type: Plain text
3016 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3017 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3018 msgid ""
3019 "Branch not in transactional memory transaction. "
3020 "B<PERF_SAMPLE_BRANCH_CALL_STACK> (since Linux 4.1) Branch is part of a "
3021 "hardware-generated call stack. This requires hardware support, currently "
3022 "only found on Intel x86 Haswell or newer."
3023 msgstr ""
3024
3025 #. type: TP
3026 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3027 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3028 #, no-wrap
3029 msgid "I<sample_regs_user> (since Linux 3.7)"
3030 msgstr ""
3031
3032 #. commit 4018994f3d8785275ef0e7391b75c3462c029e56
3033 #. type: Plain text
3034 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3035 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3036 msgid ""
3037 "This bit mask defines the set of user CPU registers to dump on samples. The "
3038 "layout of the register mask is architecture-specific and is described in the "
3039 "kernel header file I<arch/ARCH/include/uapi/asm/perf_regs.h>."
3040 msgstr ""
3041
3042 #. type: TP
3043 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3044 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3045 #, no-wrap
3046 msgid "I<sample_stack_user> (since Linux 3.7)"
3047 msgstr ""
3048
3049 #. commit c5ebcedb566ef17bda7b02686e0d658a7bb42ee7
3050 #. type: Plain text
3051 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3052 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3053 msgid ""
3054 "This defines the size of the user stack to dump if B<PERF_SAMPLE_STACK_USER> "
3055 "is specified."
3056 msgstr ""
3057
3058 #. type: TP
3059 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3060 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3061 #, no-wrap
3062 msgid "I<clockid> (since Linux 4.1)"
3063 msgstr ""
3064
3065 #. commit 34f439278cef7b1177f8ce24f9fc81dfc6221d3b
3066 #. type: Plain text
3067 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3068 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3069 msgid ""
3070 "If I<use_clockid> is set, then this field selects which internal Linux timer "
3071 "to use for timestamps. The available timers are defined in I<linux/time.h>, "
3072 "with B<CLOCK_MONOTONIC>, B<CLOCK_MONOTONIC_RAW>, B<CLOCK_REALTIME>, "
3073 "B<CLOCK_BOOTTIME>, and B<CLOCK_TAI> currently supported."
3074 msgstr ""
3075
3076 #. type: TP
3077 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3078 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3079 #, no-wrap
3080 msgid "I<aux_watermark> (since Linux 4.1)"
3081 msgstr ""
3082
3083 #. commit 1a5941312414c71dece6717da9a0fa1303127afa
3084 #. type: Plain text
3085 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3086 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3087 msgid ""
3088 "This specifies how much data is required to trigger a B<PERF_RECORD_AUX> "
3089 "sample."
3090 msgstr ""
3091
3092 #. type: TP
3093 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3094 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3095 #, no-wrap
3096 msgid "I<sample_max_stack> (since Linux 4.8)"
3097 msgstr ""
3098
3099 #. commit 97c79a38cd454602645f0470ffb444b3b75ce574
3100 #. type: Plain text
3101 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3102 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3103 msgid ""
3104 "When I<sample_type> includes B<PERF_SAMPLE_CALLCHAIN>, this field specifies "
3105 "how many stack frames to report when generating the callchain."
3106 msgstr ""
3107
3108 #. type: TP
3109 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3110 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3111 #, no-wrap
3112 msgid "I<aux_sample_size> (since Linux 5.5)"
3113 msgstr ""
3114
3115 #. commit a4faf00d994c40e64f656805ac375c65e324eefb
3116 #. type: Plain text
3117 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3118 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3119 msgid ""
3120 "When B<PERF_SAMPLE_AUX> flag is set, specify the desired size of AUX data. "
3121 "Note that it can get smaller data than the specified size."
3122 msgstr ""
3123
3124 #. type: TP
3125 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3126 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3127 #, no-wrap
3128 msgid "I<sig_data> (since Linux 5.13)"
3129 msgstr ""
3130
3131 #. commit 97ba62b278674293762c3d91f724f1bb922f04e0
3132 #. type: Plain text
3133 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3134 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3135 msgid ""
3136 "This data will be copied to user's signal handler (through I<si_perf> in the "
3137 "I<siginfo_t>) to disambiguate which event triggered the signal."
3138 msgstr ""
3139
3140 #. type: SS
3141 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3142 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3143 #, no-wrap
3144 msgid "Reading results"
3145 msgstr ""
3146
3147 #. type: Plain text
3148 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3149 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3150 msgid ""
3151 "Once a B<perf_event_open>() file descriptor has been opened, the values of "
3152 "the events can be read from the file descriptor. The values that are there "
3153 "are specified by the I<read_format> field in the I<attr> structure at open "
3154 "time."
3155 msgstr ""
3156
3157 #. type: Plain text
3158 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3159 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3160 msgid ""
3161 "If you attempt to read into a buffer that is not big enough to hold the "
3162 "data, the error B<ENOSPC> results."
3163 msgstr ""
3164
3165 #. type: Plain text
3166 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3167 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3168 msgid "Here is the layout of the data returned by a read:"
3169 msgstr ""
3170
3171 #. type: IP
3172 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3173 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3174 #, no-wrap
3175 msgid "\\[bu]"
3176 msgstr ""
3177
3178 #. type: Plain text
3179 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3180 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3181 msgid ""
3182 "If B<PERF_FORMAT_GROUP> was specified to allow reading all events in a group "
3183 "at once:"
3184 msgstr ""
3185
3186 #. type: Plain text
3187 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3188 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3189 #, no-wrap
3190 msgid ""
3191 "struct read_format {\n"
3192 " u64 nr; /* The number of events */\n"
3193 " u64 time_enabled; /* if PERF_FORMAT_TOTAL_TIME_ENABLED */\n"
3194 " u64 time_running; /* if PERF_FORMAT_TOTAL_TIME_RUNNING */\n"
3195 " struct {\n"
3196 " u64 value; /* The value of the event */\n"
3197 " u64 id; /* if PERF_FORMAT_ID */\n"
3198 " u64 lost; /* if PERF_FORMAT_LOST */\n"
3199 " } values[nr];\n"
3200 "};\n"
3201 msgstr ""
3202
3203 #. type: Plain text
3204 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3205 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3206 msgid "If B<PERF_FORMAT_GROUP> was I<not> specified:"
3207 msgstr ""
3208
3209 #. type: Plain text
3210 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3211 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3212 #, no-wrap
3213 msgid ""
3214 "struct read_format {\n"
3215 " u64 value; /* The value of the event */\n"
3216 " u64 time_enabled; /* if PERF_FORMAT_TOTAL_TIME_ENABLED */\n"
3217 " u64 time_running; /* if PERF_FORMAT_TOTAL_TIME_RUNNING */\n"
3218 " u64 id; /* if PERF_FORMAT_ID */\n"
3219 " u64 lost; /* if PERF_FORMAT_LOST */\n"
3220 "};\n"
3221 msgstr ""
3222
3223 #. type: Plain text
3224 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3225 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3226 msgid "The values read are as follows:"
3227 msgstr ""
3228
3229 #. type: TP
3230 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3231 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3232 #, no-wrap
3233 msgid "I<nr>"
3234 msgstr ""
3235
3236 #. type: Plain text
3237 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3238 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3239 msgid ""
3240 "The number of events in this file descriptor. Available only if "
3241 "B<PERF_FORMAT_GROUP> was specified."
3242 msgstr ""
3243
3244 #. type: TP
3245 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3246 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3247 #, no-wrap
3248 msgid "I<time_enabled>"
3249 msgstr ""
3250
3251 #. type: TP
3252 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3253 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3254 #, no-wrap
3255 msgid "I<time_running>"
3256 msgstr ""
3257
3258 #. type: Plain text
3259 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3260 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3261 msgid ""
3262 "Total time the event was enabled and running. Normally these values are the "
3263 "same. Multiplexing happens if the number of events is more than the number "
3264 "of available PMU counter slots. In that case the events run only part of "
3265 "the time and the I<time_enabled> and I<time running> values can be used to "
3266 "scale an estimated value for the count."
3267 msgstr ""
3268
3269 #. type: TP
3270 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3271 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3272 #, no-wrap
3273 msgid "I<value>"
3274 msgstr ""
3275
3276 #. type: Plain text
3277 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3278 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3279 msgid "An unsigned 64-bit value containing the counter result."
3280 msgstr ""
3281
3282 #. type: TP
3283 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3284 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3285 #, no-wrap
3286 msgid "I<id>"
3287 msgstr ""
3288
3289 #. type: Plain text
3290 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3291 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3292 msgid ""
3293 "A globally unique value for this particular event; only present if "
3294 "B<PERF_FORMAT_ID> was specified in I<read_format>."
3295 msgstr ""
3296
3297 #. type: TP
3298 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3299 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3300 #, no-wrap
3301 msgid "I<lost>"
3302 msgstr ""
3303
3304 #. type: Plain text
3305 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3306 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3307 msgid ""
3308 "The number of lost samples of this event; only present if "
3309 "B<PERF_FORMAT_LOST> was specified in I<read_format>."
3310 msgstr ""
3311
3312 #. type: SS
3313 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3314 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3315 #, no-wrap
3316 msgid "MMAP layout"
3317 msgstr ""
3318
3319 #. type: Plain text
3320 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3321 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3322 msgid ""
3323 "When using B<perf_event_open>() in sampled mode, asynchronous events (like "
3324 "counter overflow or B<PROT_EXEC> mmap tracking) are logged into a ring-"
3325 "buffer. This ring-buffer is created and accessed through B<mmap>(2)."
3326 msgstr ""
3327
3328 #. type: Plain text
3329 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3330 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3331 msgid ""
3332 "The mmap size should be 1+2\\[ha]n pages, where the first page is a metadata "
3333 "page (I<struct perf_event_mmap_page>) that contains various bits of "
3334 "information such as where the ring-buffer head is."
3335 msgstr ""
3336
3337 #. type: Plain text
3338 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3339 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3340 msgid ""
3341 "Before Linux 2.6.39, there is a bug that means you must allocate an mmap "
3342 "ring buffer when sampling even if you do not plan to access it."
3343 msgstr ""
3344
3345 #. type: Plain text
3346 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3347 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3348 msgid "The structure of the first metadata mmap page is as follows:"
3349 msgstr ""
3350
3351 #. type: Plain text
3352 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3353 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3354 #, no-wrap
3355 msgid ""
3356 "struct perf_event_mmap_page {\n"
3357 " __u32 version; /* version number of this structure */\n"
3358 " __u32 compat_version; /* lowest version this is compat with */\n"
3359 " __u32 lock; /* seqlock for synchronization */\n"
3360 " __u32 index; /* hardware counter identifier */\n"
3361 " __s64 offset; /* add to hardware counter value */\n"
3362 " __u64 time_enabled; /* time event active */\n"
3363 " __u64 time_running; /* time event on CPU */\n"
3364 " union {\n"
3365 " __u64 capabilities;\n"
3366 " struct {\n"
3367 " __u64 cap_usr_time / cap_usr_rdpmc / cap_bit0 : 1,\n"
3368 " cap_bit0_is_deprecated : 1,\n"
3369 " cap_user_rdpmc : 1,\n"
3370 " cap_user_time : 1,\n"
3371 " cap_user_time_zero : 1,\n"
3372 " };\n"
3373 " };\n"
3374 " __u16 pmc_width;\n"
3375 " __u16 time_shift;\n"
3376 " __u32 time_mult;\n"
3377 " __u64 time_offset;\n"
3378 " __u64 __reserved[120]; /* Pad to 1 k */\n"
3379 " __u64 data_head; /* head in the data section */\n"
3380 " __u64 data_tail; /* user-space written tail */\n"
3381 " __u64 data_offset; /* where the buffer starts */\n"
3382 " __u64 data_size; /* data buffer size */\n"
3383 " __u64 aux_head;\n"
3384 " __u64 aux_tail;\n"
3385 " __u64 aux_offset;\n"
3386 " __u64 aux_size;\n"
3387 "\\&\n"
3388 "}\n"
3389 msgstr ""
3390
3391 #. type: Plain text
3392 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3393 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3394 msgid ""
3395 "The following list describes the fields in the I<perf_event_mmap_page> "
3396 "structure in more detail:"
3397 msgstr ""
3398
3399 #. type: TP
3400 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3401 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3402 #, no-wrap
3403 msgid "I<version>"
3404 msgstr ""
3405
3406 #. type: Plain text
3407 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3408 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3409 msgid "Version number of this structure."
3410 msgstr ""
3411
3412 #. type: TP
3413 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3414 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3415 #, no-wrap
3416 msgid "I<compat_version>"
3417 msgstr ""
3418
3419 #. type: Plain text
3420 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3421 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3422 msgid "The lowest version this is compatible with."
3423 msgstr ""
3424
3425 #. type: TP
3426 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3427 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3428 #, no-wrap
3429 msgid "I<lock>"
3430 msgstr ""
3431
3432 #. type: Plain text
3433 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3434 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3435 msgid "A seqlock for synchronization."
3436 msgstr ""
3437
3438 #. type: TP
3439 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3440 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3441 #, no-wrap
3442 msgid "I<index>"
3443 msgstr ""
3444
3445 #. type: Plain text
3446 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3447 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3448 msgid "A unique hardware counter identifier."
3449 msgstr ""
3450
3451 #. type: TP
3452 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3453 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3454 #, no-wrap
3455 msgid "I<offset>"
3456 msgstr ""
3457
3458 #. type: Plain text
3459 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3460 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3461 msgid ""
3462 "When using rdpmc for reads this offset value must be added to the one "
3463 "returned by rdpmc to get the current total event count."
3464 msgstr ""
3465
3466 #. type: Plain text
3467 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3468 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3469 msgid "Time the event was active."
3470 msgstr ""
3471
3472 #. type: Plain text
3473 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3474 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3475 msgid "Time the event was running."
3476 msgstr ""
3477
3478 #. type: TP
3479 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3480 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3481 #, no-wrap
3482 msgid "I<cap_usr_time> / I<cap_usr_rdpmc> / I<cap_bit0> (since Linux 3.4)"
3483 msgstr ""
3484
3485 #. commit c7206205d00ab375839bd6c7ddb247d600693c09
3486 #. type: Plain text
3487 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3488 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3489 msgid ""
3490 "There was a bug in the definition of I<cap_usr_time> and I<cap_usr_rdpmc> "
3491 "from Linux 3.4 until Linux 3.11. Both bits were defined to point to the "
3492 "same location, so it was impossible to know if I<cap_usr_time> or "
3493 "I<cap_usr_rdpmc> were actually set."
3494 msgstr ""
3495
3496 #. commit fa7315871046b9a4c48627905691dbde57e51033
3497 #. type: Plain text
3498 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3499 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3500 msgid ""
3501 "Starting with Linux 3.12, these are renamed to I<cap_bit0> and you should "
3502 "use the I<cap_user_time> and I<cap_user_rdpmc> fields instead."
3503 msgstr ""
3504
3505 #. type: TP
3506 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3507 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3508 #, no-wrap
3509 msgid "I<cap_bit0_is_deprecated> (since Linux 3.12)"
3510 msgstr ""
3511
3512 #. commit fa7315871046b9a4c48627905691dbde57e51033
3513 #. type: Plain text
3514 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3515 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3516 msgid ""
3517 "If set, this bit indicates that the kernel supports the properly separated "
3518 "I<cap_user_time> and I<cap_user_rdpmc> bits."
3519 msgstr ""
3520
3521 #. type: Plain text
3522 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3523 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3524 msgid ""
3525 "If not-set, it indicates an older kernel where I<cap_usr_time> and "
3526 "I<cap_usr_rdpmc> map to the same bit and thus both features should be used "
3527 "with caution."
3528 msgstr ""
3529
3530 #. type: TP
3531 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3532 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3533 #, no-wrap
3534 msgid "I<cap_user_rdpmc> (since Linux 3.12)"
3535 msgstr ""
3536
3537 #. commit fa7315871046b9a4c48627905691dbde57e51033
3538 #. type: Plain text
3539 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3540 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3541 msgid ""
3542 "If the hardware supports user-space read of performance counters without "
3543 "syscall (this is the \"rdpmc\" instruction on x86), then the following code "
3544 "can be used to do a read:"
3545 msgstr ""
3546
3547 #. type: Plain text
3548 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3549 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3550 #, no-wrap
3551 msgid ""
3552 "u32 seq, time_mult, time_shift, idx, width;\n"
3553 "u64 count, enabled, running;\n"
3554 "u64 cyc, time_offset;\n"
3555 "\\&\n"
3556 "do {\n"
3557 " seq = pc-E<gt>lock;\n"
3558 " barrier();\n"
3559 " enabled = pc-E<gt>time_enabled;\n"
3560 " running = pc-E<gt>time_running;\n"
3561 "\\&\n"
3562 " if (pc-E<gt>cap_usr_time && enabled != running) {\n"
3563 " cyc = rdtsc();\n"
3564 " time_offset = pc-E<gt>time_offset;\n"
3565 " time_mult = pc-E<gt>time_mult;\n"
3566 " time_shift = pc-E<gt>time_shift;\n"
3567 " }\n"
3568 "\\&\n"
3569 " idx = pc-E<gt>index;\n"
3570 " count = pc-E<gt>offset;\n"
3571 "\\&\n"
3572 " if (pc-E<gt>cap_usr_rdpmc && idx) {\n"
3573 " width = pc-E<gt>pmc_width;\n"
3574 " count += rdpmc(idx - 1);\n"
3575 " }\n"
3576 "\\&\n"
3577 " barrier();\n"
3578 "} while (pc-E<gt>lock != seq);\n"
3579 msgstr ""
3580
3581 #. type: TP
3582 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3583 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3584 #, no-wrap
3585 msgid "I<cap_user_time> (since Linux 3.12)"
3586 msgstr ""
3587
3588 #. commit fa7315871046b9a4c48627905691dbde57e51033
3589 #. type: Plain text
3590 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3591 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3592 msgid ""
3593 "This bit indicates the hardware has a constant, nonstop timestamp counter "
3594 "(TSC on x86)."
3595 msgstr ""
3596
3597 #. type: TP
3598 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3599 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3600 #, no-wrap
3601 msgid "I<cap_user_time_zero> (since Linux 3.12)"
3602 msgstr ""
3603
3604 #. commit fa7315871046b9a4c48627905691dbde57e51033
3605 #. type: Plain text
3606 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3607 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3608 msgid ""
3609 "Indicates the presence of I<time_zero> which allows mapping timestamp values "
3610 "to the hardware clock."
3611 msgstr ""
3612
3613 #. type: TP
3614 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3615 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3616 #, no-wrap
3617 msgid "I<pmc_width>"
3618 msgstr ""
3619
3620 #. type: Plain text
3621 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3622 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3623 msgid ""
3624 "If I<cap_usr_rdpmc>, this field provides the bit-width of the value read "
3625 "using the rdpmc or equivalent instruction. This can be used to sign extend "
3626 "the result like:"
3627 msgstr ""
3628
3629 #. type: Plain text
3630 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
3631 #: opensuse-tumbleweed
3632 #, no-wrap
3633 msgid ""
3634 "pmc E<lt>E<lt>= 64 - pmc_width;\n"
3635 "pmc E<gt>E<gt>= 64 - pmc_width; // signed shift right\n"
3636 "count += pmc;\n"
3637 msgstr ""
3638
3639 #. type: TP
3640 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3641 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3642 #, no-wrap
3643 msgid "I<time_shift>"
3644 msgstr ""
3645
3646 #. type: TQ
3647 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3648 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3649 #, no-wrap
3650 msgid "I<time_mult>"
3651 msgstr ""
3652
3653 #. type: TQ
3654 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3655 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3656 #, no-wrap
3657 msgid "I<time_offset>"
3658 msgstr ""
3659
3660 #. type: Plain text
3661 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3662 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3663 msgid ""
3664 "If I<cap_usr_time>, these fields can be used to compute the time delta since "
3665 "I<time_enabled> (in nanoseconds) using rdtsc or similar."
3666 msgstr ""
3667
3668 #. type: Plain text
3669 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3670 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3671 #, no-wrap
3672 msgid ""
3673 "u64 quot, rem;\n"
3674 "u64 delta;\n"
3675 "\\&\n"
3676 "quot = cyc E<gt>E<gt> time_shift;\n"
3677 "rem = cyc & (((u64)1 E<lt>E<lt> time_shift) - 1);\n"
3678 "delta = time_offset + quot * time_mult +\n"
3679 " ((rem * time_mult) E<gt>E<gt> time_shift);\n"
3680 msgstr ""
3681
3682 #. type: Plain text
3683 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3684 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3685 msgid ""
3686 "Where I<time_offset>, I<time_mult>, I<time_shift>, and I<cyc> are read in "
3687 "the seqcount loop described above. This delta can then be added to enabled "
3688 "and possible running (if idx), improving the scaling:"
3689 msgstr ""
3690
3691 #. type: Plain text
3692 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3693 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3694 #, no-wrap
3695 msgid ""
3696 "enabled += delta;\n"
3697 "if (idx)\n"
3698 " running += delta;\n"
3699 "quot = count / running;\n"
3700 "rem = count % running;\n"
3701 "count = quot * enabled + (rem * enabled) / running;\n"
3702 msgstr ""
3703
3704 #. type: TP
3705 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3706 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3707 #, no-wrap
3708 msgid "I<time_zero> (since Linux 3.12)"
3709 msgstr ""
3710
3711 #. type: Plain text
3712 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3713 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3714 msgid ""
3715 "If I<cap_usr_time_zero> is set, then the hardware clock (the TSC timestamp "
3716 "counter on x86) can be calculated from the I<time_zero>, I<time_mult>, and "
3717 "I<time_shift> values:"
3718 msgstr ""
3719
3720 #. type: Plain text
3721 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3722 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3723 #, no-wrap
3724 msgid ""
3725 "time = timestamp - time_zero;\n"
3726 "quot = time / time_mult;\n"
3727 "rem = time % time_mult;\n"
3728 "cyc = (quot E<lt>E<lt> time_shift) + (rem E<lt>E<lt> time_shift) / time_mult;\n"
3729 msgstr ""
3730
3731 #. type: Plain text
3732 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3733 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3734 msgid "And vice versa:"
3735 msgstr ""
3736
3737 #. type: Plain text
3738 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3739 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3740 #, no-wrap
3741 msgid ""
3742 "quot = cyc E<gt>E<gt> time_shift;\n"
3743 "rem = cyc & (((u64)1 E<lt>E<lt> time_shift) - 1);\n"
3744 "timestamp = time_zero + quot * time_mult +\n"
3745 " ((rem * time_mult) E<gt>E<gt> time_shift);\n"
3746 msgstr ""
3747
3748 #. type: TP
3749 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3750 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3751 #, no-wrap
3752 msgid "I<data_head>"
3753 msgstr ""
3754
3755 #. type: Plain text
3756 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3757 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3758 msgid ""
3759 "This points to the head of the data section. The value continuously "
3760 "increases, it does not wrap. The value needs to be manually wrapped by the "
3761 "size of the mmap buffer before accessing the samples."
3762 msgstr ""
3763
3764 #. type: Plain text
3765 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3766 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3767 msgid ""
3768 "On SMP-capable platforms, after reading the I<data_head> value, user space "
3769 "should issue an rmb()."
3770 msgstr ""
3771
3772 #. type: TP
3773 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3774 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3775 #, no-wrap
3776 msgid "I<data_tail>"
3777 msgstr ""
3778
3779 #. type: Plain text
3780 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3781 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3782 msgid ""
3783 "When the mapping is B<PROT_WRITE>, the I<data_tail> value should be written "
3784 "by user space to reflect the last read data. In this case, the kernel will "
3785 "not overwrite unread data."
3786 msgstr ""
3787
3788 #. type: TP
3789 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3790 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3791 #, no-wrap
3792 msgid "I<data_offset> (since Linux 4.1)"
3793 msgstr ""
3794
3795 #. commit e8c6deac69629c0cb97c3d3272f8631ef17f8f0f
3796 #. type: Plain text
3797 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3798 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3799 msgid ""
3800 "Contains the offset of the location in the mmap buffer where perf sample "
3801 "data begins."
3802 msgstr ""
3803
3804 #. type: TP
3805 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3806 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3807 #, no-wrap
3808 msgid "I<data_size> (since Linux 4.1)"
3809 msgstr ""
3810
3811 #. commit e8c6deac69629c0cb97c3d3272f8631ef17f8f0f
3812 #. type: Plain text
3813 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3814 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3815 msgid "Contains the size of the perf sample region within the mmap buffer."
3816 msgstr ""
3817
3818 #. type: TP
3819 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3820 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3821 #, no-wrap
3822 msgid "I<aux_head>"
3823 msgstr ""
3824
3825 #. type: TQ
3826 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3827 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3828 #, no-wrap
3829 msgid "I<aux_tail>"
3830 msgstr ""
3831
3832 #. type: TP
3833 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3834 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3835 #, no-wrap
3836 msgid "I<aux_offset>"
3837 msgstr ""
3838
3839 #. type: TQ
3840 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3841 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3842 #, no-wrap
3843 msgid "I<aux_size (since Linux 4.1)>"
3844 msgstr ""
3845
3846 #. commit 45bfb2e50471abbbfd83d40d28c986078b0d24ff
3847 #. type: Plain text
3848 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3849 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3850 msgid ""
3851 "The AUX region allows B<mmap>(2)-ing a separate sample buffer for high-"
3852 "bandwidth data streams (separate from the main perf sample buffer). An "
3853 "example of a high-bandwidth stream is instruction tracing support, as is "
3854 "found in newer Intel processors."
3855 msgstr ""
3856
3857 #. type: Plain text
3858 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3859 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3860 msgid ""
3861 "To set up an AUX area, first I<aux_offset> needs to be set with an offset "
3862 "greater than I<data_offset>+I<data_size> and I<aux_size> needs to be set to "
3863 "the desired buffer size. The desired offset and size must be page aligned, "
3864 "and the size must be a power of two. These values are then passed to mmap "
3865 "in order to map the AUX buffer. Pages in the AUX buffer are included as "
3866 "part of the B<RLIMIT_MEMLOCK> resource limit (see B<setrlimit>(2)), and also "
3867 "as part of the I<perf_event_mlock_kb> allowance."
3868 msgstr ""
3869
3870 #. type: Plain text
3871 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3872 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3873 msgid ""
3874 "By default, the AUX buffer will be truncated if it will not fit in the "
3875 "available space in the ring buffer. If the AUX buffer is mapped as a read "
3876 "only buffer, then it will operate in ring buffer mode where old data will be "
3877 "overwritten by new. In overwrite mode, it might not be possible to infer "
3878 "where the new data began, and it is the consumer's job to disable "
3879 "measurement while reading to avoid possible data races."
3880 msgstr ""
3881
3882 #. type: Plain text
3883 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3884 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3885 msgid ""
3886 "The I<aux_head> and I<aux_tail> ring buffer pointers have the same behavior "
3887 "and ordering rules as the previous described I<data_head> and I<data_tail>."
3888 msgstr ""
3889
3890 #. type: Plain text
3891 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3892 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3893 msgid "The following 2^n ring-buffer pages have the layout described below."
3894 msgstr ""
3895
3896 #. type: Plain text
3897 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3898 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3899 msgid ""
3900 "If I<perf_event_attr.sample_id_all> is set, then all event types will have "
3901 "the sample_type selected fields related to where/when (identity) an event "
3902 "took place (TID, TIME, ID, CPU, STREAM_ID) described in "
3903 "B<PERF_RECORD_SAMPLE> below, it will be stashed just after the "
3904 "I<perf_event_header> and the fields already present for the existing fields, "
3905 "that is, at the end of the payload. This allows a newer perf.data file to "
3906 "be supported by older perf tools, with the new optional fields being ignored."
3907 msgstr ""
3908
3909 #. type: Plain text
3910 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3911 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3912 msgid "The mmap values start with a header:"
3913 msgstr ""
3914
3915 #. type: Plain text
3916 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3917 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3918 #, no-wrap
3919 msgid ""
3920 "struct perf_event_header {\n"
3921 " __u32 type;\n"
3922 " __u16 misc;\n"
3923 " __u16 size;\n"
3924 "};\n"
3925 msgstr ""
3926
3927 #. type: Plain text
3928 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3929 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3930 msgid ""
3931 "Below, we describe the I<perf_event_header> fields in more detail. For ease "
3932 "of reading, the fields with shorter descriptions are presented first."
3933 msgstr ""
3934
3935 #. type: Plain text
3936 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3937 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3938 msgid "This indicates the size of the record."
3939 msgstr ""
3940
3941 #. type: TP
3942 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3943 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3944 #, no-wrap
3945 msgid "I<misc>"
3946 msgstr ""
3947
3948 #. type: Plain text
3949 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3950 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3951 msgid "The I<misc> field contains additional information about the sample."
3952 msgstr ""
3953
3954 #. type: Plain text
3955 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3956 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3957 msgid ""
3958 "The CPU mode can be determined from this value by masking with "
3959 "B<PERF_RECORD_MISC_CPUMODE_MASK> and looking for one of the following (note "
3960 "these are not bit masks, only one can be set at a time):"
3961 msgstr ""
3962
3963 #. type: TP
3964 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3965 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3966 #, no-wrap
3967 msgid "B<PERF_RECORD_MISC_CPUMODE_UNKNOWN>"
3968 msgstr ""
3969
3970 #. type: Plain text
3971 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3972 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3973 msgid "Unknown CPU mode."
3974 msgstr ""
3975
3976 #. type: TP
3977 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3978 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3979 #, no-wrap
3980 msgid "B<PERF_RECORD_MISC_KERNEL>"
3981 msgstr ""
3982
3983 #. type: Plain text
3984 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3985 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3986 msgid "Sample happened in the kernel."
3987 msgstr ""
3988
3989 #. type: TP
3990 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3991 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3992 #, no-wrap
3993 msgid "B<PERF_RECORD_MISC_USER>"
3994 msgstr ""
3995
3996 #. type: Plain text
3997 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3998 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3999 msgid "Sample happened in user code."
4000 msgstr ""
4001
4002 #. type: TP
4003 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4004 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4005 #, no-wrap
4006 msgid "B<PERF_RECORD_MISC_HYPERVISOR>"
4007 msgstr ""
4008
4009 #. type: Plain text
4010 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4011 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4012 msgid "Sample happened in the hypervisor."
4013 msgstr ""
4014
4015 #. type: TP
4016 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4017 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4018 #, no-wrap
4019 msgid "B<PERF_RECORD_MISC_GUEST_KERNEL> (since Linux 2.6.35)"
4020 msgstr ""
4021
4022 #. commit 39447b386c846bbf1c56f6403c5282837486200f
4023 #. type: Plain text
4024 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4025 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4026 msgid "Sample happened in the guest kernel."
4027 msgstr ""
4028
4029 #. type: TP
4030 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4031 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4032 #, no-wrap
4033 msgid "B<PERF_RECORD_MISC_GUEST_USER (since Linux 2.6.35)>"
4034 msgstr ""
4035
4036 #. commit 39447b386c846bbf1c56f6403c5282837486200f
4037 #. type: Plain text
4038 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4039 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4040 msgid "Sample happened in guest user code."
4041 msgstr ""
4042
4043 #. type: Plain text
4044 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4045 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4046 msgid ""
4047 "Since the following three statuses are generated by different record types, "
4048 "they alias to the same bit:"
4049 msgstr ""
4050
4051 #. type: TP
4052 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4053 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4054 #, no-wrap
4055 msgid "B<PERF_RECORD_MISC_MMAP_DATA> (since Linux 3.10)"
4056 msgstr ""
4057
4058 #. commit 2fe85427e3bf65d791700d065132772fc26e4d75
4059 #. type: Plain text
4060 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4061 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4062 msgid ""
4063 "This is set when the mapping is not executable; otherwise the mapping is "
4064 "executable."
4065 msgstr ""
4066
4067 #. type: TP
4068 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4069 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4070 #, no-wrap
4071 msgid "B<PERF_RECORD_MISC_COMM_EXEC> (since Linux 3.16)"
4072 msgstr ""
4073
4074 #. commit 82b897782d10fcc4930c9d4a15b175348fdd2871
4075 #. type: Plain text
4076 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4077 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4078 msgid ""
4079 "This is set for a B<PERF_RECORD_COMM> record on kernels more recent than "
4080 "Linux 3.16 if a process name change was caused by an B<execve>(2) system "
4081 "call."
4082 msgstr ""
4083
4084 #. type: TP
4085 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4086 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4087 #, no-wrap
4088 msgid "B<PERF_RECORD_MISC_SWITCH_OUT> (since Linux 4.3)"
4089 msgstr ""
4090
4091 #. commit 45ac1403f564f411c6a383a2448688ba8dd705a4
4092 #. type: Plain text
4093 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4094 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4095 msgid ""
4096 "When a B<PERF_RECORD_SWITCH> or B<PERF_RECORD_SWITCH_CPU_WIDE> record is "
4097 "generated, this bit indicates that the context switch is away from the "
4098 "current process (instead of into the current process)."
4099 msgstr ""
4100
4101 #. type: Plain text
4102 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4103 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4104 msgid "In addition, the following bits can be set:"
4105 msgstr ""
4106
4107 #. type: TP
4108 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4109 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4110 #, no-wrap
4111 msgid "B<PERF_RECORD_MISC_EXACT_IP>"
4112 msgstr ""
4113
4114 #. type: Plain text
4115 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4116 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4117 msgid ""
4118 "This indicates that the content of B<PERF_SAMPLE_IP> points to the actual "
4119 "instruction that triggered the event. See also "
4120 "I<perf_event_attr.precise_ip>."
4121 msgstr ""
4122
4123 #. type: TP
4124 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4125 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4126 #, no-wrap
4127 msgid "B<PERF_RECORD_MISC_SWITCH_OUT_PREEMPT> (since Linux 4.17)"
4128 msgstr ""
4129
4130 #. commit 101592b4904ecf6b8ed2a4784d41d180319d95a1
4131 #. type: Plain text
4132 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4133 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4134 msgid ""
4135 "When a B<PERF_RECORD_SWITCH> or B<PERF_RECORD_SWITCH_CPU_WIDE> record is "
4136 "generated, this indicates the context switch was a preemption."
4137 msgstr ""
4138
4139 #. type: TP
4140 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4141 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4142 #, no-wrap
4143 msgid "B<PERF_RECORD_MISC_MMAP_BUILD_ID> (since Linux 5.12)"
4144 msgstr ""
4145
4146 #. commit 88a16a1309333e43d328621ece3e9fa37027e8eb
4147 #. type: Plain text
4148 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4149 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4150 msgid ""
4151 "This indicates that the content of B<PERF_SAMPLE_MMAP2> contains build-ID "
4152 "data instead of device major and minor numbers as well as the inode number."
4153 msgstr ""
4154
4155 #. type: TP
4156 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4157 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4158 #, no-wrap
4159 msgid "B<PERF_RECORD_MISC_EXT_RESERVED> (since Linux 2.6.35)"
4160 msgstr ""
4161
4162 #. commit 1676b8a077c352085d52578fb4f29350b58b6e74
4163 #. type: Plain text
4164 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4165 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4166 msgid "This indicates there is extended data available (currently not used)."
4167 msgstr ""
4168
4169 #. type: TP
4170 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4171 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4172 #, no-wrap
4173 msgid "B<PERF_RECORD_MISC_PROC_MAP_PARSE_TIMEOUT>"
4174 msgstr ""
4175
4176 #. commit 930e6fcd2bcce9bcd9d4aa7e755678d33f3fe6f4
4177 #. type: Plain text
4178 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4179 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4180 msgid ""
4181 "This bit is not set by the kernel. It is reserved for the user-space perf "
4182 "utility to indicate that I</proc/>pidI</maps> parsing was taking too long "
4183 "and was stopped, and thus the mmap records may be truncated."
4184 msgstr ""
4185
4186 #. type: Plain text
4187 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4188 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4189 msgid ""
4190 "The I<type> value is one of the below. The values in the corresponding "
4191 "record (that follows the header) depend on the I<type> selected as shown."
4192 msgstr ""
4193
4194 #. type: TP
4195 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4196 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4197 #, no-wrap
4198 msgid "B<PERF_RECORD_MMAP>"
4199 msgstr ""
4200
4201 #. type: Plain text
4202 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4203 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4204 msgid ""
4205 "The MMAP events record the B<PROT_EXEC> mappings so that we can correlate "
4206 "user-space IPs to code. They have the following structure:"
4207 msgstr ""
4208
4209 #. type: Plain text
4210 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4211 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4212 #, no-wrap
4213 msgid ""
4214 "struct {\n"
4215 " struct perf_event_header header;\n"
4216 " u32 pid, tid;\n"
4217 " u64 addr;\n"
4218 " u64 len;\n"
4219 " u64 pgoff;\n"
4220 " char filename[];\n"
4221 "};\n"
4222 msgstr ""
4223
4224 #. type: TP
4225 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4226 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4227 #, no-wrap
4228 msgid "I<pid>"
4229 msgstr ""
4230
4231 #. type: Plain text
4232 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4233 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4234 msgid "is the process ID."
4235 msgstr ""
4236
4237 #. type: TP
4238 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4239 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4240 #, no-wrap
4241 msgid "I<tid>"
4242 msgstr ""
4243
4244 #. type: Plain text
4245 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4246 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4247 msgid "is the thread ID."
4248 msgstr ""
4249
4250 #. type: TP
4251 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4252 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4253 #, no-wrap
4254 msgid "I<addr>"
4255 msgstr ""
4256
4257 #. type: Plain text
4258 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
4259 #: opensuse-leap-16-1 opensuse-tumbleweed
4260 msgid ""
4261 "is the address of the allocated memory. I<len> is the size of the allocated "
4262 "memory. I<pgoff> is the page offset of the allocated memory. I<filename> "
4263 "is a string describing the backing of the allocated memory."
4264 msgstr ""
4265
4266 #. type: TP
4267 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4268 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4269 #, no-wrap
4270 msgid "B<PERF_RECORD_LOST>"
4271 msgstr ""
4272
4273 #. type: Plain text
4274 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4275 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4276 msgid "This record indicates when events are lost."
4277 msgstr ""
4278
4279 #. type: Plain text
4280 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4281 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4282 #, no-wrap
4283 msgid ""
4284 "struct {\n"
4285 " struct perf_event_header header;\n"
4286 " u64 id;\n"
4287 " u64 lost;\n"
4288 " struct sample_id sample_id;\n"
4289 "};\n"
4290 msgstr ""
4291
4292 #. type: Plain text
4293 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4294 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4295 msgid "is the unique event ID for the samples that were lost."
4296 msgstr ""
4297
4298 #. type: Plain text
4299 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4300 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4301 msgid "is the number of events that were lost."
4302 msgstr ""
4303
4304 #. type: TP
4305 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4306 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4307 #, no-wrap
4308 msgid "B<PERF_RECORD_COMM>"
4309 msgstr ""
4310
4311 #. type: Plain text
4312 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4313 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4314 msgid "This record indicates a change in the process name."
4315 msgstr ""
4316
4317 #. type: Plain text
4318 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4319 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4320 #, no-wrap
4321 msgid ""
4322 "struct {\n"
4323 " struct perf_event_header header;\n"
4324 " u32 pid;\n"
4325 " u32 tid;\n"
4326 " char comm[];\n"
4327 " struct sample_id sample_id;\n"
4328 "};\n"
4329 msgstr ""
4330
4331 #. type: Plain text
4332 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4333 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4334 msgid "is a string containing the new name of the process."
4335 msgstr ""
4336
4337 #. type: TP
4338 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4339 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4340 #, no-wrap
4341 msgid "B<PERF_RECORD_EXIT>"
4342 msgstr ""
4343
4344 #. type: Plain text
4345 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4346 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4347 msgid "This record indicates a process exit event."
4348 msgstr ""
4349
4350 #. type: Plain text
4351 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4352 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4353 #, no-wrap
4354 msgid ""
4355 "struct {\n"
4356 " struct perf_event_header header;\n"
4357 " u32 pid, ppid;\n"
4358 " u32 tid, ptid;\n"
4359 " u64 time;\n"
4360 " struct sample_id sample_id;\n"
4361 "};\n"
4362 msgstr ""
4363
4364 #. type: TP
4365 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4366 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4367 #, no-wrap
4368 msgid "B<PERF_RECORD_THROTTLE>"
4369 msgstr ""
4370
4371 #. type: TQ
4372 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4373 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4374 #, no-wrap
4375 msgid "B<PERF_RECORD_UNTHROTTLE>"
4376 msgstr ""
4377
4378 #. type: Plain text
4379 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4380 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4381 msgid "This record indicates a throttle/unthrottle event."
4382 msgstr ""
4383
4384 #. type: Plain text
4385 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4386 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4387 #, no-wrap
4388 msgid ""
4389 "struct {\n"
4390 " struct perf_event_header header;\n"
4391 " u64 time;\n"
4392 " u64 id;\n"
4393 " u64 stream_id;\n"
4394 " struct sample_id sample_id;\n"
4395 "};\n"
4396 msgstr ""
4397
4398 #. type: TP
4399 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4400 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4401 #, no-wrap
4402 msgid "B<PERF_RECORD_FORK>"
4403 msgstr ""
4404
4405 #. type: Plain text
4406 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4407 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4408 msgid "This record indicates a fork event."
4409 msgstr ""
4410
4411 #. type: TP
4412 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4413 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4414 #, no-wrap
4415 msgid "B<PERF_RECORD_READ>"
4416 msgstr ""
4417
4418 #. type: Plain text
4419 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4420 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4421 msgid "This record indicates a read event."
4422 msgstr ""
4423
4424 #. type: Plain text
4425 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4426 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4427 #, no-wrap
4428 msgid ""
4429 "struct {\n"
4430 " struct perf_event_header header;\n"
4431 " u32 pid, tid;\n"
4432 " struct read_format values;\n"
4433 " struct sample_id sample_id;\n"
4434 "};\n"
4435 msgstr ""
4436
4437 #. type: TP
4438 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4439 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4440 #, no-wrap
4441 msgid "B<PERF_RECORD_SAMPLE>"
4442 msgstr ""
4443
4444 #. type: Plain text
4445 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4446 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4447 msgid "This record indicates a sample."
4448 msgstr ""
4449
4450 #. type: Plain text
4451 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4452 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4453 #, no-wrap
4454 msgid ""
4455 "struct {\n"
4456 " struct perf_event_header header;\n"
4457 " u64 sample_id; /* if PERF_SAMPLE_IDENTIFIER */\n"
4458 " u64 ip; /* if PERF_SAMPLE_IP */\n"
4459 " u32 pid, tid; /* if PERF_SAMPLE_TID */\n"
4460 " u64 time; /* if PERF_SAMPLE_TIME */\n"
4461 " u64 addr; /* if PERF_SAMPLE_ADDR */\n"
4462 " u64 id; /* if PERF_SAMPLE_ID */\n"
4463 " u64 stream_id; /* if PERF_SAMPLE_STREAM_ID */\n"
4464 " u32 cpu, res; /* if PERF_SAMPLE_CPU */\n"
4465 " u64 period; /* if PERF_SAMPLE_PERIOD */\n"
4466 " struct read_format v;\n"
4467 " /* if PERF_SAMPLE_READ */\n"
4468 " u64 nr; /* if PERF_SAMPLE_CALLCHAIN */\n"
4469 " u64 ips[nr]; /* if PERF_SAMPLE_CALLCHAIN */\n"
4470 " u32 size; /* if PERF_SAMPLE_RAW */\n"
4471 " char data[size]; /* if PERF_SAMPLE_RAW */\n"
4472 " u64 bnr; /* if PERF_SAMPLE_BRANCH_STACK */\n"
4473 " struct perf_branch_entry lbr[bnr];\n"
4474 " /* if PERF_SAMPLE_BRANCH_STACK */\n"
4475 " u64 abi; /* if PERF_SAMPLE_REGS_USER */\n"
4476 " u64 regs[weight(mask)];\n"
4477 " /* if PERF_SAMPLE_REGS_USER */\n"
4478 " u64 size; /* if PERF_SAMPLE_STACK_USER */\n"
4479 " char data[size]; /* if PERF_SAMPLE_STACK_USER */\n"
4480 " u64 dyn_size; /* if PERF_SAMPLE_STACK_USER &&\n"
4481 " size != 0 */\n"
4482 " union perf_sample_weight weight;\n"
4483 " /* if PERF_SAMPLE_WEIGHT */\n"
4484 " /* || PERF_SAMPLE_WEIGHT_STRUCT */\n"
4485 " u64 data_src; /* if PERF_SAMPLE_DATA_SRC */\n"
4486 " u64 transaction; /* if PERF_SAMPLE_TRANSACTION */\n"
4487 " u64 abi; /* if PERF_SAMPLE_REGS_INTR */\n"
4488 " u64 regs[weight(mask)];\n"
4489 " /* if PERF_SAMPLE_REGS_INTR */\n"
4490 " u64 phys_addr; /* if PERF_SAMPLE_PHYS_ADDR */\n"
4491 " u64 cgroup; /* if PERF_SAMPLE_CGROUP */\n"
4492 " u64 data_page_size;\n"
4493 " /* if PERF_SAMPLE_DATA_PAGE_SIZE */\n"
4494 " u64 code_page_size;\n"
4495 " /* if PERF_SAMPLE_CODE_PAGE_SIZE */\n"
4496 " u64 size; /* if PERF_SAMPLE_AUX */\n"
4497 " char data[size]; /* if PERF_SAMPLE_AUX */\n"
4498 "};\n"
4499 msgstr ""
4500
4501 #. type: TP
4502 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4503 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4504 #, no-wrap
4505 msgid "I<sample_id>"
4506 msgstr ""
4507
4508 #. type: Plain text
4509 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4510 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4511 msgid ""
4512 "If B<PERF_SAMPLE_IDENTIFIER> is enabled, a 64-bit unique ID is included. "
4513 "This is a duplication of the B<PERF_SAMPLE_ID> I<id> value, but included at "
4514 "the beginning of the sample so parsers can easily obtain the value."
4515 msgstr ""
4516
4517 #. type: TP
4518 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4519 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4520 #, no-wrap
4521 msgid "I<ip>"
4522 msgstr ""
4523
4524 #. type: Plain text
4525 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4526 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4527 msgid ""
4528 "If B<PERF_SAMPLE_IP> is enabled, then a 64-bit instruction pointer value is "
4529 "included."
4530 msgstr ""
4531
4532 #. type: Plain text
4533 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4534 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4535 msgid ""
4536 "If B<PERF_SAMPLE_TID> is enabled, then a 32-bit process ID and 32-bit thread "
4537 "ID are included."
4538 msgstr ""
4539
4540 #. type: TP
4541 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4542 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4543 #, no-wrap
4544 msgid "I<time>"
4545 msgstr ""
4546
4547 #. type: Plain text
4548 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4549 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4550 msgid ""
4551 "If B<PERF_SAMPLE_TIME> is enabled, then a 64-bit timestamp is included. "
4552 "This is obtained via local_clock() which is a hardware timestamp if "
4553 "available and the jiffies value if not."
4554 msgstr ""
4555
4556 #. type: Plain text
4557 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4558 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4559 msgid ""
4560 "If B<PERF_SAMPLE_ADDR> is enabled, then a 64-bit address is included. This "
4561 "is usually the address of a tracepoint, breakpoint, or software event; "
4562 "otherwise the value is 0."
4563 msgstr ""
4564
4565 #. type: Plain text
4566 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4567 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4568 msgid ""
4569 "If B<PERF_SAMPLE_ID> is enabled, a 64-bit unique ID is included. If the "
4570 "event is a member of an event group, the group leader ID is returned. This "
4571 "ID is the same as the one returned by B<PERF_FORMAT_ID>."
4572 msgstr ""
4573
4574 #. type: TP
4575 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4576 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4577 #, no-wrap
4578 msgid "I<stream_id>"
4579 msgstr ""
4580
4581 #. type: Plain text
4582 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4583 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4584 msgid ""
4585 "If B<PERF_SAMPLE_STREAM_ID> is enabled, a 64-bit unique ID is included. "
4586 "Unlike B<PERF_SAMPLE_ID> the actual ID is returned, not the group leader. "
4587 "This ID is the same as the one returned by B<PERF_FORMAT_ID>."
4588 msgstr ""
4589
4590 #. type: TP
4591 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4592 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4593 #, no-wrap
4594 msgid "I<cpu>"
4595 msgstr ""
4596
4597 #. type: TQ
4598 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4599 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4600 #, no-wrap
4601 msgid "I<res>"
4602 msgstr ""
4603
4604 #. type: Plain text
4605 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4606 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4607 msgid ""
4608 "If B<PERF_SAMPLE_CPU> is enabled, this is a 32-bit value indicating which "
4609 "CPU was being used, in addition to a reserved (unused) 32-bit value."
4610 msgstr ""
4611
4612 #. type: TP
4613 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4614 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4615 #, no-wrap
4616 msgid "I<period>"
4617 msgstr ""
4618
4619 #. type: Plain text
4620 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4621 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4622 msgid ""
4623 "If B<PERF_SAMPLE_PERIOD> is enabled, a 64-bit value indicating the current "
4624 "sampling period is written."
4625 msgstr ""
4626
4627 #. type: TP
4628 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4629 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4630 #, no-wrap
4631 msgid "I<v>"
4632 msgstr ""
4633
4634 #. type: Plain text
4635 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4636 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4637 msgid ""
4638 "If B<PERF_SAMPLE_READ> is enabled, a structure of type read_format is "
4639 "included which has values for all events in the event group. The values "
4640 "included depend on the I<read_format> value used at B<perf_event_open>() "
4641 "time."
4642 msgstr ""
4643
4644 #. type: TQ
4645 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4646 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4647 #, no-wrap
4648 msgid "I<ips[nr]>"
4649 msgstr ""
4650
4651 #. type: Plain text
4652 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4653 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4654 msgid ""
4655 "If B<PERF_SAMPLE_CALLCHAIN> is enabled, then a 64-bit number is included "
4656 "which indicates how many following 64-bit instruction pointers will follow. "
4657 "This is the current callchain."
4658 msgstr ""
4659
4660 #. type: TQ
4661 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4662 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4663 #, no-wrap
4664 msgid "I<data[size]>"
4665 msgstr ""
4666
4667 #. type: Plain text
4668 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
4669 #: opensuse-leap-16-1 opensuse-tumbleweed
4670 msgid ""
4671 "If B<PERF_SAMPLE_RAW> is enabled, then a 32-bit value indicating size is "
4672 "included followed by an array of 8-bit values of size I<size>. The values "
4673 "are padded with 0 to have 64-bit alignment."
4674 msgstr ""
4675
4676 #. type: Plain text
4677 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4678 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4679 msgid ""
4680 "This RAW record data is opaque with respect to the ABI. The ABI doesn't "
4681 "make any promises with respect to the stability of its content, it may vary "
4682 "depending on event, hardware, and kernel version."
4683 msgstr ""
4684
4685 #. type: TP
4686 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4687 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4688 #, no-wrap
4689 msgid "I<bnr>"
4690 msgstr ""
4691
4692 #. type: TQ
4693 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4694 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4695 #, no-wrap
4696 msgid "I<lbr[bnr]>"
4697 msgstr ""
4698
4699 #. type: Plain text
4700 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4701 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4702 msgid ""
4703 "If B<PERF_SAMPLE_BRANCH_STACK> is enabled, then a 64-bit value indicating "
4704 "the number of records is included, followed by I<bnr> I<perf_branch_entry> "
4705 "structures which each include the fields:"
4706 msgstr ""
4707
4708 #. type: TP
4709 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4710 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4711 #, no-wrap
4712 msgid "I<from>"
4713 msgstr ""
4714
4715 #. type: Plain text
4716 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4717 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4718 msgid "This indicates the source instruction (may not be a branch)."
4719 msgstr ""
4720
4721 #. type: TP
4722 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4723 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4724 #, no-wrap
4725 msgid "I<to>"
4726 msgstr ""
4727
4728 #. type: Plain text
4729 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4730 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4731 msgid "The branch target."
4732 msgstr ""
4733
4734 #. type: TP
4735 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4736 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4737 #, no-wrap
4738 msgid "I<mispred>"
4739 msgstr ""
4740
4741 #. type: Plain text
4742 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4743 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4744 msgid "The branch target was mispredicted."
4745 msgstr ""
4746
4747 #. type: TP
4748 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4749 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4750 #, no-wrap
4751 msgid "I<predicted>"
4752 msgstr ""
4753
4754 #. type: Plain text
4755 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4756 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4757 msgid "The branch target was predicted."
4758 msgstr ""
4759
4760 #. type: TP
4761 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4762 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4763 #, no-wrap
4764 msgid "I<in_tx> (since Linux 3.11)"
4765 msgstr ""
4766
4767 #. commit 135c5612c460f89657c4698fe2ea753f6f667963
4768 #. type: Plain text
4769 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4770 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4771 msgid "The branch was in a transactional memory transaction."
4772 msgstr ""
4773
4774 #. type: TP
4775 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4776 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4777 #, no-wrap
4778 msgid "I<abort> (since Linux 3.11)"
4779 msgstr ""
4780
4781 #. commit 135c5612c460f89657c4698fe2ea753f6f667963
4782 #. type: Plain text
4783 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4784 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4785 msgid "The branch was in an aborted transactional memory transaction."
4786 msgstr ""
4787
4788 #. type: TP
4789 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4790 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4791 #, no-wrap
4792 msgid "I<cycles> (since Linux 4.3)"
4793 msgstr ""
4794
4795 #. commit 71ef3c6b9d4665ee7afbbe4c208a98917dcfc32f
4796 #. type: Plain text
4797 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4798 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4799 msgid ""
4800 "This reports the number of cycles elapsed since the previous branch stack "
4801 "update."
4802 msgstr ""
4803
4804 #. type: Plain text
4805 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4806 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4807 msgid ""
4808 "The entries are from most to least recent, so the first entry has the most "
4809 "recent branch."
4810 msgstr ""
4811
4812 #. type: Plain text
4813 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4814 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4815 msgid ""
4816 "Support for I<mispred>, I<predicted>, and I<cycles> is optional; if not "
4817 "supported, those values will be 0."
4818 msgstr ""
4819
4820 #. type: Plain text
4821 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4822 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4823 msgid ""
4824 "The type of branches recorded is specified by the I<branch_sample_type> "
4825 "field."
4826 msgstr ""
4827
4828 #. type: TP
4829 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4830 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4831 #, no-wrap
4832 msgid "I<abi>"
4833 msgstr ""
4834
4835 #. type: TQ
4836 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4837 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4838 #, no-wrap
4839 msgid "I<regs[weight(mask)]>"
4840 msgstr ""
4841
4842 #. type: Plain text
4843 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4844 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4845 msgid ""
4846 "If B<PERF_SAMPLE_REGS_USER> is enabled, then the user CPU registers are "
4847 "recorded."
4848 msgstr ""
4849
4850 #. type: Plain text
4851 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4852 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4853 msgid ""
4854 "The I<abi> field is one of B<PERF_SAMPLE_REGS_ABI_NONE>, "
4855 "B<PERF_SAMPLE_REGS_ABI_32>, or B<PERF_SAMPLE_REGS_ABI_64>."
4856 msgstr ""
4857
4858 #. type: Plain text
4859 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4860 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4861 msgid ""
4862 "The I<regs> field is an array of the CPU registers that were specified by "
4863 "the I<sample_regs_user> attr field. The number of values is the number of "
4864 "bits set in the I<sample_regs_user> bit mask."
4865 msgstr ""
4866
4867 #. type: TQ
4868 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4869 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4870 #, no-wrap
4871 msgid "I<dyn_size>"
4872 msgstr ""
4873
4874 #. type: Plain text
4875 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4876 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4877 msgid ""
4878 "If B<PERF_SAMPLE_STACK_USER> is enabled, then the user stack is recorded. "
4879 "This can be used to generate stack backtraces. I<size> is the size "
4880 "requested by the user in I<sample_stack_user> or else the maximum record "
4881 "size. I<data> is the stack data (a raw dump of the memory pointed to by the "
4882 "stack pointer at the time of sampling). I<dyn_size> is the amount of data "
4883 "actually dumped (can be less than I<size>). Note that I<dyn_size> is "
4884 "omitted if I<size> is 0."
4885 msgstr ""
4886
4887 #. type: TP
4888 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4889 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4890 #, no-wrap
4891 msgid "I<weight>"
4892 msgstr ""
4893
4894 #. type: Plain text
4895 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4896 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4897 msgid ""
4898 "If B<PERF_SAMPLE_WEIGHT> or B<PERF_SAMPLE_WEIGHT_STRUCT> is enabled, then a "
4899 "64-bit value provided by the hardware is recorded that indicates how costly "
4900 "the event was. This allows expensive events to stand out more clearly in "
4901 "profiles."
4902 msgstr ""
4903
4904 #. type: TP
4905 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4906 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4907 #, no-wrap
4908 msgid "I<data_src>"
4909 msgstr ""
4910
4911 #. type: Plain text
4912 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4913 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4914 msgid ""
4915 "If B<PERF_SAMPLE_DATA_SRC> is enabled, then a 64-bit value is recorded that "
4916 "is made up of the following fields:"
4917 msgstr ""
4918
4919 #. type: TP
4920 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4921 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4922 #, no-wrap
4923 msgid "I<mem_op>"
4924 msgstr ""
4925
4926 #. type: Plain text
4927 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4928 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4929 msgid "Type of opcode, a bitwise combination of:"
4930 msgstr ""
4931
4932 #. type: TP
4933 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4934 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4935 #, no-wrap
4936 msgid "B<PERF_MEM_OP_NA>"
4937 msgstr ""
4938
4939 #. type: Plain text
4940 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4941 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4942 msgid "Not available"
4943 msgstr ""
4944
4945 #. type: TP
4946 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4947 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4948 #, no-wrap
4949 msgid "B<PERF_MEM_OP_LOAD>"
4950 msgstr ""
4951
4952 #. type: Plain text
4953 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4954 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4955 msgid "Load instruction"
4956 msgstr ""
4957
4958 #. type: TP
4959 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4960 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4961 #, no-wrap
4962 msgid "B<PERF_MEM_OP_STORE>"
4963 msgstr ""
4964
4965 #. type: Plain text
4966 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4967 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4968 msgid "Store instruction"
4969 msgstr ""
4970
4971 #. type: TP
4972 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4973 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4974 #, no-wrap
4975 msgid "B<PERF_MEM_OP_PFETCH>"
4976 msgstr ""
4977
4978 #. type: Plain text
4979 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4980 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4981 msgid "Prefetch"
4982 msgstr ""
4983
4984 #. type: TP
4985 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4986 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4987 #, no-wrap
4988 msgid "B<PERF_MEM_OP_EXEC>"
4989 msgstr ""
4990
4991 #. type: Plain text
4992 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4993 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
4994 msgid "Executable code"
4995 msgstr ""
4996
4997 #. type: TP
4998 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4999 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5000 #, no-wrap
5001 msgid "I<mem_lvl>"
5002 msgstr ""
5003
5004 #. type: Plain text
5005 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5006 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5007 msgid ""
5008 "Memory hierarchy level hit or miss, a bitwise combination of the following, "
5009 "shifted left by B<PERF_MEM_LVL_SHIFT>:"
5010 msgstr ""
5011
5012 #. type: TP
5013 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5014 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5015 #, no-wrap
5016 msgid "B<PERF_MEM_LVL_NA>"
5017 msgstr ""
5018
5019 #. type: TP
5020 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5021 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5022 #, no-wrap
5023 msgid "B<PERF_MEM_LVL_HIT>"
5024 msgstr ""
5025
5026 #. type: Plain text
5027 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5028 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5029 msgid "Hit"
5030 msgstr ""
5031
5032 #. type: TP
5033 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5034 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5035 #, no-wrap
5036 msgid "B<PERF_MEM_LVL_MISS>"
5037 msgstr ""
5038
5039 #. type: Plain text
5040 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5041 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5042 msgid "Miss"
5043 msgstr ""
5044
5045 #. type: TP
5046 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5047 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5048 #, no-wrap
5049 msgid "B<PERF_MEM_LVL_L1>"
5050 msgstr ""
5051
5052 #. type: Plain text
5053 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5054 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5055 msgid "Level 1 cache"
5056 msgstr ""
5057
5058 #. type: TP
5059 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5060 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5061 #, no-wrap
5062 msgid "B<PERF_MEM_LVL_LFB>"
5063 msgstr ""
5064
5065 #. type: Plain text
5066 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5067 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5068 msgid "Line fill buffer"
5069 msgstr ""
5070
5071 #. type: TP
5072 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5073 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5074 #, no-wrap
5075 msgid "B<PERF_MEM_LVL_L2>"
5076 msgstr ""
5077
5078 #. type: Plain text
5079 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5080 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5081 msgid "Level 2 cache"
5082 msgstr ""
5083
5084 #. type: TP
5085 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5086 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5087 #, no-wrap
5088 msgid "B<PERF_MEM_LVL_L3>"
5089 msgstr ""
5090
5091 #. type: Plain text
5092 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5093 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5094 msgid "Level 3 cache"
5095 msgstr ""
5096
5097 #. type: TP
5098 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5099 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5100 #, no-wrap
5101 msgid "B<PERF_MEM_LVL_LOC_RAM>"
5102 msgstr ""
5103
5104 #. type: Plain text
5105 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5106 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5107 msgid "Local DRAM"
5108 msgstr ""
5109
5110 #. type: TP
5111 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5112 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5113 #, no-wrap
5114 msgid "B<PERF_MEM_LVL_REM_RAM1>"
5115 msgstr ""
5116
5117 #. type: Plain text
5118 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5119 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5120 msgid "Remote DRAM 1 hop"
5121 msgstr ""
5122
5123 #. type: TP
5124 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5125 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5126 #, no-wrap
5127 msgid "B<PERF_MEM_LVL_REM_RAM2>"
5128 msgstr ""
5129
5130 #. type: Plain text
5131 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5132 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5133 msgid "Remote DRAM 2 hops"
5134 msgstr ""
5135
5136 #. type: TP
5137 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5138 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5139 #, no-wrap
5140 msgid "B<PERF_MEM_LVL_REM_CCE1>"
5141 msgstr ""
5142
5143 #. type: Plain text
5144 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5145 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5146 msgid "Remote cache 1 hop"
5147 msgstr ""
5148
5149 #. type: TP
5150 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5151 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5152 #, no-wrap
5153 msgid "B<PERF_MEM_LVL_REM_CCE2>"
5154 msgstr ""
5155
5156 #. type: Plain text
5157 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5158 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5159 msgid "Remote cache 2 hops"
5160 msgstr ""
5161
5162 #. type: TP
5163 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5164 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5165 #, no-wrap
5166 msgid "B<PERF_MEM_LVL_IO>"
5167 msgstr ""
5168
5169 #. type: Plain text
5170 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5171 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5172 msgid "I/O memory"
5173 msgstr ""
5174
5175 #. type: TP
5176 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5177 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5178 #, no-wrap
5179 msgid "B<PERF_MEM_LVL_UNC>"
5180 msgstr ""
5181
5182 #. type: Plain text
5183 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5184 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5185 msgid "Uncached memory"
5186 msgstr ""
5187
5188 #. type: TP
5189 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5190 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5191 #, no-wrap
5192 msgid "I<mem_snoop>"
5193 msgstr ""
5194
5195 #. type: Plain text
5196 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5197 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5198 msgid ""
5199 "Snoop mode, a bitwise combination of the following, shifted left by "
5200 "B<PERF_MEM_SNOOP_SHIFT>:"
5201 msgstr ""
5202
5203 #. type: TP
5204 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5205 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5206 #, no-wrap
5207 msgid "B<PERF_MEM_SNOOP_NA>"
5208 msgstr ""
5209
5210 #. type: TP
5211 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5212 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5213 #, no-wrap
5214 msgid "B<PERF_MEM_SNOOP_NONE>"
5215 msgstr ""
5216
5217 #. type: Plain text
5218 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5219 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5220 msgid "No snoop"
5221 msgstr ""
5222
5223 #. type: TP
5224 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5225 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5226 #, no-wrap
5227 msgid "B<PERF_MEM_SNOOP_HIT>"
5228 msgstr ""
5229
5230 #. type: Plain text
5231 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5232 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5233 msgid "Snoop hit"
5234 msgstr ""
5235
5236 #. type: TP
5237 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5238 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5239 #, no-wrap
5240 msgid "B<PERF_MEM_SNOOP_MISS>"
5241 msgstr ""
5242
5243 #. type: Plain text
5244 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5245 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5246 msgid "Snoop miss"
5247 msgstr ""
5248
5249 #. type: TP
5250 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5251 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5252 #, no-wrap
5253 msgid "B<PERF_MEM_SNOOP_HITM>"
5254 msgstr ""
5255
5256 #. type: Plain text
5257 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5258 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5259 msgid "Snoop hit modified"
5260 msgstr ""
5261
5262 #. type: TP
5263 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5264 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5265 #, no-wrap
5266 msgid "I<mem_lock>"
5267 msgstr ""
5268
5269 #. type: Plain text
5270 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5271 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5272 msgid ""
5273 "Lock instruction, a bitwise combination of the following, shifted left by "
5274 "B<PERF_MEM_LOCK_SHIFT>:"
5275 msgstr ""
5276
5277 #. type: TP
5278 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5279 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5280 #, no-wrap
5281 msgid "B<PERF_MEM_LOCK_NA>"
5282 msgstr ""
5283
5284 #. type: TP
5285 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5286 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5287 #, no-wrap
5288 msgid "B<PERF_MEM_LOCK_LOCKED>"
5289 msgstr ""
5290
5291 #. type: Plain text
5292 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5293 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5294 msgid "Locked transaction"
5295 msgstr ""
5296
5297 #. type: TP
5298 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5299 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5300 #, no-wrap
5301 msgid "I<mem_dtlb>"
5302 msgstr ""
5303
5304 #. type: Plain text
5305 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5306 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5307 msgid ""
5308 "TLB access hit or miss, a bitwise combination of the following, shifted left "
5309 "by B<PERF_MEM_TLB_SHIFT>:"
5310 msgstr ""
5311
5312 #. type: TP
5313 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5314 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5315 #, no-wrap
5316 msgid "B<PERF_MEM_TLB_NA>"
5317 msgstr ""
5318
5319 #. type: TP
5320 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5321 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5322 #, no-wrap
5323 msgid "B<PERF_MEM_TLB_HIT>"
5324 msgstr ""
5325
5326 #. type: TP
5327 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5328 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5329 #, no-wrap
5330 msgid "B<PERF_MEM_TLB_MISS>"
5331 msgstr ""
5332
5333 #. type: TP
5334 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5335 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5336 #, no-wrap
5337 msgid "B<PERF_MEM_TLB_L1>"
5338 msgstr ""
5339
5340 #. type: Plain text
5341 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5342 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5343 msgid "Level 1 TLB"
5344 msgstr ""
5345
5346 #. type: TP
5347 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5348 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5349 #, no-wrap
5350 msgid "B<PERF_MEM_TLB_L2>"
5351 msgstr ""
5352
5353 #. type: Plain text
5354 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5355 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5356 msgid "Level 2 TLB"
5357 msgstr ""
5358
5359 #. type: TP
5360 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5361 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5362 #, no-wrap
5363 msgid "B<PERF_MEM_TLB_WK>"
5364 msgstr ""
5365
5366 #. type: Plain text
5367 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5368 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5369 msgid "Hardware walker"
5370 msgstr ""
5371
5372 #. type: TP
5373 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5374 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5375 #, no-wrap
5376 msgid "B<PERF_MEM_TLB_OS>"
5377 msgstr ""
5378
5379 #. type: Plain text
5380 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5381 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5382 msgid "OS fault handler"
5383 msgstr ""
5384
5385 #. type: TP
5386 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5387 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5388 #, no-wrap
5389 msgid "I<transaction>"
5390 msgstr ""
5391
5392 #. type: Plain text
5393 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5394 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5395 msgid ""
5396 "If the B<PERF_SAMPLE_TRANSACTION> flag is set, then a 64-bit field is "
5397 "recorded describing the sources of any transactional memory aborts."
5398 msgstr ""
5399
5400 #. type: Plain text
5401 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5402 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5403 msgid "The field is a bitwise combination of the following values:"
5404 msgstr ""
5405
5406 #. type: TP
5407 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5408 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5409 #, no-wrap
5410 msgid "B<PERF_TXN_ELISION>"
5411 msgstr ""
5412
5413 #. type: Plain text
5414 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5415 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5416 msgid "Abort from an elision type transaction (Intel-CPU-specific)."
5417 msgstr ""
5418
5419 #. type: TP
5420 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5421 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5422 #, no-wrap
5423 msgid "B<PERF_TXN_TRANSACTION>"
5424 msgstr ""
5425
5426 #. type: Plain text
5427 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5428 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5429 msgid "Abort from a generic transaction."
5430 msgstr ""
5431
5432 #. type: TP
5433 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5434 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5435 #, no-wrap
5436 msgid "B<PERF_TXN_SYNC>"
5437 msgstr ""
5438
5439 #. type: Plain text
5440 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5441 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5442 msgid "Synchronous abort (related to the reported instruction)."
5443 msgstr ""
5444
5445 #. type: TP
5446 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5447 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5448 #, no-wrap
5449 msgid "B<PERF_TXN_ASYNC>"
5450 msgstr ""
5451
5452 #. type: Plain text
5453 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5454 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5455 msgid "Asynchronous abort (not related to the reported instruction)."
5456 msgstr ""
5457
5458 #. type: TP
5459 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5460 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5461 #, no-wrap
5462 msgid "B<PERF_TXN_RETRY>"
5463 msgstr ""
5464
5465 #. type: Plain text
5466 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5467 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5468 msgid "Retryable abort (retrying the transaction may have succeeded)."
5469 msgstr ""
5470
5471 #. type: TP
5472 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5473 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5474 #, no-wrap
5475 msgid "B<PERF_TXN_CONFLICT>"
5476 msgstr ""
5477
5478 #. type: Plain text
5479 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5480 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5481 msgid "Abort due to memory conflicts with other threads."
5482 msgstr ""
5483
5484 #. type: TP
5485 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5486 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5487 #, no-wrap
5488 msgid "B<PERF_TXN_CAPACITY_WRITE>"
5489 msgstr ""
5490
5491 #. type: Plain text
5492 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5493 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5494 msgid "Abort due to write capacity overflow."
5495 msgstr ""
5496
5497 #. type: TP
5498 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5499 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5500 #, no-wrap
5501 msgid "B<PERF_TXN_CAPACITY_READ>"
5502 msgstr ""
5503
5504 #. type: Plain text
5505 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5506 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5507 msgid "Abort due to read capacity overflow."
5508 msgstr ""
5509
5510 #. type: Plain text
5511 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5512 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5513 msgid ""
5514 "In addition, a user-specified abort code can be obtained from the high 32 "
5515 "bits of the field by shifting right by B<PERF_TXN_ABORT_SHIFT> and masking "
5516 "with the value B<PERF_TXN_ABORT_MASK>."
5517 msgstr ""
5518
5519 #. type: Plain text
5520 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5521 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5522 msgid ""
5523 "If B<PERF_SAMPLE_REGS_INTR> is enabled, then the user CPU registers are "
5524 "recorded."
5525 msgstr ""
5526
5527 #. type: Plain text
5528 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5529 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5530 msgid ""
5531 "The I<regs> field is an array of the CPU registers that were specified by "
5532 "the I<sample_regs_intr> attr field. The number of values is the number of "
5533 "bits set in the I<sample_regs_intr> bit mask."
5534 msgstr ""
5535
5536 #. type: TP
5537 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5538 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5539 #, no-wrap
5540 msgid "I<phys_addr>"
5541 msgstr ""
5542
5543 #. type: Plain text
5544 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5545 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5546 msgid ""
5547 "If the B<PERF_SAMPLE_PHYS_ADDR> flag is set, then the 64-bit physical "
5548 "address is recorded."
5549 msgstr ""
5550
5551 #. type: TP
5552 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5553 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5554 #, no-wrap
5555 msgid "I<cgroup>"
5556 msgstr ""
5557
5558 #. type: Plain text
5559 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5560 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5561 msgid ""
5562 "If the B<PERF_SAMPLE_CGROUP> flag is set, then the 64-bit cgroup ID (for the "
5563 "perf_event subsystem) is recorded. To get the pathname of the cgroup, the "
5564 "ID should match to one in a B<PERF_RECORD_CGROUP>."
5565 msgstr ""
5566
5567 #. type: TP
5568 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5569 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5570 #, no-wrap
5571 msgid "I<data_page_size>"
5572 msgstr ""
5573
5574 #. type: Plain text
5575 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5576 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5577 msgid ""
5578 "If the B<PERF_SAMPLE_DATA_PAGE_SIZE> flag is set, then the 64-bit page size "
5579 "value of the B<data> address is recorded."
5580 msgstr ""
5581
5582 #. type: TP
5583 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5584 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5585 #, no-wrap
5586 msgid "I<code_page_size>"
5587 msgstr ""
5588
5589 #. type: Plain text
5590 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5591 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5592 msgid ""
5593 "If the B<PERF_SAMPLE_CODE_PAGE_SIZE> flag is set, then the 64-bit page size "
5594 "value of the B<ip> address is recorded."
5595 msgstr ""
5596
5597 #. type: TQ
5598 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5599 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5600 #, no-wrap
5601 msgid "I<data>[I<size>]"
5602 msgstr ""
5603
5604 #. type: Plain text
5605 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5606 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5607 msgid ""
5608 "If B<PERF_SAMPLE_AUX> is enabled, a snapshot of the aux buffer is recorded."
5609 msgstr ""
5610
5611 #. type: TP
5612 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5613 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5614 #, no-wrap
5615 msgid "B<PERF_RECORD_MMAP2>"
5616 msgstr ""
5617
5618 #. type: Plain text
5619 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5620 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5621 msgid ""
5622 "This record includes extended information on B<mmap>(2) calls returning "
5623 "executable mappings. The format is similar to that of the "
5624 "B<PERF_RECORD_MMAP> record, but includes extra values that allow uniquely "
5625 "identifying shared mappings. Depending on the "
5626 "B<PERF_RECORD_MISC_MMAP_BUILD_ID> bit in the header, the extra values have "
5627 "different layout and meanings."
5628 msgstr ""
5629
5630 #. type: Plain text
5631 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5632 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5633 #, no-wrap
5634 msgid ""
5635 "struct {\n"
5636 " struct perf_event_header header;\n"
5637 " u32 pid;\n"
5638 " u32 tid;\n"
5639 " u64 addr;\n"
5640 " u64 len;\n"
5641 " u64 pgoff;\n"
5642 " union {\n"
5643 " struct {\n"
5644 " u32 maj;\n"
5645 " u32 min;\n"
5646 " u64 ino;\n"
5647 " u64 ino_generation;\n"
5648 " };\n"
5649 " struct { /* if PERF_RECORD_MISC_MMAP_BUILD_ID */\n"
5650 " u8 build_id_size;\n"
5651 " u8 __reserved_1;\n"
5652 " u16 __reserved_2;\n"
5653 " u8 build_id[20];\n"
5654 " };\n"
5655 " };\n"
5656 " u32 prot;\n"
5657 " u32 flags;\n"
5658 " char filename[];\n"
5659 " struct sample_id sample_id;\n"
5660 "};\n"
5661 msgstr ""
5662
5663 #. type: Plain text
5664 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5665 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5666 msgid "is the address of the allocated memory."
5667 msgstr ""
5668
5669 #. type: TP
5670 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5671 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5672 #, no-wrap
5673 msgid "I<len>"
5674 msgstr ""
5675
5676 #. type: Plain text
5677 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
5678 #: opensuse-leap-16-1 opensuse-tumbleweed
5679 msgid "is the size of the allocated memory."
5680 msgstr ""
5681
5682 #. type: TP
5683 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5684 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5685 #, no-wrap
5686 msgid "I<pgoff>"
5687 msgstr ""
5688
5689 #. type: Plain text
5690 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5691 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5692 msgid "is the page offset of the allocated memory."
5693 msgstr ""
5694
5695 #. type: TP
5696 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5697 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5698 #, no-wrap
5699 msgid "I<maj>"
5700 msgstr ""
5701
5702 #. type: Plain text
5703 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5704 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5705 msgid "is the major ID of the underlying device."
5706 msgstr ""
5707
5708 #. type: TP
5709 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5710 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5711 #, no-wrap
5712 msgid "I<min>"
5713 msgstr ""
5714
5715 #. type: Plain text
5716 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5717 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5718 msgid "is the minor ID of the underlying device."
5719 msgstr ""
5720
5721 #. type: TP
5722 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5723 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5724 #, no-wrap
5725 msgid "I<ino>"
5726 msgstr ""
5727
5728 #. type: Plain text
5729 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5730 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5731 msgid "is the inode number."
5732 msgstr ""
5733
5734 #. type: TP
5735 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5736 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5737 #, no-wrap
5738 msgid "I<ino_generation>"
5739 msgstr ""
5740
5741 #. type: Plain text
5742 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5743 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5744 msgid "is the inode generation."
5745 msgstr ""
5746
5747 #. type: TP
5748 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5749 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5750 #, no-wrap
5751 msgid "I<build_id_size>"
5752 msgstr ""
5753
5754 #. type: Plain text
5755 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5756 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5757 msgid "is the actual size of I<build_id> field (up to 20)."
5758 msgstr ""
5759
5760 #. type: TP
5761 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5762 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5763 #, no-wrap
5764 msgid "I<build_id>"
5765 msgstr ""
5766
5767 #. type: Plain text
5768 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5769 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5770 msgid "is a raw data to identify a binary."
5771 msgstr ""
5772
5773 #. type: TP
5774 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5775 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5776 #, no-wrap
5777 msgid "I<prot>"
5778 msgstr ""
5779
5780 #. type: Plain text
5781 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5782 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5783 msgid "is the protection information."
5784 msgstr ""
5785
5786 #. type: TP
5787 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5788 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5789 #, no-wrap
5790 msgid "I<flags>"
5791 msgstr ""
5792
5793 #. type: Plain text
5794 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5795 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5796 msgid "is the flags information."
5797 msgstr ""
5798
5799 #. type: TP
5800 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5801 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5802 #, no-wrap
5803 msgid "I<filename>"
5804 msgstr ""
5805
5806 #. type: Plain text
5807 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5808 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5809 msgid "is a string describing the backing of the allocated memory."
5810 msgstr ""
5811
5812 #. type: TP
5813 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5814 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5815 #, no-wrap
5816 msgid "B<PERF_RECORD_AUX> (since Linux 4.1)"
5817 msgstr ""
5818
5819 #. commit 68db7e98c3a6ebe7284b6cf14906ed7c55f3f7f0
5820 #. type: Plain text
5821 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5822 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5823 msgid ""
5824 "This record reports that new data is available in the separate AUX buffer "
5825 "region."
5826 msgstr ""
5827
5828 #. type: Plain text
5829 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5830 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5831 #, no-wrap
5832 msgid ""
5833 "struct {\n"
5834 " struct perf_event_header header;\n"
5835 " u64 aux_offset;\n"
5836 " u64 aux_size;\n"
5837 " u64 flags;\n"
5838 " struct sample_id sample_id;\n"
5839 "};\n"
5840 msgstr ""
5841
5842 #. type: Plain text
5843 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5844 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5845 msgid "offset in the AUX mmap region where the new data begins."
5846 msgstr ""
5847
5848 #. type: TP
5849 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5850 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5851 #, no-wrap
5852 msgid "I<aux_size>"
5853 msgstr ""
5854
5855 #. type: Plain text
5856 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5857 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5858 msgid "size of the data made available."
5859 msgstr ""
5860
5861 #. type: Plain text
5862 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5863 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5864 msgid "describes the AUX update."
5865 msgstr ""
5866
5867 #. type: TP
5868 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5869 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5870 #, no-wrap
5871 msgid "B<PERF_AUX_FLAG_TRUNCATED>"
5872 msgstr ""
5873
5874 #. type: Plain text
5875 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5876 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5877 msgid ""
5878 "if set, then the data returned was truncated to fit the available buffer "
5879 "size."
5880 msgstr ""
5881
5882 #. type: TP
5883 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5884 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5885 #, no-wrap
5886 msgid "B<PERF_AUX_FLAG_OVERWRITE>"
5887 msgstr ""
5888
5889 #. commit 2023a0d2829e521fe6ad6b9907f3f90bfbf57142
5890 #. type: Plain text
5891 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5892 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5893 msgid "if set, then the data returned has overwritten previous data."
5894 msgstr ""
5895
5896 #. type: TP
5897 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5898 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5899 #, no-wrap
5900 msgid "B<PERF_RECORD_ITRACE_START> (since Linux 4.1)"
5901 msgstr ""
5902
5903 #. ec0d7729bbaed4b9d2d3fada693278e13a3d1368
5904 #. type: Plain text
5905 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5906 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5907 msgid ""
5908 "This record indicates which process has initiated an instruction trace "
5909 "event, allowing tools to properly correlate the instruction addresses in the "
5910 "AUX buffer with the proper executable."
5911 msgstr ""
5912
5913 #. type: Plain text
5914 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5915 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5916 #, no-wrap
5917 msgid ""
5918 "struct {\n"
5919 " struct perf_event_header header;\n"
5920 " u32 pid;\n"
5921 " u32 tid;\n"
5922 "};\n"
5923 msgstr ""
5924
5925 #. type: Plain text
5926 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5927 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5928 msgid "process ID of the thread starting an instruction trace."
5929 msgstr ""
5930
5931 #. type: Plain text
5932 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5933 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5934 msgid "thread ID of the thread starting an instruction trace."
5935 msgstr ""
5936
5937 #. type: TP
5938 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5939 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5940 #, no-wrap
5941 msgid "B<PERF_RECORD_LOST_SAMPLES> (since Linux 4.2)"
5942 msgstr ""
5943
5944 #. f38b0dbb491a6987e198aa6b428db8692a6480f8
5945 #. type: Plain text
5946 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5947 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5948 msgid ""
5949 "When using hardware sampling (such as Intel PEBS) this record indicates some "
5950 "number of samples that may have been lost."
5951 msgstr ""
5952
5953 #. type: Plain text
5954 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5955 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5956 #, no-wrap
5957 msgid ""
5958 "struct {\n"
5959 " struct perf_event_header header;\n"
5960 " u64 lost;\n"
5961 " struct sample_id sample_id;\n"
5962 "};\n"
5963 msgstr ""
5964
5965 #. type: Plain text
5966 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5967 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5968 msgid "the number of potentially lost samples."
5969 msgstr ""
5970
5971 #. type: TP
5972 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5973 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5974 #, no-wrap
5975 msgid "B<PERF_RECORD_SWITCH> (since Linux 4.3)"
5976 msgstr ""
5977
5978 #. commit 45ac1403f564f411c6a383a2448688ba8dd705a4
5979 #. type: Plain text
5980 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5981 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5982 msgid ""
5983 "This record indicates a context switch has happened. The "
5984 "B<PERF_RECORD_MISC_SWITCH_OUT> bit in the I<misc> field indicates whether it "
5985 "was a context switch into or away from the current process."
5986 msgstr ""
5987
5988 #. type: Plain text
5989 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5990 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
5991 #, no-wrap
5992 msgid ""
5993 "struct {\n"
5994 " struct perf_event_header header;\n"
5995 " struct sample_id sample_id;\n"
5996 "};\n"
5997 msgstr ""
5998
5999 #. type: TP
6000 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6001 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6002 #, no-wrap
6003 msgid "B<PERF_RECORD_SWITCH_CPU_WIDE> (since Linux 4.3)"
6004 msgstr ""
6005
6006 #. commit 45ac1403f564f411c6a383a2448688ba8dd705a4
6007 #. type: Plain text
6008 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6009 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6010 msgid ""
6011 "As with B<PERF_RECORD_SWITCH> this record indicates a context switch has "
6012 "happened, but it only occurs when sampling in CPU-wide mode and provides "
6013 "additional information on the process being switched to/from. The "
6014 "B<PERF_RECORD_MISC_SWITCH_OUT> bit in the I<misc> field indicates whether it "
6015 "was a context switch into or away from the current process."
6016 msgstr ""
6017
6018 #. type: Plain text
6019 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6020 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6021 #, no-wrap
6022 msgid ""
6023 "struct {\n"
6024 " struct perf_event_header header;\n"
6025 " u32 next_prev_pid;\n"
6026 " u32 next_prev_tid;\n"
6027 " struct sample_id sample_id;\n"
6028 "};\n"
6029 msgstr ""
6030
6031 #. type: TP
6032 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6033 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6034 #, no-wrap
6035 msgid "I<next_prev_pid>"
6036 msgstr ""
6037
6038 #. type: Plain text
6039 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6040 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6041 msgid ""
6042 "The process ID of the previous (if switching in) or next (if switching out) "
6043 "process on the CPU."
6044 msgstr ""
6045
6046 #. type: TP
6047 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6048 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6049 #, no-wrap
6050 msgid "I<next_prev_tid>"
6051 msgstr ""
6052
6053 #. type: Plain text
6054 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6055 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6056 msgid ""
6057 "The thread ID of the previous (if switching in) or next (if switching out) "
6058 "thread on the CPU."
6059 msgstr ""
6060
6061 #. type: TP
6062 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6063 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6064 #, no-wrap
6065 msgid "B<PERF_RECORD_NAMESPACES> (since Linux 4.11)"
6066 msgstr ""
6067
6068 #. commit e422267322cd319e2695a535e47c5b1feeac45eb
6069 #. type: Plain text
6070 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6071 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6072 msgid "This record includes various namespace information of a process."
6073 msgstr ""
6074
6075 #. type: Plain text
6076 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6077 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6078 #, no-wrap
6079 msgid ""
6080 "struct {\n"
6081 " struct perf_event_header header;\n"
6082 " u32 pid;\n"
6083 " u32 tid;\n"
6084 " u64 nr_namespaces;\n"
6085 " struct { u64 dev, inode } [nr_namespaces];\n"
6086 " struct sample_id sample_id;\n"
6087 "};\n"
6088 msgstr ""
6089
6090 #. type: Plain text
6091 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6092 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6093 msgid "is the process ID"
6094 msgstr ""
6095
6096 #. type: Plain text
6097 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6098 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6099 msgid "is the thread ID"
6100 msgstr ""
6101
6102 #. type: TP
6103 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6104 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6105 #, no-wrap
6106 msgid "I<nr_namespace>"
6107 msgstr ""
6108
6109 #. type: Plain text
6110 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6111 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6112 msgid "is the number of namespaces in this record"
6113 msgstr ""
6114
6115 #. type: Plain text
6116 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6117 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6118 msgid ""
6119 "Each namespace has I<dev> and I<inode> fields and is recorded in the fixed "
6120 "position like below:"
6121 msgstr ""
6122
6123 #. type: TP
6124 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6125 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6126 #, no-wrap
6127 msgid "B<NET_NS_INDEX>=B<0>"
6128 msgstr ""
6129
6130 #. type: Plain text
6131 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6132 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6133 msgid "Network namespace"
6134 msgstr ""
6135
6136 #. type: TP
6137 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6138 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6139 #, no-wrap
6140 msgid "B<UTS_NS_INDEX>=B<1>"
6141 msgstr ""
6142
6143 #. type: Plain text
6144 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6145 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6146 msgid "UTS namespace"
6147 msgstr ""
6148
6149 #. type: TP
6150 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6151 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6152 #, no-wrap
6153 msgid "B<IPC_NS_INDEX>=B<2>"
6154 msgstr ""
6155
6156 #. type: Plain text
6157 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6158 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6159 msgid "IPC namespace"
6160 msgstr ""
6161
6162 #. type: TP
6163 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6164 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6165 #, no-wrap
6166 msgid "B<PID_NS_INDEX>=B<3>"
6167 msgstr ""
6168
6169 #. type: Plain text
6170 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6171 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6172 msgid "PID namespace"
6173 msgstr ""
6174
6175 #. type: TP
6176 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6177 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6178 #, no-wrap
6179 msgid "B<USER_NS_INDEX>=B<4>"
6180 msgstr ""
6181
6182 #. type: Plain text
6183 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6184 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6185 msgid "User namespace"
6186 msgstr ""
6187
6188 #. type: TP
6189 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6190 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6191 #, no-wrap
6192 msgid "B<MNT_NS_INDEX>=B<5>"
6193 msgstr ""
6194
6195 #. type: Plain text
6196 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6197 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6198 msgid "Mount namespace"
6199 msgstr ""
6200
6201 #. type: TP
6202 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6203 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6204 #, no-wrap
6205 msgid "B<CGROUP_NS_INDEX>=B<6>"
6206 msgstr ""
6207
6208 #. type: Plain text
6209 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6210 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6211 msgid "Cgroup namespace"
6212 msgstr ""
6213
6214 #. type: TP
6215 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6216 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6217 #, no-wrap
6218 msgid "B<PERF_RECORD_KSYMBOL> (since Linux 5.0)"
6219 msgstr ""
6220
6221 #. commit 76193a94522f1d4edf2447a536f3f796ce56343b
6222 #. type: Plain text
6223 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6224 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6225 msgid "This record indicates kernel symbol register/unregister events."
6226 msgstr ""
6227
6228 #. type: Plain text
6229 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6230 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6231 #, no-wrap
6232 msgid ""
6233 "struct {\n"
6234 " struct perf_event_header header;\n"
6235 " u64 addr;\n"
6236 " u32 len;\n"
6237 " u16 ksym_type;\n"
6238 " u16 flags;\n"
6239 " char name[];\n"
6240 " struct sample_id sample_id;\n"
6241 "};\n"
6242 msgstr ""
6243
6244 #. type: Plain text
6245 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6246 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6247 msgid "is the address of the kernel symbol."
6248 msgstr ""
6249
6250 #. type: Plain text
6251 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
6252 #: opensuse-leap-16-1 opensuse-tumbleweed
6253 msgid "is the size of the kernel symbol."
6254 msgstr ""
6255
6256 #. type: TP
6257 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6258 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6259 #, no-wrap
6260 msgid "I<ksym_type>"
6261 msgstr ""
6262
6263 #. type: Plain text
6264 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6265 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6266 msgid ""
6267 "is the type of the kernel symbol. Currently the following types are "
6268 "available:"
6269 msgstr ""
6270
6271 #. type: TP
6272 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6273 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6274 #, no-wrap
6275 msgid "B<PERF_RECORD_KSYMBOL_TYPE_BPF>"
6276 msgstr ""
6277
6278 #. type: Plain text
6279 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6280 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6281 msgid "The kernel symbol is a BPF function."
6282 msgstr ""
6283
6284 #. type: Plain text
6285 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6286 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6287 msgid ""
6288 "If the B<PERF_RECORD_KSYMBOL_FLAGS_UNREGISTER> is set, then this event is "
6289 "for unregistering the kernel symbol."
6290 msgstr ""
6291
6292 #. type: TP
6293 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6294 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6295 #, no-wrap
6296 msgid "B<PERF_RECORD_BPF_EVENT> (since Linux 5.0)"
6297 msgstr ""
6298
6299 #. commit 6ee52e2a3fe4ea35520720736e6791df1fb67106
6300 #. type: Plain text
6301 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6302 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6303 msgid "This record indicates BPF program is loaded or unloaded."
6304 msgstr ""
6305
6306 #. type: Plain text
6307 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6308 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6309 #, no-wrap
6310 msgid ""
6311 "struct {\n"
6312 " struct perf_event_header header;\n"
6313 " u16 type;\n"
6314 " u16 flags;\n"
6315 " u32 id;\n"
6316 " u8 tag[BPF_TAG_SIZE];\n"
6317 " struct sample_id sample_id;\n"
6318 "};\n"
6319 msgstr ""
6320
6321 #. type: Plain text
6322 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6323 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6324 msgid "is one of the following values:"
6325 msgstr ""
6326
6327 #. type: TP
6328 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6329 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6330 #, no-wrap
6331 msgid "B<PERF_BPF_EVENT_PROG_LOAD>"
6332 msgstr ""
6333
6334 #. type: Plain text
6335 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6336 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6337 msgid "A BPF program is loaded"
6338 msgstr ""
6339
6340 #. type: TP
6341 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6342 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6343 #, no-wrap
6344 msgid "B<PERF_BPF_EVENT_PROG_UNLOAD>"
6345 msgstr ""
6346
6347 #. type: Plain text
6348 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6349 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6350 msgid "A BPF program is unloaded"
6351 msgstr ""
6352
6353 #. type: Plain text
6354 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6355 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6356 msgid "is the ID of the BPF program."
6357 msgstr ""
6358
6359 #. type: TP
6360 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6361 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6362 #, no-wrap
6363 msgid "I<tag>"
6364 msgstr ""
6365
6366 #. type: Plain text
6367 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6368 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6369 msgid ""
6370 "is the tag of the BPF program. Currently, B<BPF_TAG_SIZE> is defined as 8."
6371 msgstr ""
6372
6373 #. type: TP
6374 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6375 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6376 #, no-wrap
6377 msgid "B<PERF_RECORD_CGROUP> (since Linux 5.7)"
6378 msgstr ""
6379
6380 #. commit 96aaab686505c449e24d76e76507290dcc30e008
6381 #. type: Plain text
6382 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6383 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6384 msgid "This record indicates a new cgroup is created and activated."
6385 msgstr ""
6386
6387 #. type: Plain text
6388 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6389 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6390 #, no-wrap
6391 msgid ""
6392 "struct {\n"
6393 " struct perf_event_header header;\n"
6394 " u64 id;\n"
6395 " char path[];\n"
6396 " struct sample_id sample_id;\n"
6397 "};\n"
6398 msgstr ""
6399
6400 #. type: Plain text
6401 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6402 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6403 msgid ""
6404 "is the cgroup identifier. This can be also retrieved by "
6405 "B<name_to_handle_at>(2) on the cgroup path (as a file handle)."
6406 msgstr ""
6407
6408 #. type: TP
6409 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6410 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6411 #, no-wrap
6412 msgid "I<path>"
6413 msgstr ""
6414
6415 #. type: Plain text
6416 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6417 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6418 msgid "is the path of the cgroup from the root."
6419 msgstr ""
6420
6421 #. type: TP
6422 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6423 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6424 #, no-wrap
6425 msgid "B<PERF_RECORD_TEXT_POKE> (since Linux 5.8)"
6426 msgstr ""
6427
6428 #. commit e17d43b93e544f5016c0251d2074c15568d5d963
6429 #. type: Plain text
6430 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
6431 #: opensuse-leap-16-1 opensuse-tumbleweed
6432 msgid ""
6433 "This record indicates a change in the kernel text. This includes addition "
6434 "and removal of the text and the corresponding size is zero in this case."
6435 msgstr ""
6436
6437 #. type: Plain text
6438 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6439 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6440 #, no-wrap
6441 msgid ""
6442 "struct {\n"
6443 " struct perf_event_header header;\n"
6444 " u64 addr;\n"
6445 " u16 old_len;\n"
6446 " u16 new_len;\n"
6447 " u8 bytes[];\n"
6448 " struct sample_id sample_id;\n"
6449 "};\n"
6450 msgstr ""
6451
6452 #. type: Plain text
6453 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6454 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6455 msgid "is the address of the change"
6456 msgstr ""
6457
6458 #. type: TP
6459 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6460 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6461 #, no-wrap
6462 msgid "I<old_len>"
6463 msgstr ""
6464
6465 #. type: Plain text
6466 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
6467 #: opensuse-leap-16-1 opensuse-tumbleweed
6468 msgid "is the old size"
6469 msgstr ""
6470
6471 #. type: TP
6472 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6473 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6474 #, no-wrap
6475 msgid "I<new_len>"
6476 msgstr ""
6477
6478 #. type: Plain text
6479 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
6480 #: opensuse-leap-16-1 opensuse-tumbleweed
6481 msgid "is the new size"
6482 msgstr ""
6483
6484 #. type: TP
6485 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6486 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6487 #, no-wrap
6488 msgid "I<bytes>"
6489 msgstr ""
6490
6491 #. type: Plain text
6492 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6493 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6494 msgid "contains old bytes immediately followed by new bytes."
6495 msgstr ""
6496
6497 #. type: SS
6498 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6499 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6500 #, no-wrap
6501 msgid "Overflow handling"
6502 msgstr ""
6503
6504 #. type: Plain text
6505 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6506 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6507 msgid ""
6508 "Events can be set to notify when a threshold is crossed, indicating an "
6509 "overflow. Overflow conditions can be captured by monitoring the event file "
6510 "descriptor with B<poll>(2), B<select>(2), or B<epoll>(7). Alternatively, "
6511 "the overflow events can be captured via sa signal handler, by enabling I/O "
6512 "signaling on the file descriptor; see the discussion of the B<F_SETOWN> and "
6513 "B<F_SETSIG> operations in B<fcntl>(2)."
6514 msgstr ""
6515
6516 #. type: Plain text
6517 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6518 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6519 msgid ""
6520 "Overflows are generated only by sampling events (I<sample_period> must have "
6521 "a nonzero value)."
6522 msgstr ""
6523
6524 #. type: Plain text
6525 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6526 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6527 msgid "There are two ways to generate overflow notifications."
6528 msgstr ""
6529
6530 #. type: Plain text
6531 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6532 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6533 msgid ""
6534 "The first is to set a I<wakeup_events> or I<wakeup_watermark> value that "
6535 "will trigger if a certain number of samples or bytes have been written to "
6536 "the mmap ring buffer. In this case, B<POLL_IN> is indicated."
6537 msgstr ""
6538
6539 #. type: Plain text
6540 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6541 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6542 msgid ""
6543 "The other way is by use of the B<PERF_EVENT_IOC_REFRESH> ioctl. This ioctl "
6544 "adds to a counter that decrements each time the event overflows. When "
6545 "nonzero, B<POLL_IN> is indicated, but once the counter reaches 0 B<POLL_HUP> "
6546 "is indicated and the underlying event is disabled."
6547 msgstr ""
6548
6549 #. See https://lkml.org/lkml/2011/5/24/337
6550 #. type: Plain text
6551 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6552 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6553 msgid ""
6554 "Refreshing an event group leader refreshes all siblings and refreshing with "
6555 "a parameter of 0 currently enables infinite refreshes; these behaviors are "
6556 "unsupported and should not be relied on."
6557 msgstr ""
6558
6559 #. commit 179033b3e064d2cd3f5f9945e76b0a0f0fbf4883
6560 #. type: Plain text
6561 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6562 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6563 msgid ""
6564 "Starting with Linux 3.18, B<POLL_HUP> is indicated if the event being "
6565 "monitored is attached to a different process and that process exits."
6566 msgstr ""
6567
6568 #. type: SS
6569 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6570 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6571 #, no-wrap
6572 msgid "rdpmc instruction"
6573 msgstr ""
6574
6575 #. commit c7206205d00ab375839bd6c7ddb247d600693c09
6576 #. type: Plain text
6577 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6578 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6579 msgid ""
6580 "Starting with Linux 3.4 on x86, you can use the I<rdpmc> instruction to get "
6581 "low-latency reads without having to enter the kernel. Note that using "
6582 "I<rdpmc> is not necessarily faster than other methods for reading event "
6583 "values."
6584 msgstr ""
6585
6586 #. type: Plain text
6587 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6588 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6589 msgid ""
6590 "Support for this can be detected with the I<cap_usr_rdpmc> field in the mmap "
6591 "page; documentation on how to calculate event values can be found in that "
6592 "section."
6593 msgstr ""
6594
6595 #. 7911d3f7af14a614617e38245fedf98a724e46a9
6596 #. type: Plain text
6597 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6598 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6599 msgid ""
6600 "Originally, when rdpmc support was enabled, any process (not just ones with "
6601 "an active perf event) could use the rdpmc instruction to access the "
6602 "counters. Starting with Linux 4.0, rdpmc support is only allowed if an "
6603 "event is currently enabled in a process's context. To restore the old "
6604 "behavior, write the value 2 to I</sys/devices/cpu/rdpmc>."
6605 msgstr ""
6606
6607 #. type: SS
6608 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6609 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6610 #, no-wrap
6611 msgid "perf_event ioctl calls"
6612 msgstr ""
6613
6614 #. type: Plain text
6615 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6616 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6617 msgid "Various ioctls act on B<perf_event_open>() file descriptors:"
6618 msgstr ""
6619
6620 #. type: TP
6621 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6622 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6623 #, no-wrap
6624 msgid "B<PERF_EVENT_IOC_ENABLE>"
6625 msgstr ""
6626
6627 #. type: Plain text
6628 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6629 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6630 msgid ""
6631 "This enables the individual event or event group specified by the file "
6632 "descriptor argument."
6633 msgstr ""
6634
6635 #. type: Plain text
6636 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6637 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6638 msgid ""
6639 "If the B<PERF_IOC_FLAG_GROUP> bit is set in the ioctl argument, then all "
6640 "events in a group are enabled, even if the event specified is not the group "
6641 "leader (but see BUGS)."
6642 msgstr ""
6643
6644 #. type: TP
6645 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6646 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6647 #, no-wrap
6648 msgid "B<PERF_EVENT_IOC_DISABLE>"
6649 msgstr ""
6650
6651 #. type: Plain text
6652 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6653 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6654 msgid ""
6655 "This disables the individual counter or event group specified by the file "
6656 "descriptor argument."
6657 msgstr ""
6658
6659 #. type: Plain text
6660 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6661 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6662 msgid ""
6663 "Enabling or disabling the leader of a group enables or disables the entire "
6664 "group; that is, while the group leader is disabled, none of the counters in "
6665 "the group will count. Enabling or disabling a member of a group other than "
6666 "the leader affects only that counter; disabling a non-leader stops that "
6667 "counter from counting but doesn't affect any other counter."
6668 msgstr ""
6669
6670 #. type: Plain text
6671 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6672 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6673 msgid ""
6674 "If the B<PERF_IOC_FLAG_GROUP> bit is set in the ioctl argument, then all "
6675 "events in a group are disabled, even if the event specified is not the group "
6676 "leader (but see BUGS)."
6677 msgstr ""
6678
6679 #. type: TP
6680 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6681 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6682 #, no-wrap
6683 msgid "B<PERF_EVENT_IOC_REFRESH>"
6684 msgstr ""
6685
6686 #. type: Plain text
6687 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6688 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6689 msgid ""
6690 "Non-inherited overflow counters can use this to enable a counter for a "
6691 "number of overflows specified by the argument, after which it is disabled. "
6692 "Subsequent calls of this ioctl add the argument value to the current count. "
6693 "An overflow notification with B<POLL_IN> set will happen on each overflow "
6694 "until the count reaches 0; when that happens a notification with B<POLL_HUP> "
6695 "set is sent and the event is disabled. Using an argument of 0 is considered "
6696 "undefined behavior."
6697 msgstr ""
6698
6699 #. type: TP
6700 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6701 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6702 #, no-wrap
6703 msgid "B<PERF_EVENT_IOC_RESET>"
6704 msgstr ""
6705
6706 #. type: Plain text
6707 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6708 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6709 msgid ""
6710 "Reset the event count specified by the file descriptor argument to zero. "
6711 "This resets only the counts; there is no way to reset the multiplexing "
6712 "I<time_enabled> or I<time_running> values."
6713 msgstr ""
6714
6715 #. type: Plain text
6716 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6717 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6718 msgid ""
6719 "If the B<PERF_IOC_FLAG_GROUP> bit is set in the ioctl argument, then all "
6720 "events in a group are reset, even if the event specified is not the group "
6721 "leader (but see BUGS)."
6722 msgstr ""
6723
6724 #. type: TP
6725 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6726 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6727 #, no-wrap
6728 msgid "B<PERF_EVENT_IOC_PERIOD>"
6729 msgstr ""
6730
6731 #. type: Plain text
6732 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6733 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6734 msgid "This updates the overflow period for the event."
6735 msgstr ""
6736
6737 #. commit 3581fe0ef37ce12ac7a4f74831168352ae848edc
6738 #. commit bad7192b842c83e580747ca57104dd51fe08c223
6739 #. type: Plain text
6740 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6741 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6742 msgid ""
6743 "Since Linux 3.7 (on ARM) and Linux 3.14 (all other architectures), the new "
6744 "period takes effect immediately. On older kernels, the new period did not "
6745 "take effect until after the next overflow."
6746 msgstr ""
6747
6748 #. type: Plain text
6749 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6750 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6751 msgid ""
6752 "The argument is a pointer to a 64-bit value containing the desired new "
6753 "period."
6754 msgstr ""
6755
6756 #. commit ad0cf3478de8677f720ee06393b3147819568d6a
6757 #. type: Plain text
6758 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6759 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6760 msgid ""
6761 "Prior to Linux 2.6.36, this ioctl always failed due to a bug in the kernel."
6762 msgstr ""
6763
6764 #. type: TP
6765 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6766 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6767 #, no-wrap
6768 msgid "B<PERF_EVENT_IOC_SET_OUTPUT>"
6769 msgstr ""
6770
6771 #. type: Plain text
6772 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6773 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6774 msgid ""
6775 "This tells the kernel to report event notifications to the specified file "
6776 "descriptor rather than the default one. The file descriptors must all be on "
6777 "the same CPU."
6778 msgstr ""
6779
6780 #. type: Plain text
6781 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6782 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6783 msgid ""
6784 "The argument specifies the desired file descriptor, or -1 if output should "
6785 "be ignored."
6786 msgstr ""
6787
6788 #. type: TP
6789 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6790 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6791 #, no-wrap
6792 msgid "B<PERF_EVENT_IOC_SET_FILTER> (since Linux 2.6.33)"
6793 msgstr ""
6794
6795 #. commit 6fb2915df7f0747d9044da9dbff5b46dc2e20830
6796 #. type: Plain text
6797 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6798 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6799 msgid "This adds an ftrace filter to this event."
6800 msgstr ""
6801
6802 #. type: Plain text
6803 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6804 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6805 msgid "The argument is a pointer to the desired ftrace filter."
6806 msgstr ""
6807
6808 #. type: TP
6809 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6810 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6811 #, no-wrap
6812 msgid "B<PERF_EVENT_IOC_ID> (since Linux 3.12)"
6813 msgstr ""
6814
6815 #. commit cf4957f17f2a89984915ea808876d9c82225b862
6816 #. type: Plain text
6817 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6818 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6819 msgid "This returns the event ID value for the given event file descriptor."
6820 msgstr ""
6821
6822 #. type: Plain text
6823 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6824 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6825 msgid ""
6826 "The argument is a pointer to a 64-bit unsigned integer to hold the result."
6827 msgstr ""
6828
6829 #. type: TP
6830 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6831 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6832 #, no-wrap
6833 msgid "B<PERF_EVENT_IOC_SET_BPF> (since Linux 4.1)"
6834 msgstr ""
6835
6836 #. commit 2541517c32be2531e0da59dfd7efc1ce844644f5
6837 #. type: Plain text
6838 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6839 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6840 msgid ""
6841 "This allows attaching a Berkeley Packet Filter (BPF) program to an existing "
6842 "kprobe tracepoint event. You need B<CAP_PERFMON> (since Linux 5.8) or "
6843 "B<CAP_SYS_ADMIN> privileges to use this ioctl."
6844 msgstr ""
6845
6846 #. type: Plain text
6847 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6848 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6849 msgid ""
6850 "The argument is a BPF program file descriptor that was created by a previous "
6851 "B<bpf>(2) system call."
6852 msgstr ""
6853
6854 #. type: TP
6855 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6856 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6857 #, no-wrap
6858 msgid "B<PERF_EVENT_IOC_PAUSE_OUTPUT> (since Linux 4.7)"
6859 msgstr ""
6860
6861 #. commit 86e7972f690c1017fd086cdfe53d8524e68c661c
6862 #. type: Plain text
6863 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6864 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6865 msgid ""
6866 "This allows pausing and resuming the event's ring-buffer. A paused ring-"
6867 "buffer does not prevent generation of samples, but simply discards them. "
6868 "The discarded samples are considered lost, and cause a B<PERF_RECORD_LOST> "
6869 "sample to be generated when possible. An overflow signal may still be "
6870 "triggered by the discarded sample even though the ring-buffer remains empty."
6871 msgstr ""
6872
6873 #. type: Plain text
6874 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6875 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6876 msgid ""
6877 "The argument is an unsigned 32-bit integer. A nonzero value pauses the ring-"
6878 "buffer, while a zero value resumes the ring-buffer."
6879 msgstr ""
6880
6881 #. type: TP
6882 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6883 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6884 #, no-wrap
6885 msgid "B<PERF_EVENT_MODIFY_ATTRIBUTES> (since Linux 4.17)"
6886 msgstr ""
6887
6888 #. commit 32ff77e8cc9e66cc4fb38098f64fd54cc8f54573
6889 #. type: Plain text
6890 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6891 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6892 msgid ""
6893 "This allows modifying an existing event without the overhead of closing and "
6894 "reopening a new event. Currently this is supported only for breakpoint "
6895 "events."
6896 msgstr ""
6897
6898 #. type: Plain text
6899 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6900 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6901 msgid ""
6902 "The argument is a pointer to a I<perf_event_attr> structure containing the "
6903 "updated event settings."
6904 msgstr ""
6905
6906 #. type: TP
6907 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6908 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6909 #, no-wrap
6910 msgid "B<PERF_EVENT_IOC_QUERY_BPF> (since Linux 4.16)"
6911 msgstr ""
6912
6913 #. commit f371b304f12e31fe30207c41ca7754564e0ea4dc
6914 #. type: Plain text
6915 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6916 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6917 msgid ""
6918 "This allows querying which Berkeley Packet Filter (BPF) programs are "
6919 "attached to an existing kprobe tracepoint. You can only attach one BPF "
6920 "program per event, but you can have multiple events attached to a "
6921 "tracepoint. Querying this value on one tracepoint event returns the ID of "
6922 "all BPF programs in all events attached to the tracepoint. You need "
6923 "B<CAP_PERFMON> (since Linux 5.8) or B<CAP_SYS_ADMIN> privileges to use this "
6924 "ioctl."
6925 msgstr ""
6926
6927 #. type: Plain text
6928 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6929 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6930 msgid "The argument is a pointer to a structure"
6931 msgstr ""
6932
6933 #. type: Plain text
6934 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6935 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6936 #, no-wrap
6937 msgid ""
6938 "struct perf_event_query_bpf {\n"
6939 " __u32 ids_len;\n"
6940 " __u32 prog_cnt;\n"
6941 " __u32 ids[0];\n"
6942 "};\n"
6943 msgstr ""
6944
6945 #. type: Plain text
6946 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6947 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6948 msgid ""
6949 "The I<ids_len> field indicates the number of ids that can fit in the "
6950 "provided I<ids> array. The I<prog_cnt> value is filled in by the kernel "
6951 "with the number of attached BPF programs. The I<ids> array is filled with "
6952 "the ID of each attached BPF program. If there are more programs than will "
6953 "fit in the array, then the kernel will return B<ENOSPC> and I<ids_len> will "
6954 "indicate the number of program IDs that were successfully copied."
6955 msgstr ""
6956
6957 #. type: SS
6958 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6959 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6960 #, no-wrap
6961 msgid "Using prctl(2)"
6962 msgstr ""
6963
6964 #. type: Plain text
6965 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6966 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6967 msgid ""
6968 "A process can enable or disable all currently open event groups using the "
6969 "B<prctl>(2) B<PR_TASK_PERF_EVENTS_ENABLE> and "
6970 "B<PR_TASK_PERF_EVENTS_DISABLE> operations. This applies only to events "
6971 "created locally by the calling process. This does not apply to events "
6972 "created by other processes attached to the calling process or inherited "
6973 "events from a parent process. Only group leaders are enabled and disabled, "
6974 "not any other members of the groups."
6975 msgstr ""
6976
6977 #. type: SS
6978 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6979 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6980 #, no-wrap
6981 msgid "perf_event related configuration files"
6982 msgstr ""
6983
6984 #. type: Plain text
6985 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6986 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6987 msgid "Files in I</proc/sys/kernel/>"
6988 msgstr ""
6989
6990 #. type: TP
6991 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6992 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
6993 #, no-wrap
6994 msgid "I</proc/sys/kernel/perf_event_paranoid>"
6995 msgstr ""
6996
6997 #. type: Plain text
6998 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6999 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7000 msgid ""
7001 "The I<perf_event_paranoid> file can be set to restrict access to the "
7002 "performance counters."
7003 msgstr ""
7004
7005 #. default changed in commit 0161028b7c8aebef64194d3d73e43bc3b53b5c66
7006 #. type: Plain text
7007 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7008 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7009 msgid "allow only user-space measurements (default since Linux 4.6)."
7010 msgstr ""
7011
7012 #. type: Plain text
7013 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7014 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7015 msgid "allow both kernel and user measurements (default before Linux 4.6)."
7016 msgstr ""
7017
7018 #. type: Plain text
7019 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7020 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7021 msgid "allow access to CPU-specific data but not raw tracepoint samples."
7022 msgstr ""
7023
7024 #. type: TP
7025 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7026 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7027 #, no-wrap
7028 msgid "B<-1>"
7029 msgstr ""
7030
7031 #. type: Plain text
7032 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7033 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7034 msgid "no restrictions."
7035 msgstr ""
7036
7037 #. type: Plain text
7038 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7039 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7040 msgid ""
7041 "The existence of the I<perf_event_paranoid> file is the official method for "
7042 "determining if a kernel supports B<perf_event_open>()."
7043 msgstr ""
7044
7045 #. type: TP
7046 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7047 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7048 #, no-wrap
7049 msgid "I</proc/sys/kernel/perf_event_max_sample_rate>"
7050 msgstr ""
7051
7052 #. type: Plain text
7053 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7054 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7055 msgid ""
7056 "This sets the maximum sample rate. Setting this too high can allow users to "
7057 "sample at a rate that impacts overall machine performance and potentially "
7058 "lock up the machine. The default value is 100000 (samples per second)."
7059 msgstr ""
7060
7061 #. type: TP
7062 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7063 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7064 #, no-wrap
7065 msgid "I</proc/sys/kernel/perf_event_max_stack>"
7066 msgstr ""
7067
7068 #. Introduced in c5dfd78eb79851e278b7973031b9ca363da87a7e
7069 #. type: Plain text
7070 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7071 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7072 msgid ""
7073 "This file sets the maximum depth of stack frame entries reported when "
7074 "generating a call trace."
7075 msgstr ""
7076
7077 #. type: TP
7078 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7079 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7080 #, no-wrap
7081 msgid "I</proc/sys/kernel/perf_event_mlock_kb>"
7082 msgstr ""
7083
7084 #. type: Plain text
7085 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7086 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7087 msgid ""
7088 "Maximum number of pages an unprivileged user can B<mlock>(2). The default "
7089 "is 516 (kB)."
7090 msgstr ""
7091
7092 #. type: Plain text
7093 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7094 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7095 msgid "Files in I</sys/bus/event_source/devices/>"
7096 msgstr ""
7097
7098 #. type: Plain text
7099 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7100 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7101 msgid ""
7102 "Since Linux 2.6.34, the kernel supports having multiple PMUs available for "
7103 "monitoring. Information on how to program these PMUs can be found under I</"
7104 "sys/bus/event_source/devices/>. Each subdirectory corresponds to a "
7105 "different PMU."
7106 msgstr ""
7107
7108 #. type: TP
7109 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7110 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7111 #, no-wrap
7112 msgid "I</sys/bus/event_source/devices/*/type> (since Linux 2.6.38)"
7113 msgstr ""
7114
7115 #. commit abe43400579d5de0078c2d3a760e6598e183f871
7116 #. type: Plain text
7117 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7118 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7119 msgid ""
7120 "This contains an integer that can be used in the I<type> field of "
7121 "I<perf_event_attr> to indicate that you wish to use this PMU."
7122 msgstr ""
7123
7124 #. type: TP
7125 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7126 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7127 #, no-wrap
7128 msgid "I</sys/bus/event_source/devices/cpu/rdpmc> (since Linux 3.4)"
7129 msgstr ""
7130
7131 #. commit 0c9d42ed4cee2aa1dfc3a260b741baae8615744f
7132 #. type: Plain text
7133 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7134 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7135 msgid ""
7136 "If this file is 1, then direct user-space access to the performance counter "
7137 "registers is allowed via the rdpmc instruction. This can be disabled by "
7138 "echoing 0 to the file."
7139 msgstr ""
7140
7141 #. a66734297f78707ce39d756b656bfae861d53f62
7142 #. 7911d3f7af14a614617e38245fedf98a724e46a9
7143 #. type: Plain text
7144 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7145 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7146 msgid ""
7147 "As of Linux 4.0 the behavior has changed, so that 1 now means only allow "
7148 "access to processes with active perf events, with 2 indicating the old allow-"
7149 "anyone-access behavior."
7150 msgstr ""
7151
7152 #. type: TP
7153 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7154 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7155 #, no-wrap
7156 msgid "I</sys/bus/event_source/devices/*/format/> (since Linux 3.4)"
7157 msgstr ""
7158
7159 #. commit 641cc938815dfd09f8fa1ec72deb814f0938ac33
7160 #. type: Plain text
7161 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7162 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7163 msgid ""
7164 "This subdirectory contains information on the architecture-specific "
7165 "subfields available for programming the various I<config> fields in the "
7166 "I<perf_event_attr> struct."
7167 msgstr ""
7168
7169 #. type: Plain text
7170 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7171 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7172 msgid ""
7173 "The content of each file is the name of the config field, followed by a "
7174 "colon, followed by a series of integer bit ranges separated by commas. For "
7175 "example, the file I<event> may contain the value I<config1:1,6-10,44> which "
7176 "indicates that event is an attribute that occupies bits 1,6\\[en]10, and 44 "
7177 "of I<perf_event_attr::config1>."
7178 msgstr ""
7179
7180 #. type: TP
7181 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7182 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7183 #, no-wrap
7184 msgid "I</sys/bus/event_source/devices/*/events/> (since Linux 3.4)"
7185 msgstr ""
7186
7187 #. commit 641cc938815dfd09f8fa1ec72deb814f0938ac33
7188 #. type: Plain text
7189 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7190 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7191 msgid ""
7192 "This subdirectory contains files with predefined events. The contents are "
7193 "strings describing the event settings expressed in terms of the fields found "
7194 "in the previously mentioned I<./format/> directory. These are not "
7195 "necessarily complete lists of all events supported by a PMU, but usually a "
7196 "subset of events deemed useful or interesting."
7197 msgstr ""
7198
7199 #. type: Plain text
7200 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7201 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7202 msgid ""
7203 "The content of each file is a list of attribute names separated by commas. "
7204 "Each entry has an optional value (either hex or decimal). If no value is "
7205 "specified, then it is assumed to be a single-bit field with a value of 1. "
7206 "An example entry may look like this: I<event=0x2,inv,ldlat=3>."
7207 msgstr ""
7208
7209 #. type: TP
7210 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7211 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7212 #, no-wrap
7213 msgid "I</sys/bus/event_source/devices/*/uevent>"
7214 msgstr ""
7215
7216 #. type: Plain text
7217 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7218 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7219 msgid ""
7220 "This file is the standard kernel device interface for injecting hotplug "
7221 "events."
7222 msgstr ""
7223
7224 #. type: TP
7225 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7226 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7227 #, no-wrap
7228 msgid "I</sys/bus/event_source/devices/*/cpumask> (since Linux 3.7)"
7229 msgstr ""
7230
7231 #. commit 314d9f63f385096580e9e2a06eaa0745d92fe4ac
7232 #. type: Plain text
7233 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7234 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7235 msgid ""
7236 "The I<cpumask> file contains a comma-separated list of integers that "
7237 "indicate a representative CPU number for each socket (package) on the "
7238 "motherboard. This is needed when setting up uncore or northbridge events, "
7239 "as those PMUs present socket-wide events."
7240 msgstr ""
7241
7242 #. type: SH
7243 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7244 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7245 #, no-wrap
7246 msgid "RETURN VALUE"
7247 msgstr ""
7248
7249 #. type: Plain text
7250 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7251 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7252 msgid ""
7253 "On success, B<perf_event_open>() returns the new file descriptor. On "
7254 "error, -1 is returned and I<errno> is set to indicate the error."
7255 msgstr ""
7256
7257 #. type: SH
7258 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7259 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7260 #, no-wrap
7261 msgid "ERRORS"
7262 msgstr ""
7263
7264 #. type: Plain text
7265 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7266 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7267 msgid ""
7268 "The errors returned by B<perf_event_open>() can be inconsistent, and may "
7269 "vary across processor architectures and performance monitoring units."
7270 msgstr ""
7271
7272 #. type: TP
7273 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7274 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7275 #, no-wrap
7276 msgid "B<E2BIG>"
7277 msgstr ""
7278
7279 #. type: Plain text
7280 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7281 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7282 msgid ""
7283 "Returned if the I<perf_event_attr> I<size> value is too small (smaller than "
7284 "B<PERF_ATTR_SIZE_VER0>), too big (larger than the page size), or larger than "
7285 "the kernel supports and the extra bytes are not zero. When B<E2BIG> is "
7286 "returned, the I<perf_event_attr> I<size> field is overwritten by the kernel "
7287 "to be the size of the structure it was expecting."
7288 msgstr ""
7289
7290 #. type: TP
7291 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7292 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7293 #, no-wrap
7294 msgid "B<EACCES>"
7295 msgstr ""
7296
7297 #. type: Plain text
7298 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7299 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7300 msgid ""
7301 "Returned when the requested event requires B<CAP_PERFMON> (since Linux 5.8) "
7302 "or B<CAP_SYS_ADMIN> permissions (or a more permissive perf_event paranoid "
7303 "setting). Some common cases where an unprivileged process may encounter "
7304 "this error: attaching to a process owned by a different user; monitoring all "
7305 "processes on a given CPU (i.e., specifying the I<pid> argument as -1); and "
7306 "not setting I<exclude_kernel> when the paranoid setting requires it."
7307 msgstr ""
7308
7309 #. type: TP
7310 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7311 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7312 #, no-wrap
7313 msgid "B<EBADF>"
7314 msgstr ""
7315
7316 #. type: Plain text
7317 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7318 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7319 msgid ""
7320 "Returned if the I<group_fd> file descriptor is not valid, or, if "
7321 "B<PERF_FLAG_PID_CGROUP> is set, the cgroup file descriptor in I<pid> is not "
7322 "valid."
7323 msgstr ""
7324
7325 #. type: TP
7326 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7327 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7328 #, no-wrap
7329 msgid "B<EBUSY> (since Linux 4.1)"
7330 msgstr ""
7331
7332 #. bed5b25ad9c8a2f5d735ef0bc746ec870c01c1b0
7333 #. type: Plain text
7334 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7335 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7336 msgid "Returned if another event already has exclusive access to the PMU."
7337 msgstr ""
7338
7339 #. type: TP
7340 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7341 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7342 #, no-wrap
7343 msgid "B<EFAULT>"
7344 msgstr ""
7345
7346 #. type: Plain text
7347 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7348 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7349 msgid "Returned if the I<attr> pointer points at an invalid memory address."
7350 msgstr ""
7351
7352 #. type: TP
7353 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7354 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7355 #, no-wrap
7356 msgid "B<EINTR>"
7357 msgstr ""
7358
7359 #. type: Plain text
7360 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7361 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7362 msgid "Returned when trying to mix perf and ftrace handling for a uprobe."
7363 msgstr ""
7364
7365 #. type: TP
7366 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7367 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7368 #, no-wrap
7369 msgid "B<EINVAL>"
7370 msgstr ""
7371
7372 #. type: Plain text
7373 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7374 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7375 msgid ""
7376 "Returned if the specified event is invalid. There are many possible reasons "
7377 "for this. A not-exhaustive list: I<sample_freq> is higher than the maximum "
7378 "setting; the I<cpu> to monitor does not exist; I<read_format> is out of "
7379 "range; I<sample_type> is out of range; the I<flags> value is out of range; "
7380 "I<exclusive> or I<pinned> set and the event is not a group leader; the event "
7381 "I<config> values are out of range or set reserved bits; the generic event "
7382 "selected is not supported; or there is not enough room to add the selected "
7383 "event."
7384 msgstr ""
7385
7386 #. type: TP
7387 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7388 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7389 #, no-wrap
7390 msgid "B<EMFILE>"
7391 msgstr ""
7392
7393 #. type: Plain text
7394 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7395 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7396 msgid ""
7397 "Each opened event uses one file descriptor. If a large number of events are "
7398 "opened, the per-process limit on the number of open file descriptors will be "
7399 "reached, and no more events can be created."
7400 msgstr ""
7401
7402 #. type: TP
7403 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7404 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7405 #, no-wrap
7406 msgid "B<ENODEV>"
7407 msgstr ""
7408
7409 #. type: Plain text
7410 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7411 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7412 msgid ""
7413 "Returned when the event involves a feature not supported by the current CPU."
7414 msgstr ""
7415
7416 #. type: TP
7417 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7418 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7419 #, no-wrap
7420 msgid "B<ENOENT>"
7421 msgstr ""
7422
7423 #. type: Plain text
7424 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7425 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7426 msgid ""
7427 "Returned if the I<type> setting is not valid. This error is also returned "
7428 "for some unsupported generic events."
7429 msgstr ""
7430
7431 #. type: TP
7432 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7433 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7434 #, no-wrap
7435 msgid "B<ENOSPC>"
7436 msgstr ""
7437
7438 #. commit aa2bc1ade59003a379ffc485d6da2d92ea3370a6
7439 #. type: Plain text
7440 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7441 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7442 msgid ""
7443 "Prior to Linux 3.3, if there was not enough room for the event, B<ENOSPC> "
7444 "was returned. In Linux 3.3, this was changed to B<EINVAL>. B<ENOSPC> is "
7445 "still returned if you try to add more breakpoint events than supported by "
7446 "the hardware."
7447 msgstr ""
7448
7449 #. type: TP
7450 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7451 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7452 #, no-wrap
7453 msgid "B<ENOSYS>"
7454 msgstr ""
7455
7456 #. type: Plain text
7457 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7458 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7459 msgid ""
7460 "Returned if B<PERF_SAMPLE_STACK_USER> is set in I<sample_type> and it is not "
7461 "supported by hardware."
7462 msgstr ""
7463
7464 #. type: TP
7465 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7466 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7467 #, no-wrap
7468 msgid "B<EOPNOTSUPP>"
7469 msgstr ""
7470
7471 #. type: Plain text
7472 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7473 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7474 msgid ""
7475 "Returned if an event requiring a specific hardware feature is requested but "
7476 "there is no hardware support. This includes requesting low-skid events if "
7477 "not supported, branch tracing if it is not available, sampling if no PMU "
7478 "interrupt is available, and branch stacks for software events."
7479 msgstr ""
7480
7481 #. type: TP
7482 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7483 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7484 #, no-wrap
7485 msgid "B<EOVERFLOW> (since Linux 4.8)"
7486 msgstr ""
7487
7488 #. 97c79a38cd454602645f0470ffb444b3b75ce574
7489 #. type: Plain text
7490 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7491 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7492 msgid ""
7493 "Returned if B<PERF_SAMPLE_CALLCHAIN> is requested and I<sample_max_stack> is "
7494 "larger than the maximum specified in I</proc/sys/kernel/"
7495 "perf_event_max_stack>."
7496 msgstr ""
7497
7498 #. type: TP
7499 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7500 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7501 #, no-wrap
7502 msgid "B<EPERM>"
7503 msgstr ""
7504
7505 #. type: Plain text
7506 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7507 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7508 msgid ""
7509 "Returned on many (but not all) architectures when an unsupported "
7510 "I<exclude_hv>, I<exclude_idle>, I<exclude_user>, or I<exclude_kernel> "
7511 "setting is specified."
7512 msgstr ""
7513
7514 #. commit a4e95fc2cbb31d70a65beffeaf8773f881328c34
7515 #. type: Plain text
7516 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7517 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7518 msgid ""
7519 "It can also happen, as with B<EACCES>, when the requested event requires "
7520 "B<CAP_PERFMON> (since Linux 5.8) or B<CAP_SYS_ADMIN> permissions (or a more "
7521 "permissive perf_event paranoid setting). This includes setting a breakpoint "
7522 "on a kernel address, and (since Linux 3.13) setting a kernel function-trace "
7523 "tracepoint."
7524 msgstr ""
7525
7526 #. type: TP
7527 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7528 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7529 #, no-wrap
7530 msgid "B<ESRCH>"
7531 msgstr ""
7532
7533 #. type: Plain text
7534 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7535 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7536 msgid "Returned if attempting to attach to a process that does not exist."
7537 msgstr ""
7538
7539 #. type: SH
7540 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7541 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7542 #, no-wrap
7543 msgid "STANDARDS"
7544 msgstr ""
7545
7546 #. type: Plain text
7547 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7548 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7549 msgid "Linux."
7550 msgstr ""
7551
7552 #. type: SH
7553 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7554 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7555 #, no-wrap
7556 msgid "HISTORY"
7557 msgstr ""
7558
7559 #. commit 0793a61d4df8daeac6492dbf8d2f3e5713caae5e
7560 #. commit cdd6c482c9ff9c55475ee7392ec8f672eddb7be6
7561 #. type: Plain text
7562 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7563 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7564 msgid ""
7565 "B<perf_event_open>() was introduced in Linux 2.6.31 but was called "
7566 "B<perf_counter_open>(). It was renamed in Linux 2.6.32."
7567 msgstr ""
7568
7569 #. type: SH
7570 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7571 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7572 #, no-wrap
7573 msgid "NOTES"
7574 msgstr ""
7575
7576 #. type: Plain text
7577 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7578 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7579 msgid ""
7580 "The official way of knowing if B<perf_event_open>() support is enabled is "
7581 "checking for the existence of the file I</proc/sys/kernel/"
7582 "perf_event_paranoid>."
7583 msgstr ""
7584
7585 #. type: Plain text
7586 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7587 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7588 msgid ""
7589 "B<CAP_PERFMON> capability (since Linux 5.8) provides secure approach to "
7590 "performance monitoring and observability operations in a system according to "
7591 "the principal of least privilege (POSIX IEEE 1003.1e). Accessing system "
7592 "performance monitoring and observability operations using B<CAP_PERFMON> "
7593 "rather than the much more powerful B<CAP_SYS_ADMIN> excludes chances to "
7594 "misuse credentials and makes operations more secure. B<CAP_SYS_ADMIN> usage "
7595 "for secure system performance monitoring and observability is discouraged in "
7596 "favor of the B<CAP_PERFMON> capability."
7597 msgstr ""
7598
7599 #. type: SH
7600 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7601 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7602 #, no-wrap
7603 msgid "BUGS"
7604 msgstr ""
7605
7606 #. commit ba0a6c9f6fceed11c6a99e8326f0477fe383e6b5
7607 #. type: Plain text
7608 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7609 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7610 msgid ""
7611 "The B<F_SETOWN_EX> option to B<fcntl>(2) is needed to properly get overflow "
7612 "signals in threads. This was introduced in Linux 2.6.32."
7613 msgstr ""
7614
7615 #. commit b690081d4d3f6a23541493f1682835c3cd5c54a1
7616 #. type: Plain text
7617 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7618 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7619 msgid ""
7620 "Prior to Linux 2.6.33 (at least for x86), the kernel did not check if events "
7621 "could be scheduled together until read time. The same happens on all known "
7622 "kernels if the NMI watchdog is enabled. This means to see if a given set of "
7623 "events works you have to B<perf_event_open>(), start, then read before you "
7624 "know for sure you can get valid measurements."
7625 msgstr ""
7626
7627 #. FIXME . cannot find a kernel commit for this one
7628 #. type: Plain text
7629 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7630 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7631 msgid ""
7632 "Prior to Linux 2.6.34, event constraints were not enforced by the kernel. "
7633 "In that case, some events would silently return \"0\" if the kernel "
7634 "scheduled them in an improper counter slot."
7635 msgstr ""
7636
7637 #. commit 45e16a6834b6af098702e5ea6c9a40de42ff77d8
7638 #. type: Plain text
7639 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7640 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7641 msgid ""
7642 "Prior to Linux 2.6.34, there was a bug when multiplexing where the wrong "
7643 "results could be returned."
7644 msgstr ""
7645
7646 #. commit 38b435b16c36b0d863efcf3f07b34a6fac9873fd
7647 #. type: Plain text
7648 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7649 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7650 msgid ""
7651 "Kernels from Linux 2.6.35 to Linux 2.6.39 can quickly crash the kernel if "
7652 "\"inherit\" is enabled and many threads are started."
7653 msgstr ""
7654
7655 #. commit 050735b08ca8a016bbace4445fa025b88fee770b
7656 #. type: Plain text
7657 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7658 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7659 msgid ""
7660 "Prior to Linux 2.6.35, B<PERF_FORMAT_GROUP> did not work with attached "
7661 "processes."
7662 msgstr ""
7663
7664 #. commit 4ec8363dfc1451f8c8f86825731fe712798ada02
7665 #. type: Plain text
7666 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7667 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7668 msgid ""
7669 "There is a bug in the kernel code between Linux 2.6.36 and Linux 3.0 that "
7670 "ignores the \"watermark\" field and acts as if a wakeup_event was chosen if "
7671 "the union has a nonzero value in it."
7672 msgstr ""
7673
7674 #. commit 724b6daa13e100067c30cfc4d1ad06629609dc4e
7675 #. type: Plain text
7676 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7677 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7678 msgid ""
7679 "From Linux 2.6.31 to Linux 3.4, the B<PERF_IOC_FLAG_GROUP> ioctl argument "
7680 "was broken and would repeatedly operate on the event specified rather than "
7681 "iterating across all sibling events in a group."
7682 msgstr ""
7683
7684 #. commit fa7315871046b9a4c48627905691dbde57e51033
7685 #. type: Plain text
7686 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7687 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7688 msgid ""
7689 "From Linux 3.4 to Linux 3.11, the mmap I<cap_usr_rdpmc> and I<cap_usr_time> "
7690 "bits mapped to the same location. Code should migrate to the new "
7691 "I<cap_user_rdpmc> and I<cap_user_time> fields instead."
7692 msgstr ""
7693
7694 #. commit f287d332ce835f77a4f5077d2c0ef1e3f9ea42d2
7695 #. type: Plain text
7696 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7697 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7698 msgid ""
7699 "Always double-check your results! Various generalized events have had wrong "
7700 "values. For example, retired branches measured the wrong thing on AMD "
7701 "machines until Linux 2.6.35."
7702 msgstr ""
7703
7704 #. type: SH
7705 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7706 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7707 #, no-wrap
7708 msgid "EXAMPLES"
7709 msgstr ""
7710
7711 #. type: Plain text
7712 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7713 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7714 msgid ""
7715 "The following is a short example that measures the total instruction count "
7716 "of a call to B<printf>(3)."
7717 msgstr ""
7718
7719 #. type: Plain text
7720 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
7721 #: opensuse-leap-16-1 opensuse-tumbleweed
7722 #, no-wrap
7723 msgid ""
7724 "#include E<lt>err.hE<gt>\n"
7725 "#include E<lt>linux/perf_event.hE<gt>\n"
7726 "#include E<lt>stdio.hE<gt>\n"
7727 "#include E<lt>stdlib.hE<gt>\n"
7728 "#include E<lt>string.hE<gt>\n"
7729 "#include E<lt>sys/ioctl.hE<gt>\n"
7730 "#include E<lt>sys/syscall.hE<gt>\n"
7731 "#include E<lt>sys/types.hE<gt>\n"
7732 "#include E<lt>unistd.hE<gt>\n"
7733 "\\&\n"
7734 "static long\n"
7735 "perf_event_open(struct perf_event_attr *hw_event, pid_t pid,\n"
7736 " int cpu, int group_fd, unsigned long flags)\n"
7737 "{\n"
7738 " int ret;\n"
7739 "\\&\n"
7740 " ret = syscall(SYS_perf_event_open, hw_event, pid, cpu,\n"
7741 " group_fd, flags);\n"
7742 " return ret;\n"
7743 "}\n"
7744 "\\&\n"
7745 "int\n"
7746 "main(void)\n"
7747 "{\n"
7748 " int fd;\n"
7749 " long long count;\n"
7750 " struct perf_event_attr pe;\n"
7751 "\\&\n"
7752 " memset(&pe, 0, sizeof(pe));\n"
7753 " pe.type = PERF_TYPE_HARDWARE;\n"
7754 " pe.size = sizeof(pe);\n"
7755 " pe.config = PERF_COUNT_HW_INSTRUCTIONS;\n"
7756 " pe.disabled = 1;\n"
7757 " pe.exclude_kernel = 1;\n"
7758 " pe.exclude_hv = 1;\n"
7759 "\\&\n"
7760 " fd = perf_event_open(&pe, 0, -1, -1, 0);\n"
7761 " if (fd == -1)\n"
7762 " err(EXIT_FAILURE, \"Error opening leader %llx\\[rs]n\", pe.config);\n"
7763 "\\&\n"
7764 " if (ioctl(fd, PERF_EVENT_IOC_RESET, 0) == -1)\n"
7765 " err(EXIT_FAILURE, \"PERF_EVENT_IOC_RESET\");\n"
7766 " if (ioctl(fd, PERF_EVENT_IOC_ENABLE, 0) == -1)\n"
7767 " err(EXIT_FAILURE, \"PERF_EVENT_IOC_ENABLE\");\n"
7768 "\\&\n"
7769 " printf(\"Measuring instruction count for this printf\\[rs]n\");\n"
7770 "\\&\n"
7771 " if (ioctl(fd, PERF_EVENT_IOC_DISABLE, 0) == -1)\n"
7772 " err(EXIT_FAILURE, \"PERF_EVENT_IOC_DISABLE\");\n"
7773 " if (read(fd, &count, sizeof(count)) != sizeof(count))\n"
7774 " err(EXIT_FAILURE, \"read\");\n"
7775 "\\&\n"
7776 " printf(\"Used %lld instructions\\[rs]n\", count);\n"
7777 "\\&\n"
7778 " if (close(fd) == -1)\n"
7779 " err(EXIT_FAILURE, \"close\");\n"
7780 "}\n"
7781 msgstr ""
7782
7783 #. SRC END
7784 #. type: SH
7785 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7786 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7787 #, no-wrap
7788 msgid "SEE ALSO"
7789 msgstr ""
7790
7791 #. type: Plain text
7792 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7793 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7794 msgid ""
7795 "B<perf>(1), B<fcntl>(2), B<mmap>(2), B<open>(2), B<prctl>(2), B<read>(2)"
7796 msgstr ""
7797
7798 #. type: Plain text
7799 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7800 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
7801 msgid ""
7802 "I<Documentation/admin-guide/perf-security.rst> in the kernel source tree"
7803 msgstr ""
7804
7805 #. type: TH
7806 #: debian-trixie
7807 #, no-wrap
7808 msgid "2024-06-15"
7809 msgstr ""
7810
7811 #. type: TH
7812 #: debian-trixie
7813 #, no-wrap
7814 msgid "Linux man-pages 6.9.1"
7815 msgstr ""
7816
7817 #. type: Plain text
7818 #: debian-trixie
7819 msgid "Standard C library (I<libc>, I<-lc>)"
7820 msgstr ""
7821
7822 #. type: Plain text
7823 #: debian-trixie fedora-44 fedora-rawhide
7824 msgid ""
7825 "When I<pid> is greater than zero, permission to perform this system call is "
7826 "governed by B<CAP_PERFMON> (since Linux 5.9) and a ptrace access mode "
7827 "B<PTRACE_MODE_READ_REALCREDS> check on older Linux versions; see "
7828 "B<ptrace>(2)."
7829 msgstr ""
7830
7831 #. type: Plain text
7832 #: debian-trixie
7833 #, no-wrap
7834 msgid ""
7835 "struct perf_event_attr {\n"
7836 " __u32 type; /* Type of event */\n"
7837 " __u32 size; /* Size of attribute structure */\n"
7838 " __u64 config; /* Type-specific configuration */\n"
7839 "\\&\n"
7840 " union {\n"
7841 " __u64 sample_period; /* Period of sampling */\n"
7842 " __u64 sample_freq; /* Frequency of sampling */\n"
7843 " };\n"
7844 "\\&\n"
7845 " __u64 sample_type; /* Specifies values included in sample */\n"
7846 " __u64 read_format; /* Specifies values returned in read */\n"
7847 "\\&\n"
7848 " __u64 disabled : 1, /* off by default */\n"
7849 " inherit : 1, /* children inherit it */\n"
7850 " pinned : 1, /* must always be on PMU */\n"
7851 " exclusive : 1, /* only group on PMU */\n"
7852 " exclude_user : 1, /* don\\[aq]t count user */\n"
7853 " exclude_kernel : 1, /* don\\[aq]t count kernel */\n"
7854 " exclude_hv : 1, /* don\\[aq]t count hypervisor */\n"
7855 " exclude_idle : 1, /* don\\[aq]t count when idle */\n"
7856 " mmap : 1, /* include mmap data */\n"
7857 " comm : 1, /* include comm data */\n"
7858 " freq : 1, /* use freq, not period */\n"
7859 " inherit_stat : 1, /* per task counts */\n"
7860 " enable_on_exec : 1, /* next exec enables */\n"
7861 " task : 1, /* trace fork/exit */\n"
7862 " watermark : 1, /* wakeup_watermark */\n"
7863 " precise_ip : 2, /* skid constraint */\n"
7864 " mmap_data : 1, /* non-exec mmap data */\n"
7865 " sample_id_all : 1, /* sample_type all events */\n"
7866 " exclude_host : 1, /* don\\[aq]t count in host */\n"
7867 " exclude_guest : 1, /* don\\[aq]t count in guest */\n"
7868 " exclude_callchain_kernel : 1,\n"
7869 " /* exclude kernel callchains */\n"
7870 " exclude_callchain_user : 1,\n"
7871 " /* exclude user callchains */\n"
7872 " mmap2 : 1, /* include mmap with inode data */\n"
7873 " comm_exec : 1, /* flag comm events that are\n"
7874 " due to exec */\n"
7875 " use_clockid : 1, /* use clockid for time fields */\n"
7876 " context_switch : 1, /* context switch data */\n"
7877 " write_backward : 1, /* Write ring buffer from end\n"
7878 " to beginning */\n"
7879 " namespaces : 1, /* include namespaces data */\n"
7880 " ksymbol : 1, /* include ksymbol events */\n"
7881 " bpf_event : 1, /* include bpf events */\n"
7882 " aux_output : 1, /* generate AUX records\n"
7883 " instead of events */\n"
7884 " cgroup : 1, /* include cgroup events */\n"
7885 " text_poke : 1, /* include text poke events */\n"
7886 " build_id : 1, /* use build id in mmap2 events */\n"
7887 " inherit_thread : 1, /* children only inherit */\n"
7888 " /* if cloned with CLONE_THREAD */\n"
7889 " remove_on_exec : 1, /* event is removed from task\n"
7890 " on exec */\n"
7891 " sigtrap : 1, /* send synchronous SIGTRAP\n"
7892 " on event */\n"
7893 "\\&\n"
7894 " __reserved_1 : 26;\n"
7895 "\\&\n"
7896 " union {\n"
7897 " __u32 wakeup_events; /* wakeup every n events */\n"
7898 " __u32 wakeup_watermark; /* bytes before wakeup */\n"
7899 " };\n"
7900 "\\&\n"
7901 " __u32 bp_type; /* breakpoint type */\n"
7902 "\\&\n"
7903 " union {\n"
7904 " __u64 bp_addr; /* breakpoint address */\n"
7905 " __u64 kprobe_func; /* for perf_kprobe */\n"
7906 " __u64 uprobe_path; /* for perf_uprobe */\n"
7907 " __u64 config1; /* extension of config */\n"
7908 " };\n"
7909 "\\&\n"
7910 " union {\n"
7911 " __u64 bp_len; /* breakpoint length */\n"
7912 " __u64 kprobe_addr; /* with kprobe_func == NULL */\n"
7913 " __u64 probe_offset; /* for perf_[k,u]probe */\n"
7914 " __u64 config2; /* extension of config1 */\n"
7915 " };\n"
7916 " __u64 branch_sample_type; /* enum perf_branch_sample_type */\n"
7917 " __u64 sample_regs_user; /* user regs to dump on samples */\n"
7918 " __u32 sample_stack_user; /* size of stack to dump on\n"
7919 " samples */\n"
7920 " __s32 clockid; /* clock to use for time fields */\n"
7921 " __u64 sample_regs_intr; /* regs to dump on samples */\n"
7922 " __u32 aux_watermark; /* aux bytes before wakeup */\n"
7923 " __u16 sample_max_stack; /* max frames in callchain */\n"
7924 " __u16 __reserved_2; /* align to u64 */\n"
7925 " __u32 aux_sample_size; /* max aux sample size */\n"
7926 " __u32 __reserved_3; /* align to u64 */\n"
7927 " __u64 sig_data; /* user data for sigtrap */\n"
7928 "\\&\n"
7929 "};\n"
7930 msgstr ""
7931
7932 #. type: TP
7933 #: debian-trixie
7934 #, no-wrap
7935 msgid "B<kprobe> and B<uprobe> (since Linux 4.17)"
7936 msgstr ""
7937
7938 #. type: Plain text
7939 #: debian-trixie fedora-44 fedora-rawhide
7940 msgid ""
7941 "Cache accesses. Usually this indicates Last Level Cache accesses but this "
7942 "may vary depending on your CPU. This may include prefetches and coherency "
7943 "messages; again this depends on the design of your CPU."
7944 msgstr ""
7945
7946 #. type: Plain text
7947 #: debian-trixie fedora-44 fedora-rawhide
7948 msgid ""
7949 "If I<type> is B<PERF_TYPE_RAW>, then a custom \"raw\" I<config> value is "
7950 "needed. Most CPUs support events that are not covered by the "
7951 "\"generalized\" events. These are implementation defined; see your CPU "
7952 "manual (for example the Intel Volume 3B documentation or the AMD BIOS and "
7953 "Kernel Developer Guide). The libpfm4 library can be used to translate from "
7954 "the name in the architectural manuals to the raw hex value "
7955 "B<perf_event_open>() expects in this field."
7956 msgstr ""
7957
7958 #. type: Plain text
7959 #: debian-trixie
7960 msgid ""
7961 "Inherit does not work for some combinations of I<read_format> values, such "
7962 "as B<PERF_FORMAT_GROUP>."
7963 msgstr ""
7964
7965 #. commit 24f1e32c60c45c89a997c73395b69c8af6f0a84e
7966 #. type: Plain text
7967 #: debian-trixie
7968 msgid ""
7969 "I<bp_len> is the length of the breakpoint being measured if I<type> is "
7970 "B<PERF_TYPE_BREAKPOINT>. Options are B<HW_BREAKPOINT_LEN_1>, "
7971 "B<HW_BREAKPOINT_LEN_2>, B<HW_BREAKPOINT_LEN_4>, and B<HW_BREAKPOINT_LEN_8>. "
7972 "For an execution breakpoint, set this to I<sizeof(long)>."
7973 msgstr ""
7974
7975 #. type: Plain text
7976 #: debian-trixie fedora-44 fedora-rawhide
7977 #, no-wrap
7978 msgid ""
7979 "pmc E<lt>E<lt>= 64 - pmc_width;\n"
7980 "pmc E<gt>E<gt>= 64 - pmc_width; // signed shift right\n"
7981 "count += pmc;\n"
7982 msgstr ""
7983
7984 #. type: Plain text
7985 #: debian-trixie
7986 msgid ""
7987 "is the address of the allocated memory. I<len> is the length of the "
7988 "allocated memory. I<pgoff> is the page offset of the allocated memory. "
7989 "I<filename> is a string describing the backing of the allocated memory."
7990 msgstr ""
7991
7992 #. type: Plain text
7993 #: debian-trixie
7994 msgid ""
7995 "If B<PERF_SAMPLE_RAW> is enabled, then a 32-bit value indicating size is "
7996 "included followed by an array of 8-bit values of length size. The values "
7997 "are padded with 0 to have 64-bit alignment."
7998 msgstr ""
7999
8000 #. type: Plain text
8001 #: debian-trixie
8002 msgid "is the length of the allocated memory."
8003 msgstr ""
8004
8005 #. type: Plain text
8006 #: debian-trixie
8007 msgid "is the length of the kernel symbol."
8008 msgstr ""
8009
8010 #. commit e17d43b93e544f5016c0251d2074c15568d5d963
8011 #. type: Plain text
8012 #: debian-trixie
8013 msgid ""
8014 "This record indicates a change in the kernel text. This includes addition "
8015 "and removal of the text and the corresponding length is zero in this case."
8016 msgstr ""
8017
8018 #. type: Plain text
8019 #: debian-trixie
8020 msgid "is the old length"
8021 msgstr ""
8022
8023 #. type: Plain text
8024 #: debian-trixie
8025 msgid "is the new length"
8026 msgstr ""
8027
8028 #. type: Plain text
8029 #: debian-trixie
8030 #, no-wrap
8031 msgid ""
8032 "#include E<lt>linux/perf_event.hE<gt>\n"
8033 "#include E<lt>stdio.hE<gt>\n"
8034 "#include E<lt>stdlib.hE<gt>\n"
8035 "#include E<lt>string.hE<gt>\n"
8036 "#include E<lt>sys/ioctl.hE<gt>\n"
8037 "#include E<lt>sys/syscall.hE<gt>\n"
8038 "#include E<lt>sys/types.hE<gt>\n"
8039 "#include E<lt>unistd.hE<gt>\n"
8040 "\\&\n"
8041 "static long\n"
8042 "perf_event_open(struct perf_event_attr *hw_event, pid_t pid,\n"
8043 " int cpu, int group_fd, unsigned long flags)\n"
8044 "{\n"
8045 " int ret;\n"
8046 "\\&\n"
8047 " ret = syscall(SYS_perf_event_open, hw_event, pid, cpu,\n"
8048 " group_fd, flags);\n"
8049 " return ret;\n"
8050 "}\n"
8051 "\\&\n"
8052 "int\n"
8053 "main(void)\n"
8054 "{\n"
8055 " int fd;\n"
8056 " long long count;\n"
8057 " struct perf_event_attr pe;\n"
8058 "\\&\n"
8059 " memset(&pe, 0, sizeof(pe));\n"
8060 " pe.type = PERF_TYPE_HARDWARE;\n"
8061 " pe.size = sizeof(pe);\n"
8062 " pe.config = PERF_COUNT_HW_INSTRUCTIONS;\n"
8063 " pe.disabled = 1;\n"
8064 " pe.exclude_kernel = 1;\n"
8065 " pe.exclude_hv = 1;\n"
8066 "\\&\n"
8067 " fd = perf_event_open(&pe, 0, -1, -1, 0);\n"
8068 " if (fd == -1) {\n"
8069 " fprintf(stderr, \"Error opening leader %llx\\[rs]n\", pe.config);\n"
8070 " exit(EXIT_FAILURE);\n"
8071 " }\n"
8072 "\\&\n"
8073 " ioctl(fd, PERF_EVENT_IOC_RESET, 0);\n"
8074 " ioctl(fd, PERF_EVENT_IOC_ENABLE, 0);\n"
8075 "\\&\n"
8076 " printf(\"Measuring instruction count for this printf\\[rs]n\");\n"
8077 "\\&\n"
8078 " ioctl(fd, PERF_EVENT_IOC_DISABLE, 0);\n"
8079 " read(fd, &count, sizeof(count));\n"
8080 "\\&\n"
8081 " printf(\"Used %lld instructions\\[rs]n\", count);\n"
8082 "\\&\n"
8083 " close(fd);\n"
8084 "}\n"
8085 msgstr ""
8086
8087 #. type: TH
8088 #: fedora-44 fedora-rawhide
8089 #, no-wrap
8090 msgid "2024-11-17"
8091 msgstr ""
8092
8093 #. type: TH
8094 #: fedora-44 fedora-rawhide
8095 #, no-wrap
8096 msgid "Linux man-pages 6.13"
8097 msgstr ""
8098
8099 #. type: TH
8100 #: mageia-cauldron
8101 #, no-wrap
8102 msgid "Linux man-pages 6.17"
8103 msgstr ""
8104
8105 #. type: TH
8106 #: opensuse-leap-16-1 opensuse-tumbleweed
8107 #, no-wrap
8108 msgid "Linux man-pages (unreleased)"
8109 msgstr ""