diff options
Diffstat (limited to 'templates/man2/perf_event_open.2.pot')
-rw-r--r-- | templates/man2/perf_event_open.2.pot | 208 |
1 files changed, 148 insertions, 60 deletions
diff --git a/templates/man2/perf_event_open.2.pot b/templates/man2/perf_event_open.2.pot index f884dc9a..f928487d 100644 --- a/templates/man2/perf_event_open.2.pot +++ b/templates/man2/perf_event_open.2.pot @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2024-03-09 15:42+0100\n" +"POT-Creation-Date: 2024-06-01 06:08+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -24,15 +24,15 @@ msgid "perf_event_open" msgstr "" #. type: TH -#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#: archlinux debian-unstable opensuse-tumbleweed #, no-wrap -msgid "2023-11-19" +msgid "2024-05-02" msgstr "" #. type: TH -#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#: archlinux debian-unstable #, no-wrap -msgid "Linux man-pages 6.06" +msgid "Linux man-pages 6.8" msgstr "" #. type: SH @@ -104,10 +104,11 @@ msgid "DESCRIPTION" msgstr "" #. type: Plain text -#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "Given a list of parameters, B<perf_event_open>() returns a file descriptor, " -"for use in subsequent system calls ( B<read>(2), B<mmap>(2), B<prctl>(2), " +"for use in subsequent system calls (B<read>(2), B<mmap>(2), B<prctl>(2), " "B<fcntl>(2), etc.)." msgstr "" @@ -1262,25 +1263,29 @@ msgid "" msgstr "" #. type: TP -#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-tumbleweed #, no-wrap msgid "I<kprobe_func>" msgstr "" #. type: TQ -#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-tumbleweed #, no-wrap msgid "I<uprobe_path>" msgstr "" #. type: TQ -#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-tumbleweed #, no-wrap msgid "I<kprobe_addr>" msgstr "" #. type: TQ -#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-tumbleweed #, no-wrap msgid "I<probe_offset>" msgstr "" @@ -1296,13 +1301,15 @@ msgid "" msgstr "" #. type: TP -#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-tumbleweed #, no-wrap msgid "I<sample_period>" msgstr "" #. type: TQ -#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-tumbleweed #, no-wrap msgid "I<sample_freq>" msgstr "" @@ -2584,13 +2591,15 @@ msgid "" msgstr "" #. type: TP -#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-tumbleweed #, no-wrap msgid "I<wakeup_events>" msgstr "" #. type: TQ -#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-tumbleweed #, no-wrap msgid "I<wakeup_watermark>" msgstr "" @@ -3618,19 +3627,22 @@ msgid "" msgstr "" #. type: TP -#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-tumbleweed #, no-wrap msgid "I<time_shift>" msgstr "" #. type: TQ -#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-tumbleweed #, no-wrap msgid "I<time_mult>" msgstr "" #. type: TQ -#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-tumbleweed #, no-wrap msgid "I<time_offset>" msgstr "" @@ -3794,13 +3806,15 @@ msgid "Contains the size of the perf sample region within the mmap buffer." msgstr "" #. type: TP -#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-tumbleweed #, no-wrap msgid "I<aux_head>" msgstr "" #. type: TQ -#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-tumbleweed #, no-wrap msgid "I<aux_tail>" msgstr "" @@ -3813,7 +3827,8 @@ msgid "I<aux_offset>" msgstr "" #. type: TQ -#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-tumbleweed #, no-wrap msgid "I<aux_size (since Linux 4.1)>" msgstr "" @@ -4337,13 +4352,15 @@ msgid "" msgstr "" #. type: TP -#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-tumbleweed #, no-wrap msgid "B<PERF_RECORD_THROTTLE>" msgstr "" #. type: TQ -#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-tumbleweed #, no-wrap msgid "B<PERF_RECORD_UNTHROTTLE>" msgstr "" @@ -4561,13 +4578,15 @@ msgid "" msgstr "" #. type: TP -#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-tumbleweed #, no-wrap msgid "I<cpu>" msgstr "" #. type: TQ -#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-tumbleweed #, no-wrap msgid "I<res>" msgstr "" @@ -4613,7 +4632,8 @@ msgid "" msgstr "" #. type: TQ -#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-tumbleweed #, no-wrap msgid "I<ips[nr]>" msgstr "" @@ -4628,7 +4648,8 @@ msgid "" msgstr "" #. type: TQ -#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-tumbleweed #, no-wrap msgid "I<data[size]>" msgstr "" @@ -4652,13 +4673,15 @@ msgid "" msgstr "" #. type: TP -#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-tumbleweed #, no-wrap msgid "I<bnr>" msgstr "" #. type: TQ -#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-tumbleweed #, no-wrap msgid "I<lbr[bnr]>" msgstr "" @@ -4793,13 +4816,15 @@ msgid "" msgstr "" #. type: TP -#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-tumbleweed #, no-wrap msgid "I<abi>" msgstr "" #. type: TQ -#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-tumbleweed #, no-wrap msgid "I<regs[weight(mask)]>" msgstr "" @@ -4830,7 +4855,8 @@ msgid "" msgstr "" #. type: TQ -#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-tumbleweed #, no-wrap msgid "I<dyn_size>" msgstr "" @@ -7681,8 +7707,7 @@ msgid "" msgstr "" #. type: Plain text -#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron -#: opensuse-tumbleweed +#: archlinux debian-unstable opensuse-tumbleweed #, no-wrap msgid "" "#include E<lt>linux/perf_event.hE<gt>\n" @@ -7691,6 +7716,7 @@ msgid "" "#include E<lt>string.hE<gt>\n" "#include E<lt>sys/ioctl.hE<gt>\n" "#include E<lt>sys/syscall.hE<gt>\n" +"#include E<lt>sys/types.hE<gt>\n" "#include E<lt>unistd.hE<gt>\n" "\\&\n" "static long\n" @@ -7774,14 +7800,6 @@ msgid "Linux man-pages 6.03" msgstr "" #. type: Plain text -#: debian-bookworm debian-unstable opensuse-leap-15-6 opensuse-tumbleweed -msgid "" -"Given a list of parameters, B<perf_event_open>() returns a file descriptor, " -"for use in subsequent system calls (B<read>(2), B<mmap>(2), B<prctl>(2), " -"B<fcntl>(2), etc.)." -msgstr "" - -#. type: Plain text #: debian-bookworm msgid "" "The I<group_fd> argument allows event groups to be created. An event group " @@ -7942,25 +7960,25 @@ msgid "};\n" msgstr "" #. type: TP -#: debian-bookworm debian-unstable opensuse-leap-15-6 opensuse-tumbleweed +#: debian-bookworm opensuse-leap-15-6 #, no-wrap msgid "I<kprobe_func>, I<uprobe_path>, I<kprobe_addr>, and I<probe_offset>" msgstr "" #. type: TP -#: debian-bookworm debian-unstable opensuse-leap-15-6 opensuse-tumbleweed +#: debian-bookworm opensuse-leap-15-6 #, no-wrap msgid "I<sample_period>, I<sample_freq>" msgstr "" #. type: TP -#: debian-bookworm debian-unstable opensuse-leap-15-6 opensuse-tumbleweed +#: debian-bookworm opensuse-leap-15-6 #, no-wrap msgid "I<wakeup_events>, I<wakeup_watermark>" msgstr "" #. type: TP -#: debian-bookworm debian-unstable opensuse-leap-15-6 opensuse-tumbleweed +#: debian-bookworm opensuse-leap-15-6 #, no-wrap msgid "I<time_enabled>, I<time_running>" msgstr "" @@ -8067,7 +8085,7 @@ msgid "" msgstr "" #. type: TP -#: debian-bookworm debian-unstable opensuse-leap-15-6 opensuse-tumbleweed +#: debian-bookworm opensuse-leap-15-6 #, no-wrap msgid "I<time_shift>, I<time_mult>, I<time_offset>" msgstr "" @@ -8091,7 +8109,7 @@ msgid "" msgstr "" #. type: TP -#: debian-bookworm debian-unstable opensuse-leap-15-6 opensuse-tumbleweed +#: debian-bookworm opensuse-leap-15-6 #, no-wrap msgid "I<aux_head>, I<aux_tail>, I<aux_offset>, I<aux_size> (since Linux 4.1)" msgstr "" @@ -8106,49 +8124,49 @@ msgid "" msgstr "" #. type: TP -#: debian-bookworm debian-unstable opensuse-leap-15-6 opensuse-tumbleweed +#: debian-bookworm opensuse-leap-15-6 #, no-wrap msgid "B<PERF_RECORD_THROTTLE>, B<PERF_RECORD_UNTHROTTLE>" msgstr "" #. type: TP -#: debian-bookworm debian-unstable opensuse-leap-15-6 opensuse-tumbleweed +#: debian-bookworm opensuse-leap-15-6 #, no-wrap msgid "I<pid>, I<tid>" msgstr "" #. type: TP -#: debian-bookworm debian-unstable opensuse-leap-15-6 opensuse-tumbleweed +#: debian-bookworm opensuse-leap-15-6 #, no-wrap msgid "I<cpu>, I<res>" msgstr "" #. type: TP -#: debian-bookworm debian-unstable opensuse-leap-15-6 opensuse-tumbleweed +#: debian-bookworm opensuse-leap-15-6 #, no-wrap msgid "I<nr>, I<ips[nr]>" msgstr "" #. type: TP -#: debian-bookworm debian-unstable opensuse-leap-15-6 opensuse-tumbleweed +#: debian-bookworm opensuse-leap-15-6 #, no-wrap msgid "I<size>, I<data[size]>" msgstr "" #. type: TP -#: debian-bookworm debian-unstable opensuse-leap-15-6 opensuse-tumbleweed +#: debian-bookworm opensuse-leap-15-6 #, no-wrap msgid "I<bnr>, I<lbr[bnr]>" msgstr "" #. type: TP -#: debian-bookworm debian-unstable opensuse-leap-15-6 opensuse-tumbleweed +#: debian-bookworm opensuse-leap-15-6 #, no-wrap msgid "I<abi>, I<regs[weight(mask)]>" msgstr "" #. type: TP -#: debian-bookworm debian-unstable opensuse-leap-15-6 opensuse-tumbleweed +#: debian-bookworm opensuse-leap-15-6 #, no-wrap msgid "I<size>, I<data[size]>, I<dyn_size>" msgstr "" @@ -8273,15 +8291,79 @@ msgid "" msgstr "" #. type: TH -#: debian-unstable opensuse-tumbleweed +#: fedora-40 fedora-rawhide mageia-cauldron #, no-wrap -msgid "2023-05-03" +msgid "2023-11-19" msgstr "" #. type: TH -#: debian-unstable opensuse-tumbleweed +#: fedora-40 mageia-cauldron #, no-wrap -msgid "Linux man-pages 6.05.01" +msgid "Linux man-pages 6.06" +msgstr "" + +#. type: Plain text +#: fedora-40 fedora-rawhide mageia-cauldron +#, no-wrap +msgid "" +"#include E<lt>linux/perf_event.hE<gt>\n" +"#include E<lt>stdio.hE<gt>\n" +"#include E<lt>stdlib.hE<gt>\n" +"#include E<lt>string.hE<gt>\n" +"#include E<lt>sys/ioctl.hE<gt>\n" +"#include E<lt>sys/syscall.hE<gt>\n" +"#include E<lt>unistd.hE<gt>\n" +"\\&\n" +"static long\n" +"perf_event_open(struct perf_event_attr *hw_event, pid_t pid,\n" +" int cpu, int group_fd, unsigned long flags)\n" +"{\n" +" int ret;\n" +"\\&\n" +" ret = syscall(SYS_perf_event_open, hw_event, pid, cpu,\n" +" group_fd, flags);\n" +" return ret;\n" +"}\n" +"\\&\n" +"int\n" +"main(void)\n" +"{\n" +" int fd;\n" +" long long count;\n" +" struct perf_event_attr pe;\n" +"\\&\n" +" memset(&pe, 0, sizeof(pe));\n" +" pe.type = PERF_TYPE_HARDWARE;\n" +" pe.size = sizeof(pe);\n" +" pe.config = PERF_COUNT_HW_INSTRUCTIONS;\n" +" pe.disabled = 1;\n" +" pe.exclude_kernel = 1;\n" +" pe.exclude_hv = 1;\n" +"\\&\n" +" fd = perf_event_open(&pe, 0, -1, -1, 0);\n" +" if (fd == -1) {\n" +" fprintf(stderr, \"Error opening leader %llx\\en\", pe.config);\n" +" exit(EXIT_FAILURE);\n" +" }\n" +"\\&\n" +" ioctl(fd, PERF_EVENT_IOC_RESET, 0);\n" +" ioctl(fd, PERF_EVENT_IOC_ENABLE, 0);\n" +"\\&\n" +" printf(\"Measuring instruction count for this printf\\en\");\n" +"\\&\n" +" ioctl(fd, PERF_EVENT_IOC_DISABLE, 0);\n" +" read(fd, &count, sizeof(count));\n" +"\\&\n" +" printf(\"Used %lld instructions\\en\", count);\n" +"\\&\n" +" close(fd);\n" +"}\n" +msgstr "" + +#. type: TH +#: fedora-rawhide +#, no-wrap +msgid "Linux man-pages 6.7" msgstr "" #. type: TH @@ -8295,3 +8377,9 @@ msgstr "" #, no-wrap msgid "Linux man-pages 6.04" msgstr "" + +#. type: TH +#: opensuse-tumbleweed +#, no-wrap +msgid "Linux man-pages (unreleased)" +msgstr "" |