Debian Codegraph @

po/ro/man1/sprof.1.po

raw
1 # Romanian translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Remus-Gabriel Chelu <[email protected]>, 2024, 2025.
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: manpages-l10n 4.22.0\n"
8 "POT-Creation-Date: 2026-06-05 06:44+0200\n"
9 "PO-Revision-Date: 2025-11-04 00:38+0100\n"
10 "Last-Translator: Remus-Gabriel Chelu <[email protected]>\n"
11 "Language-Team: Romanian <[email protected]>\n"
12 "Language: ro\n"
13 "MIME-Version: 1.0\n"
14 "Content-Type: text/plain; charset=UTF-8\n"
15 "Content-Transfer-Encoding: 8bit\n"
16 "Plural-Forms: nplurals=3; plural=n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < "
17 "20)) ? 1 : 2;\n"
18 "X-Generator: Poedit 3.6\n"
19
20 #. #-#-#-#-# archlinux: sprof.1.pot (PACKAGE VERSION) #-#-#-#-#
21 #. type: SY
22 #. #-#-#-#-# debian-trixie: sprof.1.pot (PACKAGE VERSION) #-#-#-#-#
23 #. type: TH
24 #. #-#-#-#-# debian-unstable: sprof.1.pot (PACKAGE VERSION) #-#-#-#-#
25 #. type: SY
26 #. #-#-#-#-# fedora-44: sprof.1.pot (PACKAGE VERSION) #-#-#-#-#
27 #. type: SY
28 #. #-#-#-#-# fedora-rawhide: sprof.1.pot (PACKAGE VERSION) #-#-#-#-#
29 #. type: SY
30 #. #-#-#-#-# mageia-cauldron: sprof.1.pot (PACKAGE VERSION) #-#-#-#-#
31 #. type: SY
32 #. #-#-#-#-# opensuse-leap-16-1: sprof.1.pot (PACKAGE VERSION) #-#-#-#-#
33 #. type: SY
34 #. #-#-#-#-# opensuse-tumbleweed: sprof.1.pot (PACKAGE VERSION) #-#-#-#-#
35 #. type: SY
36 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
37 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
38 #, no-wrap
39 msgid "sprof"
40 msgstr "sprof"
41
42 #. type: TH
43 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
44 #: opensuse-tumbleweed
45 #, no-wrap
46 msgid "2026-02-08"
47 msgstr "8 februarie 2026"
48
49 #. type: TH
50 #: archlinux debian-unstable
51 #, no-wrap
52 msgid "Linux man-pages 6.18"
53 msgstr "Pagini de manual de Linux 6.18"
54
55 #. type: SH
56 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
57 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
58 #, no-wrap
59 msgid "NAME"
60 msgstr "NUME"
61
62 #. type: Plain text
63 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
64 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
65 msgid "sprof - read and display shared object profiling data"
66 msgstr "sprof - citește și afișează datele de profilare a obiectelor partajate"
67
68 #. type: SH
69 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
70 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
71 #, no-wrap
72 msgid "SYNOPSIS"
73 msgstr "SINOPSIS"
74
75 #. type: Plain text
76 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
77 #: opensuse-leap-16-1 opensuse-tumbleweed
78 msgid "[I<option>\\ .\\|.\\|.\\&] I<shared-object-path> [I<profile-data-path>]"
79 msgstr ""
80 "[I<opțiune>\\ .\\|.\\|.\\&] I<rută-obiect-partajat> [I<rută-date-profilare>]"
81
82 #. type: SH
83 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
84 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
85 #, no-wrap
86 msgid "DESCRIPTION"
87 msgstr "DESCRIERE"
88
89 #. type: Plain text
90 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
91 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
92 msgid ""
93 "The B<sprof> command displays a profiling summary for the shared object "
94 "(shared library) specified as its first command-line argument. The "
95 "profiling summary is created using previously generated profiling data in "
96 "the (optional) second command-line argument. If the profiling data pathname "
97 "is omitted, then B<sprof> will attempt to deduce it using the soname of the "
98 "shared object, looking for a file with the name I<E<lt>sonameE<gt>.profile> "
99 "in the current directory."
100 msgstr ""
101 "Comanda B<sprof> afișează un rezumat al profilării pentru obiectul partajat "
102 "(biblioteca partajată) specificat ca prim argument al liniei de comandă. "
103 "Rezumatul de profilare este creat folosind datele de profilare generate "
104 "anterior în cel de-al doilea argument (opțional) din linia de comandă. În "
105 "cazul în care se omite ruta datelor de profilare, atunci B<sprof> va încerca "
106 "să le deducă folosind numele de fiu al obiectului partajat, căutând un "
107 "fișier cu numele I<E<lt>sonameE<gt>.profile> în directorul curent."
108
109 #. type: SH
110 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
111 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
112 #, no-wrap
113 msgid "OPTIONS"
114 msgstr "OPȚIUNI"
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 "The following command-line options specify the profile output to be produced:"
121 msgstr ""
122 "Următoarele opțiuni ale liniei de comandă specifică rezultatul profilului "
123 "care urmează să fie produs:"
124
125 #. type: TP
126 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
127 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
128 #, no-wrap
129 msgid "B<--call-pairs>"
130 msgstr "B<--call-pairs>"
131
132 #. type: TQ
133 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
134 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
135 #, no-wrap
136 msgid "B<-c>"
137 msgstr "B<-c>"
138
139 #. type: Plain text
140 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
141 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
142 msgid ""
143 "Print a list of pairs of call paths for the interfaces exported by the "
144 "shared object, along with the number of times each path is used."
145 msgstr ""
146 "Afișează o listă de perechi de rute de apelare pentru interfețele exportate "
147 "de obiectul partajat, împreună cu numărul de ori de câte ori este utilizată "
148 "fiecare rută."
149
150 #. type: TP
151 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
152 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
153 #, no-wrap
154 msgid "B<--flat-profile>"
155 msgstr "B<--flat-profile>"
156
157 #. type: TQ
158 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
159 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
160 #, no-wrap
161 msgid "B<-p>"
162 msgstr "B<-p>"
163
164 #. type: Plain text
165 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
166 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
167 msgid ""
168 "Generate a flat profile of all of the functions in the monitored object, "
169 "with counts and ticks."
170 msgstr ""
171 "Generează un profil plat al tuturor funcțiilor din obiectul monitorizat, cu "
172 "numărători și ticuri."
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<--graph>"
179 msgstr "B<--graph>"
180
181 #. type: TQ
182 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
183 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
184 #, no-wrap
185 msgid "B<-q>"
186 msgstr "B<-q>"
187
188 #. type: Plain text
189 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
190 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
191 msgid "Generate a call graph."
192 msgstr "Generează graficul de apeluri."
193
194 #. type: Plain text
195 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
196 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
197 msgid ""
198 "If none of the above options is specified, then the default behavior is to "
199 "display a flat profile and a call graph."
200 msgstr ""
201 "Dacă nu se specifică niciuna dintre opțiunile de mai sus, atunci "
202 "comportamentul implicit este de a afișa un profil plat și un grafic al "
203 "apelurilor."
204
205 #. type: Plain text
206 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
207 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
208 msgid "The following additional command-line options are available:"
209 msgstr ""
210 "Sunt disponibile următoarele opțiuni suplimentare pentru linia de comandă:"
211
212 #. type: TP
213 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
214 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
215 #, no-wrap
216 msgid "B<--help>"
217 msgstr "B<--help>"
218
219 #. type: TQ
220 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
221 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
222 #, no-wrap
223 msgid "B<-?>"
224 msgstr "B<-?>"
225
226 #. type: Plain text
227 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
228 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
229 msgid "Display a summary of command-line options and arguments and exit."
230 msgstr ""
231 "Afișează un rezumat al opțiunilor disponibile în linia de comandă și iese."
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<--usage>"
238 msgstr "B<--usage>"
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 "Display a short usage message and exit."
244 msgstr "Afișează un scurt mesaj de utilizare și iese."
245
246 #. type: TP
247 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
248 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
249 #, no-wrap
250 msgid "B<--version>"
251 msgstr "B<--version>"
252
253 #. type: TQ
254 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
255 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
256 #, no-wrap
257 msgid "B<-V>"
258 msgstr "B<-V>"
259
260 #. type: Plain text
261 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
262 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
263 msgid "Display the program version and exit."
264 msgstr "Afișează versiunea programului și iese."
265
266 #. type: SH
267 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
268 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
269 #, no-wrap
270 msgid "STANDARDS"
271 msgstr "STANDARDE"
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 "GNU."
277 msgstr "GNU."
278
279 #. type: SH
280 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
281 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
282 #, no-wrap
283 msgid "EXAMPLES"
284 msgstr "EXEMPLE"
285
286 #. type: Plain text
287 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
288 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
289 msgid ""
290 "The following example demonstrates the use of B<sprof>. The example "
291 "consists of a main program that calls two functions in a shared object. "
292 "First, the code of the main program:"
293 msgstr ""
294 "Următorul exemplu demonstrează utilizarea B<sprof>. Exemplul constă într-un "
295 "program principal care apelează două funcții dintr-un obiect partajat. Mai "
296 "întâi, codul programului principal:"
297
298 #. type: Plain text
299 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
300 #: opensuse-tumbleweed
301 #, no-wrap
302 msgid ""
303 "$B< cat prog.c>;\n"
304 "#include E<lt>stdlib.hE<gt>\n"
305 "\\&\n"
306 "void x1(void);\n"
307 "void x2(void);\n"
308 "\\&\n"
309 "int\n"
310 "main(int argc, char *argv[])\n"
311 "{\n"
312 " x1();\n"
313 " x2();\n"
314 " exit(EXIT_SUCCESS);\n"
315 "}\n"
316 msgstr ""
317 "$B< cat prog.c>;\n"
318 "#include E<lt>stdlib.hE<gt>\n"
319 "\\&\n"
320 "void x1(void);\n"
321 "void x2(void);\n"
322 "\\&\n"
323 "int\n"
324 "main(int argc, char *argv[])\n"
325 "{\n"
326 " x1();\n"
327 " x2();\n"
328 " exit(EXIT_SUCCESS);\n"
329 "}\n"
330
331 #. type: Plain text
332 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
333 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
334 msgid ""
335 "The functions I<x1>() and I<x2>() are defined in the following source file "
336 "that is used to construct the shared object:"
337 msgstr ""
338 "Funcțiile I<x1>() și I<x2>() sunt definite în următorul fișier sursă care "
339 "este utilizat pentru a construi obiectul partajat:"
340
341 #. type: Plain text
342 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
343 #: opensuse-tumbleweed
344 #, no-wrap
345 msgid ""
346 "$B< cat libdemo.c>;\n"
347 "#include E<lt>unistd.hE<gt>\n"
348 "\\&\n"
349 "void\n"
350 "consumeCpu1(int lim)\n"
351 "{\n"
352 " for (unsigned int j = 0; j E<lt> lim; j++)\n"
353 "\tgetppid();\n"
354 "}\n"
355 "\\&\n"
356 "void\n"
357 "x1(void) {\n"
358 " for (unsigned int j = 0; j E<lt> 100; j++)\n"
359 "\tconsumeCpu1(200000);\n"
360 "}\n"
361 "\\&\n"
362 "void\n"
363 "consumeCpu2(int lim)\n"
364 "{\n"
365 " for (unsigned int j = 0; j E<lt> lim; j++)\n"
366 "\tgetppid();\n"
367 "}\n"
368 "\\&\n"
369 "void\n"
370 "x2(void)\n"
371 "{\n"
372 " for (unsigned int j = 0; j E<lt> 1000; j++)\n"
373 "\tconsumeCpu2(10000);\n"
374 "}\n"
375 msgstr ""
376 "$B< cat libdemo.c>;\n"
377 "#include E<lt>unistd.hE<gt>\n"
378 "\\&\n"
379 "void\n"
380 "consumeCpu1(int lim)\n"
381 "{\n"
382 " for (unsigned int j = 0; j E<lt> lim; j++)\n"
383 "\tgetppid();\n"
384 "}\n"
385 "\\&\n"
386 "void\n"
387 "x1(void) {\n"
388 " for (unsigned int j = 0; j E<lt> 100; j++)\n"
389 "\tconsumeCpu1(200000);\n"
390 "}\n"
391 "\\&\n"
392 "void\n"
393 "consumeCpu2(int lim)\n"
394 "{\n"
395 " for (unsigned int j = 0; j E<lt> lim; j++)\n"
396 "\tgetppid();\n"
397 "}\n"
398 "\\&\n"
399 "void\n"
400 "x2(void)\n"
401 "{\n"
402 " for (unsigned int j = 0; j E<lt> 1000; j++)\n"
403 "\tconsumeCpu2(10000);\n"
404 "}\n"
405
406 #. type: Plain text
407 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
408 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
409 msgid ""
410 "Now we construct the shared object with the real name I<libdemo.so.1.0.1>, "
411 "and the soname I<libdemo.so.1>:"
412 msgstr ""
413 "Acum construim obiectul partajat cu numele real I<libdemo.so.1.1.0.1> și cu "
414 "numele de fiu I<libdemo.so.1>:"
415
416 #. type: Plain text
417 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
418 #: opensuse-tumbleweed
419 #, no-wrap
420 msgid ""
421 "$B< cc -g -fPIC -shared -Wl,-soname,libdemo.so.1 \\[rs]>\n"
422 "B< -o libdemo.so.1.0.1 libdemo.c>;\n"
423 msgstr ""
424 "$B< cc -g -fPIC -shared -Wl,-soname,libdemo.so.1 \\[rs]>\n"
425 "B< -o libdemo.so.1.0.1 libdemo.c>;\n"
426
427 #. type: Plain text
428 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
429 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
430 msgid ""
431 "Then we construct symbolic links for the library soname and the library "
432 "linker name:"
433 msgstr ""
434 "Apoi, construim legături simbolice pentru numele fiului bibliotecii și "
435 "pentru numele editorului de legături al bibliotecii:"
436
437 #. type: Plain text
438 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
439 #: opensuse-tumbleweed
440 #, no-wrap
441 msgid ""
442 "$B< ln -sf libdemo.so.1.0.1 libdemo.so.1>;\n"
443 "$B< ln -sf libdemo.so.1 libdemo.so>;\n"
444 msgstr ""
445 "$B< ln -sf libdemo.so.1.0.1 libdemo.so.1>;\n"
446 "$B< ln -sf libdemo.so.1 libdemo.so>;\n"
447
448 #. type: Plain text
449 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
450 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
451 msgid ""
452 "Next, we compile the main program, linking it against the shared object, and "
453 "then list the dynamic dependencies of the program:"
454 msgstr ""
455 "În continuare, compilăm programul principal, legându-l de obiectul partajat "
456 "și apoi enumerăm dependențele dinamice ale programului:"
457
458 #. type: Plain text
459 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
460 #: opensuse-tumbleweed
461 #, no-wrap
462 msgid ""
463 "$B< cc -g -o prog prog.c -L.\\& -ldemo>;\n"
464 "$B< ldd prog>;\n"
465 "\tlinux-vdso.so.1 =E<gt> (0x00007fff86d66000)\n"
466 "\tlibdemo.so.1 =E<gt> not found\n"
467 "\tlibc.so.6 =E<gt> /lib64/libc.so.6 (0x00007fd4dc138000)\n"
468 "\t/lib64/ld-linux-x86-64.so.2 (0x00007fd4dc51f000)\n"
469 msgstr ""
470 "$B< cc -g -o prog prog.c -L.\\& -ldemo>;\n"
471 "$B< ldd prog>;\n"
472 "\tlinux-vdso.so.1 =E<gt> (0x00007fff86d66000)\n"
473 "\tlibdemo.so.1 =E<gt> not found\n"
474 "\tlibc.so.6 =E<gt> /lib64/libc.so.6 (0x00007fd4dc138000)\n"
475 "\t/lib64/ld-linux-x86-64.so.2 (0x00007fd4dc51f000)\n"
476
477 #. type: Plain text
478 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
479 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
480 msgid ""
481 "In order to get profiling information for the shared object, we define the "
482 "environment variable B<LD_PROFILE> with the soname of the library:"
483 msgstr ""
484 "Pentru a obține informații de profilare pentru obiectul partajat, definim "
485 "variabila de mediu B<LD_PROFILE> cu numele de fiu al bibliotecii:"
486
487 #. type: Plain text
488 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
489 #: opensuse-tumbleweed
490 #, no-wrap
491 msgid "$B< export LD_PROFILE=libdemo.so.1>;\n"
492 msgstr "$B< export LD_PROFILE=libdemo.so.1>;\n"
493
494 #. type: Plain text
495 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
496 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
497 msgid ""
498 "We then define the environment variable B<LD_PROFILE_OUTPUT> with the "
499 "pathname of the directory where profile output should be written, and create "
500 "that directory if it does not exist already:"
501 msgstr ""
502 "Apoi definim variabila de mediu B<LD_PROFILE_OUTPUT> cu numele de rută al "
503 "directorului în care ar trebui să fie scrisă ieșirea profilului și creăm "
504 "acel director dacă nu există deja:"
505
506 #. type: Plain text
507 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
508 #: opensuse-tumbleweed
509 #, no-wrap
510 msgid ""
511 "$B< export LD_PROFILE_OUTPUT=$(pwd)/prof_data>;\n"
512 "$B< mkdir -p $LD_PROFILE_OUTPUT>;\n"
513 msgstr ""
514 "$B< export LD_PROFILE_OUTPUT=$(pwd)/prof_data>;\n"
515 "$B< mkdir -p $LD_PROFILE_OUTPUT>;\n"
516
517 #. type: Plain text
518 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
519 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
520 msgid ""
521 "B<LD_PROFILE> causes profiling output to be I<appended> to the output file "
522 "if it already exists, so we ensure that there is no preexisting profiling "
523 "data:"
524 msgstr ""
525 "B<LD_PROFILE> determină ca ieșirea de profilare să fie I<adăugată> la "
526 "fișierul de ieșire dacă acesta există deja, astfel încât să ne asigurăm că "
527 "nu există date de profilare preexistente:"
528
529 #. type: Plain text
530 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
531 #: opensuse-tumbleweed
532 #, no-wrap
533 msgid "$B< rm -f $LD_PROFILE_OUTPUT/$LD_PROFILE.profile>;\n"
534 msgstr "$B< rm -f $LD_PROFILE_OUTPUT/$LD_PROFILE.profile>;\n"
535
536 #. type: Plain text
537 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
538 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
539 msgid ""
540 "We then run the program to produce the profiling output, which is written to "
541 "a file in the directory specified in B<LD_PROFILE_OUTPUT>:"
542 msgstr ""
543 "Apoi executăm programul pentru a produce rezultatul profilării, care este "
544 "scris într-un fișier din directorul specificat în B<LD_PROFILE_OUTPUT>:"
545
546 #. type: Plain text
547 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
548 #: opensuse-tumbleweed
549 #, no-wrap
550 msgid ""
551 "$B< LD_LIBRARY_PATH=.\\& ./prog>;\n"
552 "$B< ls prof_data>;\n"
553 "libdemo.so.1.profile\n"
554 msgstr ""
555 "$B< LD_LIBRARY_PATH=.\\& ./prog>;\n"
556 "$B< ls prof_data>;\n"
557 "libdemo.so.1.profile\n"
558
559 #. type: Plain text
560 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
561 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
562 msgid ""
563 "We then use the B<sprof -p> option to generate a flat profile with counts "
564 "and ticks:"
565 msgstr ""
566 "Apoi folosim opțiunea B<sprof -p> pentru a genera un profil plat cu "
567 "numărători și ticuri:"
568
569 #. type: Plain text
570 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
571 #: opensuse-tumbleweed
572 #, no-wrap
573 msgid ""
574 "$B< sprof -p libdemo.so.1 $LD_PROFILE_OUTPUT/libdemo.so.1.profile>;\n"
575 "Flat profile:\n"
576 "\\&\n"
577 "Each sample counts as 0.01 seconds.\n"
578 " % cumulative self self total\n"
579 " time seconds seconds calls us/call us/call name\n"
580 " 60.00 0.06 0.06 100 600.00 consumeCpu1\n"
581 " 40.00 0.10 0.04 1000 40.00 consumeCpu2\n"
582 " 0.00 0.10 0.00 1 0.00 x1\n"
583 " 0.00 0.10 0.00 1 0.00 x2\n"
584 msgstr ""
585 "$B< sprof -p libdemo.so.1 $LD_PROFILE_OUTPUT/libdemo.so.1.profile>;\n"
586 "Flat profile:\n"
587 "\\&\n"
588 "Fiecare eșantion contează ca 0,01 secunde.\n"
589 " % cumulative self self total\n"
590 " time seconds seconds calls us/call us/call name\n"
591 " 60.00 0.06 0.06 100 600.00 consumeCpu1\n"
592 " 40.00 0.10 0.04 1000 40.00 consumeCpu2\n"
593 " 0.00 0.10 0.00 1 0.00 x1\n"
594 " 0.00 0.10 0.00 1 0.00 x2\n"
595
596 #. type: Plain text
597 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
598 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
599 msgid "The B<sprof -q> option generates a call graph:"
600 msgstr "Opțiunea B<sprof -q> generează un grafic de apeluri:"
601
602 #. type: Plain text
603 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
604 #: opensuse-tumbleweed
605 #, no-wrap
606 msgid ""
607 "$B< sprof -q libdemo.so.1 $LD_PROFILE_OUTPUT/libdemo.so.1.profile>;\n"
608 "\\&\n"
609 "index % time self children called name\n"
610 "\\&\n"
611 " 0.00 0.00 100/100 x1 [1]\n"
612 "[0] 100.0 0.00 0.00 100 consumeCpu1 [0]\n"
613 "-----------------------------------------------\n"
614 " 0.00 0.00 1/1 E<lt>UNKNOWNE<gt>\n"
615 "[1] 0.0 0.00 0.00 1 x1 [1]\n"
616 " 0.00 0.00 100/100 consumeCpu1 [0]\n"
617 "-----------------------------------------------\n"
618 " 0.00 0.00 1000/1000 x2 [3]\n"
619 "[2] 0.0 0.00 0.00 1000 consumeCpu2 [2]\n"
620 "-----------------------------------------------\n"
621 " 0.00 0.00 1/1 E<lt>UNKNOWNE<gt>\n"
622 "[3] 0.0 0.00 0.00 1 x2 [3]\n"
623 " 0.00 0.00 1000/1000 consumeCpu2 [2]\n"
624 "-----------------------------------------------\n"
625 msgstr ""
626 "$B< sprof -q libdemo.so.1 $LD_PROFILE_OUTPUT/libdemo.so.1.profile>;\n"
627 "\\&\n"
628 "index % time self children called name\n"
629 "\\&\n"
630 " 0.00 0.00 100/100 x1 [1]\n"
631 "[0] 100.0 0.00 0.00 100 consumeCpu1 [0]\n"
632 "-----------------------------------------------\n"
633 " 0.00 0.00 1/1 E<lt>UNKNOWNE<gt>\n"
634 "[1] 0.0 0.00 0.00 1 x1 [1]\n"
635 " 0.00 0.00 100/100 consumeCpu1 [0]\n"
636 "-----------------------------------------------\n"
637 " 0.00 0.00 1000/1000 x2 [3]\n"
638 "[2] 0.0 0.00 0.00 1000 consumeCpu2 [2]\n"
639 "-----------------------------------------------\n"
640 " 0.00 0.00 1/1 E<lt>UNKNOWNE<gt>\n"
641 "[3] 0.0 0.00 0.00 1 x2 [3]\n"
642 " 0.00 0.00 1000/1000 consumeCpu2 [2]\n"
643 "-----------------------------------------------\n"
644
645 #. type: Plain text
646 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
647 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
648 msgid ""
649 "Above and below, the \"E<lt>UNKNOWNE<gt>\" strings represent identifiers "
650 "that are outside of the profiled object (in this example, these are "
651 "instances of I<main()>)."
652 msgstr ""
653 "Deasupra și dedesubt, șirurile „E<lt>UNKNOWNE<gt>” reprezintă identificatori "
654 "care se află în afara obiectului profilat (în acest exemplu, acestea sunt "
655 "instanțe ale I<main()>)."
656
657 #. type: Plain text
658 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
659 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
660 msgid ""
661 "The B<sprof -c> option generates a list of call pairs and the number of "
662 "their occurrences:"
663 msgstr ""
664 "Opțiunea B<sprof -c> generează o listă de perechi de apeluri și numărul de "
665 "apariții ale acestora:"
666
667 #. type: Plain text
668 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
669 #: opensuse-tumbleweed
670 #, no-wrap
671 msgid ""
672 "$B< sprof -c libdemo.so.1 $LD_PROFILE_OUTPUT/libdemo.so.1.profile>;\n"
673 "E<lt>UNKNOWNE<gt> x1 1\n"
674 "x1 consumeCpu1 100\n"
675 "E<lt>UNKNOWNE<gt> x2 1\n"
676 "x2 consumeCpu2 1000\n"
677 msgstr ""
678 "$B< sprof -c libdemo.so.1 $LD_PROFILE_OUTPUT/libdemo.so.1.profile>;\n"
679 "E<lt>UNKNOWNE<gt> x1 1\n"
680 "x1 consumeCpu1 100\n"
681 "E<lt>UNKNOWNE<gt> x2 1\n"
682 "x2 consumeCpu2 1000\n"
683
684 #. type: SH
685 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
686 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
687 #, no-wrap
688 msgid "SEE ALSO"
689 msgstr "CONSULTAȚI ȘI"
690
691 #. type: Plain text
692 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
693 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
694 msgid "B<gprof>(1), B<ldd>(1), B<ld.so>(8)"
695 msgstr "B<gprof>(1), B<ldd>(1), B<ld.so>(8)"
696
697 #. type: TH
698 #: debian-trixie
699 #, no-wrap
700 msgid "2024-06-15"
701 msgstr "15 iunie 2024"
702
703 #. type: TH
704 #: debian-trixie
705 #, no-wrap
706 msgid "Linux man-pages 6.9.1"
707 msgstr "Pagini de manual de Linux 6.9.1"
708
709 #. type: Plain text
710 #: debian-trixie
711 #, no-wrap
712 msgid "B<sprof> [I<option>]... I<shared-object-path> [I<profile-data-path>]\n"
713 msgstr "B<sprof> [I<opțiune>]... I<rută-obiect-partajat> [I<rută-date-profilare>]\n"
714
715 #. type: Plain text
716 #: debian-trixie fedora-44 fedora-rawhide
717 #, no-wrap
718 msgid ""
719 "$ B<cat prog.c>\n"
720 "#include E<lt>stdlib.hE<gt>\n"
721 "\\&\n"
722 "void x1(void);\n"
723 "void x2(void);\n"
724 "\\&\n"
725 "int\n"
726 "main(int argc, char *argv[])\n"
727 "{\n"
728 " x1();\n"
729 " x2();\n"
730 " exit(EXIT_SUCCESS);\n"
731 "}\n"
732 msgstr ""
733 "$ B<cat prog.c>\n"
734 "#include E<lt>stdlib.hE<gt>\n"
735 "\\&\n"
736 "void x1(void);\n"
737 "void x2(void);\n"
738 "\\&\n"
739 "int\n"
740 "main(int argc, char *argv[])\n"
741 "{\n"
742 " x1();\n"
743 " x2();\n"
744 " exit(EXIT_SUCCESS);\n"
745 "}\n"
746
747 #. type: Plain text
748 #: debian-trixie fedora-44 fedora-rawhide
749 #, no-wrap
750 msgid ""
751 "$ B<cat libdemo.c>\n"
752 "#include E<lt>unistd.hE<gt>\n"
753 "\\&\n"
754 "void\n"
755 "consumeCpu1(int lim)\n"
756 "{\n"
757 " for (unsigned int j = 0; j E<lt> lim; j++)\n"
758 "\tgetppid();\n"
759 "}\n"
760 "\\&\n"
761 "void\n"
762 "x1(void) {\n"
763 " for (unsigned int j = 0; j E<lt> 100; j++)\n"
764 "\tconsumeCpu1(200000);\n"
765 "}\n"
766 "\\&\n"
767 "void\n"
768 "consumeCpu2(int lim)\n"
769 "{\n"
770 " for (unsigned int j = 0; j E<lt> lim; j++)\n"
771 "\tgetppid();\n"
772 "}\n"
773 "\\&\n"
774 "void\n"
775 "x2(void)\n"
776 "{\n"
777 " for (unsigned int j = 0; j E<lt> 1000; j++)\n"
778 "\tconsumeCpu2(10000);\n"
779 "}\n"
780 msgstr ""
781 "$ B<cat libdemo.c>\n"
782 "#include E<lt>unistd.hE<gt>\n"
783 "\\&\n"
784 "void\n"
785 "consumeCpu1(int lim)\n"
786 "{\n"
787 " for (unsigned int j = 0; j E<lt> lim; j++)\n"
788 "\tgetppid();\n"
789 "}\n"
790 "\\&\n"
791 "void\n"
792 "x1(void) {\n"
793 " for (unsigned int j = 0; j E<lt> 100; j++)\n"
794 "\tconsumeCpu1(200000);\n"
795 "}\n"
796 "\\&\n"
797 "void\n"
798 "consumeCpu2(int lim)\n"
799 "{\n"
800 " for (unsigned int j = 0; j E<lt> lim; j++)\n"
801 "\tgetppid();\n"
802 "}\n"
803 "\\&\n"
804 "void\n"
805 "x2(void)\n"
806 "{\n"
807 " for (unsigned int j = 0; j E<lt> 1000; j++)\n"
808 "\tconsumeCpu2(10000);\n"
809 "}\n"
810
811 #. type: Plain text
812 #: debian-trixie fedora-44 fedora-rawhide
813 #, no-wrap
814 msgid ""
815 "$ B<cc -g -fPIC -shared -Wl,-soname,libdemo.so.1 \\[rs]>\n"
816 " B<-o libdemo.so.1.0.1 libdemo.c>\n"
817 msgstr ""
818 "$ B<cc -g -fPIC -shared -Wl,-soname,libdemo.so.1 \\[rs]>\n"
819 " B<-o libdemo.so.1.0.1 libdemo.c>\n"
820
821 #. type: Plain text
822 #: debian-trixie fedora-44 fedora-rawhide
823 #, no-wrap
824 msgid ""
825 "$ B<ln -sf libdemo.so.1.0.1 libdemo.so.1>\n"
826 "$ B<ln -sf libdemo.so.1 libdemo.so>\n"
827 msgstr ""
828 "$ B<ln -sf libdemo.so.1.0.1 libdemo.so.1>\n"
829 "$ B<ln -sf libdemo.so.1 libdemo.so>\n"
830
831 #. type: Plain text
832 #: debian-trixie fedora-44 fedora-rawhide
833 #, no-wrap
834 msgid ""
835 "$ B<cc -g -o prog prog.c -L. -ldemo>\n"
836 "$ B<ldd prog>\n"
837 "\tlinux-vdso.so.1 =E<gt> (0x00007fff86d66000)\n"
838 "\tlibdemo.so.1 =E<gt> not found\n"
839 "\tlibc.so.6 =E<gt> /lib64/libc.so.6 (0x00007fd4dc138000)\n"
840 "\t/lib64/ld-linux-x86-64.so.2 (0x00007fd4dc51f000)\n"
841 msgstr ""
842 "$ B<cc -g -o prog prog.c -L. -ldemo>\n"
843 "$ B<ldd prog>\n"
844 "\tlinux-vdso.so.1 =E<gt> (0x00007fff86d66000)\n"
845 "\tlibdemo.so.1 =E<gt> not found\n"
846 "\tlibc.so.6 =E<gt> /lib64/libc.so.6 (0x00007fd4dc138000)\n"
847 "\t/lib64/ld-linux-x86-64.so.2 (0x00007fd4dc51f000)\n"
848
849 #. type: Plain text
850 #: debian-trixie fedora-44 fedora-rawhide
851 #, no-wrap
852 msgid "$ B<export LD_PROFILE=libdemo.so.1>\n"
853 msgstr "$ B<export LD_PROFILE=libdemo.so.1>\n"
854
855 #. type: Plain text
856 #: debian-trixie fedora-44 fedora-rawhide
857 #, no-wrap
858 msgid ""
859 "$ B<export LD_PROFILE_OUTPUT=$(pwd)/prof_data>\n"
860 "$ B<mkdir -p $LD_PROFILE_OUTPUT>\n"
861 msgstr ""
862 "$ B<export LD_PROFILE_OUTPUT=$(pwd)/prof_data>\n"
863 "$ B<mkdir -p $LD_PROFILE_OUTPUT>\n"
864
865 #. type: Plain text
866 #: debian-trixie fedora-44 fedora-rawhide
867 #, no-wrap
868 msgid "$ B<rm -f $LD_PROFILE_OUTPUT/$LD_PROFILE.profile>\n"
869 msgstr "$ B<rm -f $LD_PROFILE_OUTPUT/$LD_PROFILE.profile>\n"
870
871 #. type: Plain text
872 #: debian-trixie fedora-44 fedora-rawhide
873 #, no-wrap
874 msgid ""
875 "$ B<LD_LIBRARY_PATH=. ./prog>\n"
876 "$ B<ls prof_data>\n"
877 "libdemo.so.1.profile\n"
878 msgstr ""
879 "$ B<LD_LIBRARY_PATH=. ./prog>\n"
880 "$ B<ls prof_data>\n"
881 "libdemo.so.1.profile\n"
882
883 #. type: Plain text
884 #: debian-trixie fedora-44 fedora-rawhide
885 #, no-wrap
886 msgid ""
887 "$ B<sprof -p libdemo.so.1 $LD_PROFILE_OUTPUT/libdemo.so.1.profile>\n"
888 "Flat profile:\n"
889 "\\&\n"
890 "Each sample counts as 0.01 seconds.\n"
891 " % cumulative self self total\n"
892 " time seconds seconds calls us/call us/call name\n"
893 " 60.00 0.06 0.06 100 600.00 consumeCpu1\n"
894 " 40.00 0.10 0.04 1000 40.00 consumeCpu2\n"
895 " 0.00 0.10 0.00 1 0.00 x1\n"
896 " 0.00 0.10 0.00 1 0.00 x2\n"
897 msgstr ""
898 "$ B<sprof -p libdemo.so.1 $LD_PROFILE_OUTPUT/libdemo.so.1.profile>\n"
899 "Flat profile:\n"
900 "\\&\n"
901 "Fiecare eșantion contează ca 0,01 secunde.\n"
902 " % cumulative self self total\n"
903 " time seconds seconds calls us/call us/call name\n"
904 " 60.00 0.06 0.06 100 600.00 consumeCpu1\n"
905 " 40.00 0.10 0.04 1000 40.00 consumeCpu2\n"
906 " 0.00 0.10 0.00 1 0.00 x1\n"
907 " 0.00 0.10 0.00 1 0.00 x2\n"
908
909 #. type: Plain text
910 #: debian-trixie fedora-44 fedora-rawhide
911 #, no-wrap
912 msgid ""
913 "$ B<sprof -q libdemo.so.1 $LD_PROFILE_OUTPUT/libdemo.so.1.profile>\n"
914 "\\&\n"
915 "index % time self children called name\n"
916 "\\&\n"
917 " 0.00 0.00 100/100 x1 [1]\n"
918 "[0] 100.0 0.00 0.00 100 consumeCpu1 [0]\n"
919 "-----------------------------------------------\n"
920 " 0.00 0.00 1/1 E<lt>UNKNOWNE<gt>\n"
921 "[1] 0.0 0.00 0.00 1 x1 [1]\n"
922 " 0.00 0.00 100/100 consumeCpu1 [0]\n"
923 "-----------------------------------------------\n"
924 " 0.00 0.00 1000/1000 x2 [3]\n"
925 "[2] 0.0 0.00 0.00 1000 consumeCpu2 [2]\n"
926 "-----------------------------------------------\n"
927 " 0.00 0.00 1/1 E<lt>UNKNOWNE<gt>\n"
928 "[3] 0.0 0.00 0.00 1 x2 [3]\n"
929 " 0.00 0.00 1000/1000 consumeCpu2 [2]\n"
930 "-----------------------------------------------\n"
931 msgstr ""
932 "$ B<sprof -q libdemo.so.1 $LD_PROFILE_OUTPUT/libdemo.so.1.profile>\n"
933 "\\&\n"
934 "index % time self children called name\n"
935 "\\&\n"
936 " 0.00 0.00 100/100 x1 [1]\n"
937 "[0] 100.0 0.00 0.00 100 consumeCpu1 [0]\n"
938 "-----------------------------------------------\n"
939 " 0.00 0.00 1/1 E<lt>UNKNOWNE<gt>\n"
940 "[1] 0.0 0.00 0.00 1 x1 [1]\n"
941 " 0.00 0.00 100/100 consumeCpu1 [0]\n"
942 "-----------------------------------------------\n"
943 " 0.00 0.00 1000/1000 x2 [3]\n"
944 "[2] 0.0 0.00 0.00 1000 consumeCpu2 [2]\n"
945 "-----------------------------------------------\n"
946 " 0.00 0.00 1/1 E<lt>UNKNOWNE<gt>\n"
947 "[3] 0.0 0.00 0.00 1 x2 [3]\n"
948 " 0.00 0.00 1000/1000 consumeCpu2 [2]\n"
949 "-----------------------------------------------\n"
950
951 #. type: Plain text
952 #: debian-trixie fedora-44 fedora-rawhide
953 #, no-wrap
954 msgid ""
955 "$ B<sprof -c libdemo.so.1 $LD_PROFILE_OUTPUT/libdemo.so.1.profile>\n"
956 "E<lt>UNKNOWNE<gt> x1 1\n"
957 "x1 consumeCpu1 100\n"
958 "E<lt>UNKNOWNE<gt> x2 1\n"
959 "x2 consumeCpu2 1000\n"
960 msgstr ""
961 "$ B<sprof -c libdemo.so.1 $LD_PROFILE_OUTPUT/libdemo.so.1.profile>\n"
962 "E<lt>UNKNOWNE<gt> x1 1\n"
963 "x1 consumeCpu1 100\n"
964 "E<lt>UNKNOWNE<gt> x2 1\n"
965 "x2 consumeCpu2 1000\n"
966
967 #. type: TH
968 #: fedora-44 fedora-rawhide
969 #, no-wrap
970 msgid "2024-11-25"
971 msgstr "25 noiembrie 2024"
972
973 #. type: TH
974 #: fedora-44 fedora-rawhide
975 #, no-wrap
976 msgid "Linux man-pages 6.13"
977 msgstr "Pagini de manual de Linux 6.13"
978
979 #. type: TH
980 #: mageia-cauldron
981 #, no-wrap
982 msgid "Linux man-pages 6.17"
983 msgstr "Pagini de manual de Linux 6.17"
984
985 #. type: TH
986 #: opensuse-leap-16-1 opensuse-tumbleweed
987 #, no-wrap
988 msgid "Linux man-pages (unreleased)"
989 msgstr "Pagini de manual Linux (nepublicate)"