|
| 1 | +# SOME DESCRIPTIVE TITLE. |
| 2 | +# Copyright (C) 2001 Python Software Foundation |
| 3 | +# This file is distributed under the same license as the Python package. |
| 4 | +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. |
| 5 | +# |
| 6 | +# Translators: |
| 7 | +# python-doc bot, 2026 |
| 8 | +# |
| 9 | +#, fuzzy |
| 10 | +msgid "" |
| 11 | +msgstr "" |
| 12 | +"Project-Id-Version: Python 3.15\n" |
| 13 | +"Report-Msgid-Bugs-To: \n" |
| 14 | +"POT-Creation-Date: 2026-06-03 18:19+0000\n" |
| 15 | +"PO-Revision-Date: 2025-09-16 00:00+0000\n" |
| 16 | +"Last-Translator: python-doc bot, 2026\n" |
| 17 | +"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" |
| 18 | +"MIME-Version: 1.0\n" |
| 19 | +"Content-Type: text/plain; charset=UTF-8\n" |
| 20 | +"Content-Transfer-Encoding: 8bit\n" |
| 21 | +"Language: pl\n" |
| 22 | +"Plural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && " |
| 23 | +"(n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && " |
| 24 | +"n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n" |
| 25 | + |
| 26 | +msgid "Support for Perf Maps" |
| 27 | +msgstr "" |
| 28 | + |
| 29 | +msgid "" |
| 30 | +"On supported platforms (Linux and macOS), the runtime can take advantage of " |
| 31 | +"*perf map files* to make Python functions visible to an external profiling " |
| 32 | +"tool (such as `perf <https://perf.wiki.kernel.org/index.php/Main_Page>`_ or " |
| 33 | +"`samply <https://github.com/mstange/samply/>`_). A running process may " |
| 34 | +"create a file in the ``/tmp`` directory, which contains entries that can map " |
| 35 | +"a section of executable code to a name. This interface is described in the " |
| 36 | +"`documentation of the Linux Perf tool <https://git.kernel.org/pub/scm/linux/ " |
| 37 | +"kernel/git/torvalds/linux.git/tree/tools/perf/Documentation/jit-interface." |
| 38 | +"txt>`_." |
| 39 | +msgstr "" |
| 40 | + |
| 41 | +msgid "" |
| 42 | +"In Python, these helper APIs can be used by libraries and features that rely " |
| 43 | +"on generating machine code on the fly." |
| 44 | +msgstr "" |
| 45 | + |
| 46 | +msgid "" |
| 47 | +"Note that holding an :term:`attached thread state` is not required for these " |
| 48 | +"APIs." |
| 49 | +msgstr "" |
| 50 | + |
| 51 | +msgid "" |
| 52 | +"Open the ``/tmp/perf-$pid.map`` file, unless it's already opened, and create " |
| 53 | +"a lock to ensure thread-safe writes to the file (provided the writes are " |
| 54 | +"done through :c:func:`PyUnstable_WritePerfMapEntry`). Normally, there's no " |
| 55 | +"need to call this explicitly; just use :c:func:" |
| 56 | +"`PyUnstable_WritePerfMapEntry` and it will initialize the state on first " |
| 57 | +"call." |
| 58 | +msgstr "" |
| 59 | + |
| 60 | +msgid "" |
| 61 | +"Returns ``0`` on success, ``-1`` on failure to create/open the perf map " |
| 62 | +"file, or ``-2`` on failure to create a lock. Check ``errno`` for more " |
| 63 | +"information about the cause of a failure." |
| 64 | +msgstr "" |
| 65 | + |
| 66 | +msgid "" |
| 67 | +"Write one single entry to the ``/tmp/perf-$pid.map`` file. This function is " |
| 68 | +"thread safe. Here is what an example entry looks like::" |
| 69 | +msgstr "" |
| 70 | + |
| 71 | +msgid "" |
| 72 | +"# address size name\n" |
| 73 | +"7f3529fcf759 b py::bar:/run/t.py" |
| 74 | +msgstr "" |
| 75 | + |
| 76 | +msgid "" |
| 77 | +"Will call :c:func:`PyUnstable_PerfMapState_Init` before writing the entry, " |
| 78 | +"if the perf map file is not already opened. Returns ``0`` on success, or the " |
| 79 | +"same error codes as :c:func:`PyUnstable_PerfMapState_Init` on failure." |
| 80 | +msgstr "" |
| 81 | + |
| 82 | +msgid "" |
| 83 | +"Close the perf map file opened by :c:func:`PyUnstable_PerfMapState_Init`. " |
| 84 | +"This is called by the runtime itself during interpreter shut-down. In " |
| 85 | +"general, there shouldn't be a reason to explicitly call this, except to " |
| 86 | +"handle specific scenarios such as forking." |
| 87 | +msgstr "" |
| 88 | + |
| 89 | +msgid "" |
| 90 | +"Open the ``/tmp/perf-$pid.map`` file and append the content of " |
| 91 | +"*parent_filename* to it." |
| 92 | +msgstr "" |
| 93 | + |
| 94 | +msgid "" |
| 95 | +"This function is available on all platforms but only generates output on " |
| 96 | +"platforms that support perf maps (currently only Linux). On other platforms, " |
| 97 | +"it does nothing." |
| 98 | +msgstr "" |
| 99 | + |
| 100 | +msgid "Compile the given code object using the current perf trampoline." |
| 101 | +msgstr "" |
| 102 | + |
| 103 | +msgid "" |
| 104 | +"The \"current\" trampoline is the one set by the runtime or the most recent :" |
| 105 | +"c:func:`PyUnstable_PerfTrampoline_SetPersistAfterFork` call." |
| 106 | +msgstr "" |
| 107 | + |
| 108 | +msgid "" |
| 109 | +"If no trampoline is set, falls back to normal compilation (no perf map " |
| 110 | +"entry)." |
| 111 | +msgstr "" |
| 112 | + |
| 113 | +msgid "Parameters" |
| 114 | +msgstr "parametry" |
| 115 | + |
| 116 | +msgid "The code object to compile." |
| 117 | +msgstr "" |
| 118 | + |
| 119 | +msgid "Returns" |
| 120 | +msgstr "Zwraca" |
| 121 | + |
| 122 | +msgid "0 on success, -1 on failure." |
| 123 | +msgstr "" |
| 124 | + |
| 125 | +msgid "Set whether the perf trampoline should persist after a fork." |
| 126 | +msgstr "" |
| 127 | + |
| 128 | +msgid "" |
| 129 | +"If ``enable`` is true (non-zero): perf map file remains open/valid post-" |
| 130 | +"fork. Child process inherits all existing perf map entries." |
| 131 | +msgstr "" |
| 132 | + |
| 133 | +msgid "" |
| 134 | +"If ``enable`` is false (zero): perf map closes post-fork. Child process gets " |
| 135 | +"empty perf map." |
| 136 | +msgstr "" |
| 137 | + |
| 138 | +msgid "Default: false (clears on fork)." |
| 139 | +msgstr "" |
| 140 | + |
| 141 | +msgid "1 to enable, 0 to disable." |
| 142 | +msgstr "" |
0 commit comments