Debian Codegraph @

po/fr/man1/sprof.1.po

raw
1 # French translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Gérard Delafond <[email protected]>
5 # Alain Portal <[email protected]>, 2003-2008.
6 # Christophe Blaess <https://www.blaess.fr/christophe/>, 1996-2006.
7 # David Prévot <[email protected]>, 2010, 2012, 2013.
8 # Denis Barbier <[email protected]>, 2004, 2006, 2010.
9 # Florentin Duneau <[email protected]>, 2006-2010.
10 # François Micaux, 2002.
11 # Jean-Luc Coulon (f5ibh) <[email protected]>, 2006-2007.
12 # Jean-Philippe Guérard <[email protected]>, 2005-2006.
13 # Julien Cristau <[email protected]>, 2006-2007.
14 # Nicolas François <[email protected]>, 2006-2009.
15 # Simon Paillard <[email protected]>, 2006, 2013.
16 # Stéphan Rafin <[email protected]>, 2002.
17 # Thierry Vignaud <[email protected]>, 1999-2002.
18 # Thomas Blein <[email protected]>, 2011, 2014.
19 # Thomas Huriaux <[email protected]>, 2006-2008.
20 # Jean-Philippe MENGUAL <[email protected]>, 2020-2021.
21 msgid ""
22 msgstr ""
23 "Project-Id-Version: manpages-l10n.4.23.1\n"
24 "POT-Creation-Date: 2026-06-05 06:44+0200\n"
25 "PO-Revision-Date: 2025-06-11 13:37+0200\n"
26 "Last-Translator: Jean-Philippe MENGUAL <[email protected]>\n"
27 "Language-Team: French <[email protected]>ld/fr/>\n"
28 "Language: fr\n"
29 "MIME-Version: 1.0\n"
30 "Content-Type: text/plain; charset=UTF-8\n"
31 "Content-Transfer-Encoding: 8bit\n"
32 "Plural-Forms: nplurals=2; plural=n > 1;\n"
33 "X-Generator: Lokalize 22.12.3\n"
34
35 #. #-#-#-#-# archlinux: sprof.1.pot (PACKAGE VERSION) #-#-#-#-#
36 #. type: SY
37 #. #-#-#-#-# debian-trixie: sprof.1.pot (PACKAGE VERSION) #-#-#-#-#
38 #. type: TH
39 #. #-#-#-#-# debian-unstable: sprof.1.pot (PACKAGE VERSION) #-#-#-#-#
40 #. type: SY
41 #. #-#-#-#-# fedora-44: sprof.1.pot (PACKAGE VERSION) #-#-#-#-#
42 #. type: SY
43 #. #-#-#-#-# fedora-rawhide: sprof.1.pot (PACKAGE VERSION) #-#-#-#-#
44 #. type: SY
45 #. #-#-#-#-# mageia-cauldron: sprof.1.pot (PACKAGE VERSION) #-#-#-#-#
46 #. type: SY
47 #. #-#-#-#-# opensuse-leap-16-1: sprof.1.pot (PACKAGE VERSION) #-#-#-#-#
48 #. type: SY
49 #. #-#-#-#-# opensuse-tumbleweed: sprof.1.pot (PACKAGE VERSION) #-#-#-#-#
50 #. type: SY
51 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
52 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
53 #, no-wrap
54 msgid "sprof"
55 msgstr "sprof"
56
57 #. type: TH
58 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
59 #: opensuse-tumbleweed
60 #, no-wrap
61 msgid "2026-02-08"
62 msgstr "8 février 2026"
63
64 #. type: TH
65 #: archlinux debian-unstable
66 #, no-wrap
67 msgid "Linux man-pages 6.18"
68 msgstr "Pages du manuel de Linux 6.18"
69
70 #. type: SH
71 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
72 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
73 #, no-wrap
74 msgid "NAME"
75 msgstr "NOM"
76
77 #. type: Plain text
78 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
79 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
80 msgid "sprof - read and display shared object profiling data"
81 msgstr "sprof - Lire et afficher les données de profilage des objets partagés"
82
83 #. type: SH
84 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
85 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
86 #, no-wrap
87 msgid "SYNOPSIS"
88 msgstr "SYNOPSIS"
89
90 #. type: Plain text
91 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
92 #: opensuse-leap-16-1 opensuse-tumbleweed
93 msgid "[I<option>\\ .\\|.\\|.\\&] I<shared-object-path> [I<profile-data-path>]"
94 msgstr "[I<option>\\ .\\|.\\|.\\&] I<chemin_objet_partagé> [I<chemin_données_profil>]"
95
96 #. type: SH
97 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
98 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
99 #, no-wrap
100 msgid "DESCRIPTION"
101 msgstr "DESCRIPTION"
102
103 #. type: Plain text
104 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
105 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
106 msgid ""
107 "The B<sprof> command displays a profiling summary for the shared object "
108 "(shared library) specified as its first command-line argument. The "
109 "profiling summary is created using previously generated profiling data in "
110 "the (optional) second command-line argument. If the profiling data pathname "
111 "is omitted, then B<sprof> will attempt to deduce it using the soname of the "
112 "shared object, looking for a file with the name I<E<lt>sonameE<gt>.profile> "
113 "in the current directory."
114 msgstr ""
115 "La commande B<sprof> affiche un résumé de profilage de l'objet (la "
116 "bibliothèque) partagé indiqué comme premier paramètre de la ligne de "
117 "commande. Le résumé du profilage est créé à partir de données de profilage "
118 "précédemment générées dans le second paramètre (optionnel) de la ligne de "
119 "commande. Si le chemin vers les données de profilage est absent, B<sprof> "
120 "tentera de le déduire à partir du I<soname> de l'objet partagé, en "
121 "recherchant dans le répertoire actuel un fichier avec le nom "
122 "I<E<lt>sonameE<gt>.profile>."
123
124 #. type: SH
125 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
126 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
127 #, no-wrap
128 msgid "OPTIONS"
129 msgstr "OPTIONS"
130
131 #. type: Plain text
132 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
133 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
134 msgid ""
135 "The following command-line options specify the profile output to be produced:"
136 msgstr ""
137 "Les options suivantes de la ligne de commande indiquent la sortie de "
138 "profilage à produire :"
139
140 #. type: TP
141 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
142 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
143 #, no-wrap
144 msgid "B<--call-pairs>"
145 msgstr "B<--call-pairs>"
146
147 #. type: TQ
148 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
149 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
150 #, no-wrap
151 msgid "B<-c>"
152 msgstr "B<-c>"
153
154 #. type: Plain text
155 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
156 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
157 msgid ""
158 "Print a list of pairs of call paths for the interfaces exported by the "
159 "shared object, along with the number of times each path is used."
160 msgstr ""
161 "Afficher une liste des paires de chemins d'appel pour les interfaces "
162 "exportées par l'objet partagé, ainsi que le nombre de fois que chaque chemin "
163 "est utilisé."
164
165 #. type: TP
166 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
167 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
168 #, no-wrap
169 msgid "B<--flat-profile>"
170 msgstr "B<--flat-profile>"
171
172 #. type: TQ
173 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
174 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
175 #, no-wrap
176 msgid "B<-p>"
177 msgstr "B<-p>"
178
179 #. type: Plain text
180 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
181 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
182 msgid ""
183 "Generate a flat profile of all of the functions in the monitored object, "
184 "with counts and ticks."
185 msgstr ""
186 "Générer un fichier de profilage plat de toutes les fonctions de l'objet "
187 "examiné, avec le nombre d'appels et de tics."
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<--graph>"
194 msgstr "B<--graph>"
195
196 #. type: TQ
197 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
198 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
199 #, no-wrap
200 msgid "B<-q>"
201 msgstr "B<-q>"
202
203 #. type: Plain text
204 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
205 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
206 msgid "Generate a call graph."
207 msgstr "Générer un graphe d'appels."
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 "If none of the above options is specified, then the default behavior is to "
214 "display a flat profile and a call graph."
215 msgstr ""
216 "Si aucune des options ci-dessus n'est spécifiée, le comportement par défaut "
217 "consiste à afficher un profilage plat et un graphe des appels."
218
219 #. type: Plain text
220 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
221 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
222 msgid "The following additional command-line options are available:"
223 msgstr ""
224 "Les options supplémentaires suivantes sont disponibles en ligne de commande :"
225
226 #. type: TP
227 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
228 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
229 #, no-wrap
230 msgid "B<--help>"
231 msgstr "B<--help>"
232
233 #. type: TQ
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<-?>"
238 msgstr "B<-?>"
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 summary of command-line options and arguments and exit."
244 msgstr ""
245 "Afficher un résumé des options et paramètres de la ligne de commande, puis "
246 "terminer."
247
248 #. type: TP
249 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
250 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
251 #, no-wrap
252 msgid "B<--usage>"
253 msgstr "B<--usage>"
254
255 #. type: Plain text
256 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
257 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
258 msgid "Display a short usage message and exit."
259 msgstr "Afficher un court message d'aide et terminer."
260
261 #. type: TP
262 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
263 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
264 #, no-wrap
265 msgid "B<--version>"
266 msgstr "B<--version>"
267
268 #. type: TQ
269 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
270 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
271 #, no-wrap
272 msgid "B<-V>"
273 msgstr "B<-V>"
274
275 #. type: Plain text
276 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
277 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
278 msgid "Display the program version and exit."
279 msgstr "Afficher la version du programme et terminer."
280
281 #. type: SH
282 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
283 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
284 #, no-wrap
285 msgid "STANDARDS"
286 msgstr "NORMES"
287
288 #. type: Plain text
289 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
290 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
291 msgid "GNU."
292 msgstr "GNU."
293
294 #. type: SH
295 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
296 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
297 #, no-wrap
298 msgid "EXAMPLES"
299 msgstr "EXEMPLES"
300
301 #. type: Plain text
302 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
303 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
304 msgid ""
305 "The following example demonstrates the use of B<sprof>. The example "
306 "consists of a main program that calls two functions in a shared object. "
307 "First, the code of the main program:"
308 msgstr ""
309 "L'exemple suivant illustre l'utilisation de B<sprof>. Il consiste dans un "
310 "programme principal qui appelle deux fonctions d'un objet partagé. D'abord, "
311 "le code du programme principal :"
312
313 #. type: Plain text
314 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
315 #: opensuse-tumbleweed
316 #, no-wrap
317 msgid ""
318 "$B< cat prog.c>;\n"
319 "#include E<lt>stdlib.hE<gt>\n"
320 "\\&\n"
321 "void x1(void);\n"
322 "void x2(void);\n"
323 "\\&\n"
324 "int\n"
325 "main(int argc, char *argv[])\n"
326 "{\n"
327 " x1();\n"
328 " x2();\n"
329 " exit(EXIT_SUCCESS);\n"
330 "}\n"
331 msgstr ""
332 "$B< cat prog.c>;\n"
333 "#include E<lt>stdlib.hE<gt>\n"
334 "\\&\n"
335 "void x1(void);\n"
336 "void x2(void);\n"
337 "\\&\n"
338 "int\n"
339 "main(int argc, char *argv[])\n"
340 "{\n"
341 " x1();\n"
342 " x2();\n"
343 " exit(EXIT_SUCCESS);\n"
344 "}\n"
345
346 #. type: Plain text
347 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
348 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
349 msgid ""
350 "The functions I<x1>() and I<x2>() are defined in the following source file "
351 "that is used to construct the shared object:"
352 msgstr ""
353 "Les fonctions I<x1>() et I<x2>() sont définies dans le fichier source "
354 "suivant, utilisé pour construire l'objet partagé :"
355
356 #. type: Plain text
357 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
358 #: opensuse-tumbleweed
359 #, no-wrap
360 msgid ""
361 "$B< cat libdemo.c>;\n"
362 "#include E<lt>unistd.hE<gt>\n"
363 "\\&\n"
364 "void\n"
365 "consumeCpu1(int lim)\n"
366 "{\n"
367 " for (unsigned int j = 0; j E<lt> lim; j++)\n"
368 "\tgetppid();\n"
369 "}\n"
370 "\\&\n"
371 "void\n"
372 "x1(void) {\n"
373 " for (unsigned int j = 0; j E<lt> 100; j++)\n"
374 "\tconsumeCpu1(200000);\n"
375 "}\n"
376 "\\&\n"
377 "void\n"
378 "consumeCpu2(int lim)\n"
379 "{\n"
380 " for (unsigned int j = 0; j E<lt> lim; j++)\n"
381 "\tgetppid();\n"
382 "}\n"
383 "\\&\n"
384 "void\n"
385 "x2(void)\n"
386 "{\n"
387 " for (unsigned int j = 0; j E<lt> 1000; j++)\n"
388 "\tconsumeCpu2(10000);\n"
389 "}\n"
390 msgstr ""
391 "$B< cat libdemo.c>;\n"
392 "#include E<lt>unistd.hE<gt>\n"
393 "\\&\n"
394 "void\n"
395 "consumeCpu1(int lim)\n"
396 "{\n"
397 " for (unsigned int j = 0; j E<lt> lim; j++)\n"
398 "\tgetppid();\n"
399 "}\n"
400 "\\&\n"
401 "void\n"
402 "x1(void) {\n"
403 " for (unsigned int j = 0; j E<lt> 100; j++)\n"
404 "\tconsumeCpu1(200000);\n"
405 "}\n"
406 "\\&\n"
407 "void\n"
408 "consumeCpu2(int lim)\n"
409 "{\n"
410 " for (unsigned int j = 0; j E<lt> lim; j++)\n"
411 "\tgetppid();\n"
412 "}\n"
413 "\\&\n"
414 "void\n"
415 "x2(void)\n"
416 "{\n"
417 " for (unsigned int j = 0; j E<lt> 1000; j++)\n"
418 "\tconsumeCpu2(10000);\n"
419 "}\n"
420
421 #. type: Plain text
422 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
423 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
424 msgid ""
425 "Now we construct the shared object with the real name I<libdemo.so.1.0.1>, "
426 "and the soname I<libdemo.so.1>:"
427 msgstr ""
428 "Maintenant, nous construisons l'objet partagé avec le nom réel "
429 "I<libdemo.so.1.0.1> et le I<soname> I<libdemo.so.1> :"
430
431 #. type: Plain text
432 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
433 #: opensuse-tumbleweed
434 #, no-wrap
435 msgid ""
436 "$B< cc -g -fPIC -shared -Wl,-soname,libdemo.so.1 \\[rs]>\n"
437 "B< -o libdemo.so.1.0.1 libdemo.c>;\n"
438 msgstr ""
439 "$B< cc -g -fPIC -shared -Wl,-soname,libdemo.so.1 \\[rs]>\n"
440 "B< -o libdemo.so.1.0.1 libdemo.c>;\n"
441
442 #. type: Plain text
443 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
444 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
445 msgid ""
446 "Then we construct symbolic links for the library soname and the library "
447 "linker name:"
448 msgstr ""
449 "Puis, nous construisons les liens symboliques pour le I<soname> de la "
450 "bibliothèque et le nom de l'éditeur de liens de la bibliothèque :"
451
452 #. type: Plain text
453 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
454 #: opensuse-tumbleweed
455 #, no-wrap
456 msgid ""
457 "$B< ln -sf libdemo.so.1.0.1 libdemo.so.1>;\n"
458 "$B< ln -sf libdemo.so.1 libdemo.so>;\n"
459 msgstr ""
460 "$B< ln -sf libdemo.so.1.0.1 libdemo.so.1>;\n"
461 "$B< ln -sf libdemo.so.1 libdemo.so>;\n"
462
463 #. type: Plain text
464 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
465 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
466 msgid ""
467 "Next, we compile the main program, linking it against the shared object, and "
468 "then list the dynamic dependencies of the program:"
469 msgstr ""
470 "Ensuite, nous compilons le programme principal en le liant à l'objet "
471 "partagé, puis nous affichons les dépendances dynamiques du programme :"
472
473 #. type: Plain text
474 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
475 #: opensuse-tumbleweed
476 #, no-wrap
477 msgid ""
478 "$B< cc -g -o prog prog.c -L.\\& -ldemo>;\n"
479 "$B< ldd prog>;\n"
480 "\tlinux-vdso.so.1 =E<gt> (0x00007fff86d66000)\n"
481 "\tlibdemo.so.1 =E<gt> not found\n"
482 "\tlibc.so.6 =E<gt> /lib64/libc.so.6 (0x00007fd4dc138000)\n"
483 "\t/lib64/ld-linux-x86-64.so.2 (0x00007fd4dc51f000)\n"
484 msgstr ""
485 "$B< cc -g -o prog prog.c -L.\\& -ldemo>;\n"
486 "$B< ldd prog>;\n"
487 "\tlinux-vdso.so.1 =E<gt> (0x00007fff86d66000)\n"
488 "\tlibdemo.so.1 =E<gt> not found\n"
489 "\tlibc.so.6 =E<gt> /lib64/libc.so.6 (0x00007fd4dc138000)\n"
490 "\t/lib64/ld-linux-x86-64.so.2 (0x00007fd4dc51f000)\n"
491
492 #. type: Plain text
493 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
494 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
495 msgid ""
496 "In order to get profiling information for the shared object, we define the "
497 "environment variable B<LD_PROFILE> with the soname of the library:"
498 msgstr ""
499 "Afin d'avoir les informations de profilage de l'objet partagé, nous "
500 "positionnons la variable d'environnement B<LD_PROFILE> sur le I<soname> de "
501 "la bibliothèque :"
502
503 #. type: Plain text
504 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
505 #: opensuse-tumbleweed
506 #, no-wrap
507 msgid "$B< export LD_PROFILE=libdemo.so.1>;\n"
508 msgstr "$B< export LD_PROFILE=libdemo.so.1>;\n"
509
510 #. type: Plain text
511 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
512 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
513 msgid ""
514 "We then define the environment variable B<LD_PROFILE_OUTPUT> with the "
515 "pathname of the directory where profile output should be written, and create "
516 "that directory if it does not exist already:"
517 msgstr ""
518 "Puis, nous définissons la variable d'environnement B<LD_PROFILE_OUTPUT> avec "
519 "le chemin du répertoire où devrait être écrite la sortie de profilage et "
520 "nous créons ce répertoire s'il n'existe pas encore :"
521
522 #. type: Plain text
523 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
524 #: opensuse-tumbleweed
525 #, no-wrap
526 msgid ""
527 "$B< export LD_PROFILE_OUTPUT=$(pwd)/prof_data>;\n"
528 "$B< mkdir -p $LD_PROFILE_OUTPUT>;\n"
529 msgstr ""
530 "$B< export LD_PROFILE_OUTPUT=$(pwd)/prof_data>;\n"
531 "$B< mkdir -p $LD_PROFILE_OUTPUT>;\n"
532
533 #. type: Plain text
534 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
535 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
536 msgid ""
537 "B<LD_PROFILE> causes profiling output to be I<appended> to the output file "
538 "if it already exists, so we ensure that there is no preexisting profiling "
539 "data:"
540 msgstr ""
541 "B<LD_PROFILE> a pour conséquence que la sortie de profilage I<s'ajoute> au "
542 "fichier de sortie s'il existe, aussi nous nous assurons qu'il n'y a pas de "
543 "données de profilage préexistantes :"
544
545 #. type: Plain text
546 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
547 #: opensuse-tumbleweed
548 #, no-wrap
549 msgid "$B< rm -f $LD_PROFILE_OUTPUT/$LD_PROFILE.profile>;\n"
550 msgstr "$B< rm -f $LD_PROFILE_OUTPUT/$LD_PROFILE.profile>;\n"
551
552 #. type: Plain text
553 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
554 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
555 msgid ""
556 "We then run the program to produce the profiling output, which is written to "
557 "a file in the directory specified in B<LD_PROFILE_OUTPUT>:"
558 msgstr ""
559 "Puis, nous lançons le programme pour produire la sortie de profilage, écrite "
560 "dans un fichier du répertoire indiqué dans B<LD_PROFILE_OUTPUT> :"
561
562 #. type: Plain text
563 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
564 #: opensuse-tumbleweed
565 #, no-wrap
566 msgid ""
567 "$B< LD_LIBRARY_PATH=.\\& ./prog>;\n"
568 "$B< ls prof_data>;\n"
569 "libdemo.so.1.profile\n"
570 msgstr ""
571 "$B< LD_LIBRARY_PATH=.\\& ./prog>;\n"
572 "$B< ls prof_data>;\n"
573 "libdemo.so.1.profile\n"
574
575 #. type: Plain text
576 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
577 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
578 msgid ""
579 "We then use the B<sprof -p> option to generate a flat profile with counts "
580 "and ticks:"
581 msgstr ""
582 "Nous utilisons alors l'option B<sprof -p> pour générer un fichier de "
583 "profilage plat avec le nombre d'appels et de tics :"
584
585 #. type: Plain text
586 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
587 #: opensuse-tumbleweed
588 #, no-wrap
589 msgid ""
590 "$B< sprof -p libdemo.so.1 $LD_PROFILE_OUTPUT/libdemo.so.1.profile>;\n"
591 "Flat profile:\n"
592 "\\&\n"
593 "Each sample counts as 0.01 seconds.\n"
594 " % cumulative self self total\n"
595 " time seconds seconds calls us/call us/call name\n"
596 " 60.00 0.06 0.06 100 600.00 consumeCpu1\n"
597 " 40.00 0.10 0.04 1000 40.00 consumeCpu2\n"
598 " 0.00 0.10 0.00 1 0.00 x1\n"
599 " 0.00 0.10 0.00 1 0.00 x2\n"
600 msgstr ""
601 "$B< sprof -p libdemo.so.1 $LD_PROFILE_OUTPUT/libdemo.so.1.profile>;\n"
602 "Flat profile:\n"
603 "\\&\n"
604 "Chaque échantillon est compté toutes les 0.01 secondes.\n"
605 " % cumulative self self total\n"
606 " time seconds seconds calls us/call us/call name\n"
607 " 60.00 0.06 0.06 100 600.00 consumeCpu1\n"
608 " 40.00 0.10 0.04 1000 40.00 consumeCpu2\n"
609 " 0.00 0.10 0.00 1 0.00 x1\n"
610 " 0.00 0.10 0.00 1 0.00 x2\n"
611
612 #. type: Plain text
613 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
614 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
615 msgid "The B<sprof -q> option generates a call graph:"
616 msgstr "L'option B<sprof -q> génère un graphe d'appel :"
617
618 #. type: Plain text
619 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
620 #: opensuse-tumbleweed
621 #, no-wrap
622 msgid ""
623 "$B< sprof -q libdemo.so.1 $LD_PROFILE_OUTPUT/libdemo.so.1.profile>;\n"
624 "\\&\n"
625 "index % time self children called name\n"
626 "\\&\n"
627 " 0.00 0.00 100/100 x1 [1]\n"
628 "[0] 100.0 0.00 0.00 100 consumeCpu1 [0]\n"
629 "-----------------------------------------------\n"
630 " 0.00 0.00 1/1 E<lt>UNKNOWNE<gt>\n"
631 "[1] 0.0 0.00 0.00 1 x1 [1]\n"
632 " 0.00 0.00 100/100 consumeCpu1 [0]\n"
633 "-----------------------------------------------\n"
634 " 0.00 0.00 1000/1000 x2 [3]\n"
635 "[2] 0.0 0.00 0.00 1000 consumeCpu2 [2]\n"
636 "-----------------------------------------------\n"
637 " 0.00 0.00 1/1 E<lt>UNKNOWNE<gt>\n"
638 "[3] 0.0 0.00 0.00 1 x2 [3]\n"
639 " 0.00 0.00 1000/1000 consumeCpu2 [2]\n"
640 "-----------------------------------------------\n"
641 msgstr ""
642 "$B< sprof -q libdemo.so.1 $LD_PROFILE_OUTPUT/libdemo.so.1.profile>;\n"
643 "\\&\n"
644 "index % time self children called name\n"
645 "\\&\n"
646 " 0.00 0.00 100/100 x1 [1]\n"
647 "[0] 100.0 0.00 0.00 100 consumeCpu1 [0]\n"
648 "-----------------------------------------------\n"
649 " 0.00 0.00 1/1 E<lt>UNKNOWNE<gt>\n"
650 "[1] 0.0 0.00 0.00 1 x1 [1]\n"
651 " 0.00 0.00 100/100 consumeCpu1 [0]\n"
652 "-----------------------------------------------\n"
653 " 0.00 0.00 1000/1000 x2 [3]\n"
654 "[2] 0.0 0.00 0.00 1000 consumeCpu2 [2]\n"
655 "-----------------------------------------------\n"
656 " 0.00 0.00 1/1 E<lt>UNKNOWNE<gt>\n"
657 "[3] 0.0 0.00 0.00 1 x2 [3]\n"
658 " 0.00 0.00 1000/1000 consumeCpu2 [2]\n"
659 "-----------------------------------------------\n"
660
661 #. type: Plain text
662 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
663 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
664 msgid ""
665 "Above and below, the \"E<lt>UNKNOWNE<gt>\" strings represent identifiers "
666 "that are outside of the profiled object (in this example, these are "
667 "instances of I<main()>)."
668 msgstr ""
669 "Ci-dessus et ci-dessous, les chaînes \"E<lt>UNKNOWNE<gt>\" représentent les "
670 "identifiants à l'extérieur du fichier de l'objet examiné (dans cet exemple, "
671 "il s'agit des instances de I<main()>)."
672
673 #. type: Plain text
674 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
675 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
676 msgid ""
677 "The B<sprof -c> option generates a list of call pairs and the number of "
678 "their occurrences:"
679 msgstr ""
680 "L'option B<sprof -c> génère une liste d’une paire d’appels et du nombre de "
681 "leurs occurrences :"
682
683 #. type: Plain text
684 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
685 #: opensuse-tumbleweed
686 #, no-wrap
687 msgid ""
688 "$B< sprof -c libdemo.so.1 $LD_PROFILE_OUTPUT/libdemo.so.1.profile>;\n"
689 "E<lt>UNKNOWNE<gt> x1 1\n"
690 "x1 consumeCpu1 100\n"
691 "E<lt>UNKNOWNE<gt> x2 1\n"
692 "x2 consumeCpu2 1000\n"
693 msgstr ""
694 "$B< sprof -c libdemo.so.1 $LD_PROFILE_OUTPUT/libdemo.so.1.profile>;\n"
695 "E<lt>UNKNOWNE<gt> x1 1\n"
696 "x1 consumeCpu1 100\n"
697 "E<lt>UNKNOWNE<gt> x2 1\n"
698 "x2 consumeCpu2 1000\n"
699
700 #. type: SH
701 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
702 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
703 #, no-wrap
704 msgid "SEE ALSO"
705 msgstr "VOIR AUSSI"
706
707 #. type: Plain text
708 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
709 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
710 msgid "B<gprof>(1), B<ldd>(1), B<ld.so>(8)"
711 msgstr "B<gprof>(1), B<ldd>(1), B<ld.so>(8)"
712
713 #. type: TH
714 #: debian-trixie
715 #, no-wrap
716 msgid "2024-06-15"
717 msgstr "15 juin 2024"
718
719 #. type: TH
720 #: debian-trixie
721 #, no-wrap
722 msgid "Linux man-pages 6.9.1"
723 msgstr "Pages du manuel de Linux 6.9.1"
724
725 #. type: Plain text
726 #: debian-trixie
727 #, no-wrap
728 msgid "B<sprof> [I<option>]... I<shared-object-path> [I<profile-data-path>]\n"
729 msgstr "B<sprof> [I<option>]... I<chemin_objet_partagé> [I<chemin_données_profil>]\n"
730
731 #. type: Plain text
732 #: debian-trixie fedora-44 fedora-rawhide
733 #, no-wrap
734 msgid ""
735 "$ B<cat prog.c>\n"
736 "#include E<lt>stdlib.hE<gt>\n"
737 "\\&\n"
738 "void x1(void);\n"
739 "void x2(void);\n"
740 "\\&\n"
741 "int\n"
742 "main(int argc, char *argv[])\n"
743 "{\n"
744 " x1();\n"
745 " x2();\n"
746 " exit(EXIT_SUCCESS);\n"
747 "}\n"
748 msgstr ""
749 "$ B<cat prog.c>\n"
750 "#include E<lt>stdlib.hE<gt>\n"
751 "\\&\n"
752 "void x1(void);\n"
753 "void x2(void);\n"
754 "\\&\n"
755 "int\n"
756 "main(int argc, char *argv[])\n"
757 "{\n"
758 " x1();\n"
759 " x2();\n"
760 " exit(EXIT_SUCCESS);\n"
761 "}\n"
762
763 #. type: Plain text
764 #: debian-trixie fedora-44 fedora-rawhide
765 #, no-wrap
766 msgid ""
767 "$ B<cat libdemo.c>\n"
768 "#include E<lt>unistd.hE<gt>\n"
769 "\\&\n"
770 "void\n"
771 "consumeCpu1(int lim)\n"
772 "{\n"
773 " for (unsigned int j = 0; j E<lt> lim; j++)\n"
774 "\tgetppid();\n"
775 "}\n"
776 "\\&\n"
777 "void\n"
778 "x1(void) {\n"
779 " for (unsigned int j = 0; j E<lt> 100; j++)\n"
780 "\tconsumeCpu1(200000);\n"
781 "}\n"
782 "\\&\n"
783 "void\n"
784 "consumeCpu2(int lim)\n"
785 "{\n"
786 " for (unsigned int j = 0; j E<lt> lim; j++)\n"
787 "\tgetppid();\n"
788 "}\n"
789 "\\&\n"
790 "void\n"
791 "x2(void)\n"
792 "{\n"
793 " for (unsigned int j = 0; j E<lt> 1000; j++)\n"
794 "\tconsumeCpu2(10000);\n"
795 "}\n"
796 msgstr ""
797 "$ B<cat libdemo.c>\n"
798 "#include E<lt>unistd.hE<gt>\n"
799 "\\&\n"
800 "void\n"
801 "consumeCpu1(int lim)\n"
802 "{\n"
803 " for (unsigned int j = 0; j E<lt> lim; j++)\n"
804 "\tgetppid();\n"
805 "}\n"
806 "\\&\n"
807 "void\n"
808 "x1(void) {\n"
809 " for (unsigned int j = 0; j E<lt> 100; j++)\n"
810 "\tconsumeCpu1(200000);\n"
811 "}\n"
812 "\\&\n"
813 "void\n"
814 "consumeCpu2(int lim)\n"
815 "{\n"
816 " for (unsigned int j = 0; j E<lt> lim; j++)\n"
817 "\tgetppid();\n"
818 "}\n"
819 "\\&\n"
820 "void\n"
821 "x2(void)\n"
822 "{\n"
823 " for (unsigned int j = 0; j E<lt> 1000; j++)\n"
824 "\tconsumeCpu2(10000);\n"
825 "}\n"
826
827 #. type: Plain text
828 #: debian-trixie fedora-44 fedora-rawhide
829 #, no-wrap
830 msgid ""
831 "$ B<cc -g -fPIC -shared -Wl,-soname,libdemo.so.1 \\[rs]>\n"
832 " B<-o libdemo.so.1.0.1 libdemo.c>\n"
833 msgstr ""
834 "$ B<cc -g -fPIC -shared -Wl,-soname,libdemo.so.1 \\[rs]>\n"
835 " B<-o libdemo.so.1.0.1 libdemo.c>\n"
836
837 #. type: Plain text
838 #: debian-trixie fedora-44 fedora-rawhide
839 #, no-wrap
840 msgid ""
841 "$ B<ln -sf libdemo.so.1.0.1 libdemo.so.1>\n"
842 "$ B<ln -sf libdemo.so.1 libdemo.so>\n"
843 msgstr ""
844 "$ B<ln -sf libdemo.so.1.0.1 libdemo.so.1>\n"
845 "$ B<ln -sf libdemo.so.1 libdemo.so>\n"
846
847 #. type: Plain text
848 #: debian-trixie fedora-44 fedora-rawhide
849 #, no-wrap
850 msgid ""
851 "$ B<cc -g -o prog prog.c -L. -ldemo>\n"
852 "$ B<ldd prog>\n"
853 "\tlinux-vdso.so.1 =E<gt> (0x00007fff86d66000)\n"
854 "\tlibdemo.so.1 =E<gt> not found\n"
855 "\tlibc.so.6 =E<gt> /lib64/libc.so.6 (0x00007fd4dc138000)\n"
856 "\t/lib64/ld-linux-x86-64.so.2 (0x00007fd4dc51f000)\n"
857 msgstr ""
858 "$ B<cc -g -o prog prog.c -L. -ldemo>\n"
859 "$ B<ldd prog>\n"
860 "\tlinux-vdso.so.1 =E<gt> (0x00007fff86d66000)\n"
861 "\tlibdemo.so.1 =E<gt> not found\n"
862 "\tlibc.so.6 =E<gt> /lib64/libc.so.6 (0x00007fd4dc138000)\n"
863 "\t/lib64/ld-linux-x86-64.so.2 (0x00007fd4dc51f000)\n"
864
865 #. type: Plain text
866 #: debian-trixie fedora-44 fedora-rawhide
867 #, no-wrap
868 msgid "$ B<export LD_PROFILE=libdemo.so.1>\n"
869 msgstr "$ B<export LD_PROFILE=libdemo.so.1>\n"
870
871 #. type: Plain text
872 #: debian-trixie fedora-44 fedora-rawhide
873 #, no-wrap
874 msgid ""
875 "$ B<export LD_PROFILE_OUTPUT=$(pwd)/prof_data>\n"
876 "$ B<mkdir -p $LD_PROFILE_OUTPUT>\n"
877 msgstr ""
878 "$ B<export LD_PROFILE_OUTPUT=$(pwd)/prof_data>\n"
879 "$ B<mkdir -p $LD_PROFILE_OUTPUT>\n"
880
881 #. type: Plain text
882 #: debian-trixie fedora-44 fedora-rawhide
883 #, no-wrap
884 msgid "$ B<rm -f $LD_PROFILE_OUTPUT/$LD_PROFILE.profile>\n"
885 msgstr "$ B<rm -f $LD_PROFILE_OUTPUT/$LD_PROFILE.profile>\n"
886
887 #. type: Plain text
888 #: debian-trixie fedora-44 fedora-rawhide
889 #, no-wrap
890 msgid ""
891 "$ B<LD_LIBRARY_PATH=. ./prog>\n"
892 "$ B<ls prof_data>\n"
893 "libdemo.so.1.profile\n"
894 msgstr ""
895 "$ B<LD_LIBRARY_PATH=. ./prog>\n"
896 "$ B<ls prof_data>\n"
897 "libdemo.so.1.profile\n"
898
899 #. type: Plain text
900 #: debian-trixie fedora-44 fedora-rawhide
901 #, no-wrap
902 msgid ""
903 "$ B<sprof -p libdemo.so.1 $LD_PROFILE_OUTPUT/libdemo.so.1.profile>\n"
904 "Flat profile:\n"
905 "\\&\n"
906 "Each sample counts as 0.01 seconds.\n"
907 " % cumulative self self total\n"
908 " time seconds seconds calls us/call us/call name\n"
909 " 60.00 0.06 0.06 100 600.00 consumeCpu1\n"
910 " 40.00 0.10 0.04 1000 40.00 consumeCpu2\n"
911 " 0.00 0.10 0.00 1 0.00 x1\n"
912 " 0.00 0.10 0.00 1 0.00 x2\n"
913 msgstr ""
914 "$ B<sprof -p libdemo.so.1 $LD_PROFILE_OUTPUT/libdemo.so.1.profile>\n"
915 "Flat profile:\n"
916 "\\&\n"
917 "Chaque échantillon est compté toutes les 0.01 secondes.\n"
918 " % cumulative self self total\n"
919 " time seconds seconds calls us/call us/call name\n"
920 " 60.00 0.06 0.06 100 600.00 consumeCpu1\n"
921 " 40.00 0.10 0.04 1000 40.00 consumeCpu2\n"
922 " 0.00 0.10 0.00 1 0.00 x1\n"
923 " 0.00 0.10 0.00 1 0.00 x2\n"
924
925 #. type: Plain text
926 #: debian-trixie fedora-44 fedora-rawhide
927 #, no-wrap
928 msgid ""
929 "$ B<sprof -q libdemo.so.1 $LD_PROFILE_OUTPUT/libdemo.so.1.profile>\n"
930 "\\&\n"
931 "index % time self children called name\n"
932 "\\&\n"
933 " 0.00 0.00 100/100 x1 [1]\n"
934 "[0] 100.0 0.00 0.00 100 consumeCpu1 [0]\n"
935 "-----------------------------------------------\n"
936 " 0.00 0.00 1/1 E<lt>UNKNOWNE<gt>\n"
937 "[1] 0.0 0.00 0.00 1 x1 [1]\n"
938 " 0.00 0.00 100/100 consumeCpu1 [0]\n"
939 "-----------------------------------------------\n"
940 " 0.00 0.00 1000/1000 x2 [3]\n"
941 "[2] 0.0 0.00 0.00 1000 consumeCpu2 [2]\n"
942 "-----------------------------------------------\n"
943 " 0.00 0.00 1/1 E<lt>UNKNOWNE<gt>\n"
944 "[3] 0.0 0.00 0.00 1 x2 [3]\n"
945 " 0.00 0.00 1000/1000 consumeCpu2 [2]\n"
946 "-----------------------------------------------\n"
947 msgstr ""
948 "$ B<sprof -q libdemo.so.1 $LD_PROFILE_OUTPUT/libdemo.so.1.profile>\n"
949 "\\&\n"
950 "index % time self children called name\n"
951 "\\&\n"
952 " 0.00 0.00 100/100 x1 [1]\n"
953 "[0] 100.0 0.00 0.00 100 consumeCpu1 [0]\n"
954 "-----------------------------------------------\n"
955 " 0.00 0.00 1/1 E<lt>UNKNOWNE<gt>\n"
956 "[1] 0.0 0.00 0.00 1 x1 [1]\n"
957 " 0.00 0.00 100/100 consumeCpu1 [0]\n"
958 "-----------------------------------------------\n"
959 " 0.00 0.00 1000/1000 x2 [3]\n"
960 "[2] 0.0 0.00 0.00 1000 consumeCpu2 [2]\n"
961 "-----------------------------------------------\n"
962 " 0.00 0.00 1/1 E<lt>UNKNOWNE<gt>\n"
963 "[3] 0.0 0.00 0.00 1 x2 [3]\n"
964 " 0.00 0.00 1000/1000 consumeCpu2 [2]\n"
965 "-----------------------------------------------\n"
966
967 #. type: Plain text
968 #: debian-trixie fedora-44 fedora-rawhide
969 #, no-wrap
970 msgid ""
971 "$ B<sprof -c libdemo.so.1 $LD_PROFILE_OUTPUT/libdemo.so.1.profile>\n"
972 "E<lt>UNKNOWNE<gt> x1 1\n"
973 "x1 consumeCpu1 100\n"
974 "E<lt>UNKNOWNE<gt> x2 1\n"
975 "x2 consumeCpu2 1000\n"
976 msgstr ""
977 "$ B<sprof -c libdemo.so.1 $LD_PROFILE_OUTPUT/libdemo.so.1.profile>\n"
978 "E<lt>UNKNOWNE<gt> x1 1\n"
979 "x1 consumeCpu1 100\n"
980 "E<lt>UNKNOWNE<gt> x2 1\n"
981 "x2 consumeCpu2 1000\n"
982
983 #. type: TH
984 #: fedora-44 fedora-rawhide
985 #, no-wrap
986 msgid "2024-11-25"
987 msgstr "25 novembre 2024"
988
989 #. type: TH
990 #: fedora-44 fedora-rawhide
991 #, no-wrap
992 msgid "Linux man-pages 6.13"
993 msgstr "Pages du manuel de Linux 6.13"
994
995 #. type: TH
996 #: mageia-cauldron
997 #, no-wrap
998 msgid "Linux man-pages 6.17"
999 msgstr "Pages du manuel de Linux 6.17"
1000
1001 #. type: TH
1002 #: opensuse-leap-16-1 opensuse-tumbleweed
1003 #, no-wrap
1004 msgid "Linux man-pages (unreleased)"
1005 msgstr "Pages du manuel de Linux (non publiées)"