Skip to content

Commit 68116c7

Browse files
committed
Traducido archivo c-api/perfmaps
1 parent 553c804 commit 68116c7

File tree

1 file changed

+30
-11
lines changed

1 file changed

+30
-11
lines changed

c-api/perfmaps.po

Lines changed: 30 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,16 @@ msgstr ""
1010
"Project-Id-Version: Python en Español 3.12\n"
1111
"Report-Msgid-Bugs-To: \n"
1212
"POT-Creation-Date: 2024-11-21 16:38-0300\n"
13-
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14-
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
15-
"Language: es\n"
13+
"PO-Revision-Date: 2025-01-28 17:53-0300\n"
14+
"Last-Translator: srmorita <[email protected]>\n"
1615
"Language-Team: es <[email protected]>\n"
17-
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
16+
"Language: es\n"
1817
"MIME-Version: 1.0\n"
1918
"Content-Type: text/plain; charset=utf-8\n"
2019
"Content-Transfer-Encoding: 8bit\n"
20+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
2121
"Generated-By: Babel 2.16.0\n"
22+
"X-Generator: Poedit 3.5\n"
2223

2324
#: ../Doc/c-api/perfmaps.rst:6
2425
msgid "Support for Perf Maps"
@@ -28,12 +29,12 @@ msgstr ""
2829
msgid ""
2930
"On supported platforms (as of this writing, only Linux), the runtime can "
3031
"take advantage of *perf map files* to make Python functions visible to an "
31-
"external profiling tool (such as `perf <https://perf.wiki.kernel.org/index."
32-
"php/Main_Page>`_). A running process may create a file in the ``/tmp`` "
32+
"external profiling tool (such as `perf <https://perf.wiki.kernel.org/"
33+
"index.php/Main_Page>`_). A running process may create a file in the ``/tmp`` "
3334
"directory, which contains entries that can map a section of executable code "
3435
"to a name. This interface is described in the `documentation of the Linux "
35-
"Perf tool <https://git.kernel.org/pub/scm/linux/ kernel/git/torvalds/linux."
36-
"git/tree/tools/perf/Documentation/jit-interface.txt>`_."
36+
"Perf tool <https://git.kernel.org/pub/scm/linux/ kernel/git/torvalds/"
37+
"linux.git/tree/tools/perf/Documentation/jit-interface.txt>`_."
3738
msgstr ""
3839

3940
#: ../Doc/c-api/perfmaps.rst:16
@@ -53,9 +54,9 @@ msgid ""
5354
"Open the ``/tmp/perf-$pid.map`` file, unless it's already opened, and create "
5455
"a lock to ensure thread-safe writes to the file (provided the writes are "
5556
"done through :c:func:`PyUnstable_WritePerfMapEntry`). Normally, there's no "
56-
"need to call this explicitly; just use :c:func:"
57-
"`PyUnstable_WritePerfMapEntry` and it will initialize the state on first "
58-
"call."
57+
"need to call this explicitly; just "
58+
"use :c:func:`PyUnstable_WritePerfMapEntry` and it will initialize the state "
59+
"on first call."
5960
msgstr ""
6061

6162
#: ../Doc/c-api/perfmaps.rst:29
@@ -64,25 +65,38 @@ msgid ""
6465
"file, or ``-2`` on failure to create a lock. Check ``errno`` for more "
6566
"information about the cause of a failure."
6667
msgstr ""
68+
"Retorna ``0`` en caso de éxito, ``-1`` en caso de fallo al crear/abrir el "
69+
"fichero perf map, o ``-2`` en caso de fallo al crear un bloqueo. Comprueba "
70+
"``errno`` para más información sobre la causa de un fallo."
6771

6872
#: ../Doc/c-api/perfmaps.rst:35
6973
msgid ""
7074
"Write one single entry to the ``/tmp/perf-$pid.map`` file. This function is "
7175
"thread safe. Here is what an example entry looks like::"
7276
msgstr ""
77+
"Escribe una única entrada en el fichero ``/tmp/perf-$pid.map``. Esta función "
78+
"es de hilo seguro. Aquí hay un ejemplo de entrada::"
7379

80+
# creo que esto debe quedar igual. Es solo código fuente.
7481
#: ../Doc/c-api/perfmaps.rst:38
82+
#, fuzzy
7583
msgid ""
7684
"# address size name\n"
7785
"7f3529fcf759 b py::bar:/run/t.py"
7886
msgstr ""
87+
"# address size name\n"
88+
"7f3529fcf759 b py::bar:/run/t.py"
7989

8090
#: ../Doc/c-api/perfmaps.rst:41
8191
msgid ""
8292
"Will call :c:func:`PyUnstable_PerfMapState_Init` before writing the entry, "
8393
"if the perf map file is not already opened. Returns ``0`` on success, or the "
8494
"same error codes as :c:func:`PyUnstable_PerfMapState_Init` on failure."
8595
msgstr ""
96+
"Llamará a :c:func:`PyUnstable_PerfMapState_Init` antes de escribir la "
97+
"entrada, si el fichero perf map no está ya abierto. Retorna ``0`` en caso de "
98+
"éxito, o los mismos códigos de error "
99+
"que :c:func:`PyUnstable_PerfMapState_Init` en caso de fallo."
86100

87101
#: ../Doc/c-api/perfmaps.rst:47
88102
msgid ""
@@ -91,3 +105,8 @@ msgid ""
91105
"general, there shouldn't be a reason to explicitly call this, except to "
92106
"handle specific scenarios such as forking."
93107
msgstr ""
108+
"Cierra el fichero perf map abierto "
109+
"por :c:func:`PyUnstable_PerfMapState_Init`. Esto es llamado por el propio "
110+
"tiempo de ejecución durante el cierre del intérprete. En general, no debería "
111+
"haber una razón para llamar explícitamente a esto, excepto para manejar "
112+
"escenarios específicos como la bifurcación."

0 commit comments

Comments
 (0)