Debian Codegraph @

po/ar/man1/sprof.1.po

raw
1 # Arabic translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # زايد السعيدي <[email protected]>, 2026.
5
6 msgid ""
7 msgstr ""
8 "Project-Id-Version: manpages-l10n 4.30.2\n"
9 "POT-Creation-Date: 2026-06-05 06:44+0200\n"
10 "PO-Revision-Date: 2026-06-05 22:43+0400\n"
11 "Last-Translator: Zayed Al-Saidi <[email protected]>\n"
12 "Language-Team: Arabic <[email protected]>\n"
13 "Language: ar\n"
14 "MIME-Version: 1.0\n"
15 "Content-Type: text/plain; charset=UTF-8\n"
16 "Content-Transfer-Encoding: 8bit\n"
17 "Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 &&"
18 " n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"
19 "X-Generator: Lokalize 23.08.5\n"
20
21 #. #-#-#-#-# archlinux: sprof.1.pot (PACKAGE VERSION) #-#-#-#-#
22 #. type: SY
23 #. #-#-#-#-# debian-trixie: sprof.1.pot (PACKAGE VERSION) #-#-#-#-#
24 #. type: TH
25 #. #-#-#-#-# debian-unstable: sprof.1.pot (PACKAGE VERSION) #-#-#-#-#
26 #. type: SY
27 #. #-#-#-#-# fedora-44: sprof.1.pot (PACKAGE VERSION) #-#-#-#-#
28 #. type: SY
29 #. #-#-#-#-# fedora-rawhide: sprof.1.pot (PACKAGE VERSION) #-#-#-#-#
30 #. type: SY
31 #. #-#-#-#-# mageia-cauldron: sprof.1.pot (PACKAGE VERSION) #-#-#-#-#
32 #. type: SY
33 #. #-#-#-#-# opensuse-leap-16-1: sprof.1.pot (PACKAGE VERSION) #-#-#-#-#
34 #. type: SY
35 #. #-#-#-#-# opensuse-tumbleweed: sprof.1.pot (PACKAGE VERSION) #-#-#-#-#
36 #. type: SY
37 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
38 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
39 #, no-wrap
40 msgid "sprof"
41 msgstr "sprof"
42
43 #. type: TH
44 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
45 #: opensuse-tumbleweed
46 #, no-wrap
47 msgid "2026-02-08"
48 msgstr "8 فبراير 2026"
49
50 #. type: TH
51 #: archlinux debian-unstable
52 #, no-wrap
53 msgid "Linux man-pages 6.18"
54 msgstr "صفحات دليل لينكس 6.18"
55
56 #. type: SH
57 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
58 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
59 #, no-wrap
60 msgid "NAME"
61 msgstr "الاسم"
62
63 #. type: Plain text
64 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
65 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
66 msgid "sprof - read and display shared object profiling data"
67 msgstr "sprof - قراءة وعرض بيانات التنميط للكائنات المشتركة"
68
69 #. type: SH
70 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
71 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
72 #, no-wrap
73 msgid "SYNOPSIS"
74 msgstr "موجز"
75
76 #. type: Plain text
77 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
78 #: opensuse-leap-16-1 opensuse-tumbleweed
79 #| msgid ""
80 #| "[I<option>\\~.\\|.\\|.\\&] I<shared-object-path> [I<profile-data-path>]"
81 msgid "[I<option>\\ .\\|.\\|.\\&] I<shared-object-path> [I<profile-data-path>]"
82 msgstr ""
83 "[I<option>\\ .\\|.\\|.\\&] I<shared-object-path> [I<profile-data-path>]"
84
85 #. type: SH
86 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
87 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
88 #, no-wrap
89 msgid "DESCRIPTION"
90 msgstr "الوصف"
91
92 #. type: Plain text
93 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
94 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
95 msgid ""
96 "The B<sprof> command displays a profiling summary for the shared object "
97 "(shared library) specified as its first command-line argument. The "
98 "profiling summary is created using previously generated profiling data in "
99 "the (optional) second command-line argument. If the profiling data pathname "
100 "is omitted, then B<sprof> will attempt to deduce it using the soname of the "
101 "shared object, looking for a file with the name I<E<lt>sonameE<gt>.profile> "
102 "in the current directory."
103 msgstr ""
104 "يعرض أمر B<sprof> ملخص تنميط للكائن المشترك (المكتبة المشتركة) المحدد كوسيط "
105 "سطر أوامر أول. يُنشأ ملخص التنميط باستخدام بيانات تنميط مولدة سابقًا في"
106 " الوسيط "
107 "الثاني (الاختياري) لسطر الأوامر. إذا حُذف مسار بيانات التنميط، يحاول B<sprof> "
108 "استنتاجه باستخدام اسم الصدى للكائن المشترك، باحثًا عن ملف باسم I<E<lt>اسم-"
109 "الصدىE<gt>.profile> في الدليل الحالي."
110
111 #. type: SH
112 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
113 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
114 #, no-wrap
115 msgid "OPTIONS"
116 msgstr "الخيارات"
117
118 #. type: Plain text
119 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
120 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
121 msgid ""
122 "The following command-line options specify the profile output to be produced:"
123 msgstr "تحدد خيارات سطر الأوامر التالية مخرجات التنميط المراد إنتاجها:"
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: TP
133 #. type: TQ
134 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
135 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
136 #, no-wrap
137 msgid "B<-c>"
138 msgstr "B<-c>"
139
140 #. type: Plain text
141 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
142 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
143 msgid ""
144 "Print a list of pairs of call paths for the interfaces exported by the "
145 "shared object, along with the number of times each path is used."
146 msgstr ""
147 "اطبع قائمة بأزواج مسارات الاستدعاء للواجهات المصدرة بواسطة الكائن المشترك، "
148 "مع عدد مرات استخدام كل مسار."
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: TP
158 #. type: TQ
159 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
160 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
161 #, no-wrap
162 msgid "B<-p>"
163 msgstr "B<-p>"
164
165 #. type: Plain text
166 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
167 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
168 msgid ""
169 "Generate a flat profile of all of the functions in the monitored object, "
170 "with counts and ticks."
171 msgstr ""
172 "وَلّد تنميطًا مسطحًا لجميع الدوال في الكائن المراقب، مع العدادات والنقرات."
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: TP
182 #. type: TQ
183 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
184 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
185 #, no-wrap
186 msgid "B<-q>"
187 msgstr "B<-q>"
188
189 #. type: Plain text
190 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
191 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
192 msgid "Generate a call graph."
193 msgstr "وَلّد رسمًا بيانيًا للاستدعاءات."
194
195 #. type: Plain text
196 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
197 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
198 msgid ""
199 "If none of the above options is specified, then the default behavior is to "
200 "display a flat profile and a call graph."
201 msgstr ""
202 "إذا لم يُحدد أي من الخيارات أعلاه، يكون السلوك المبدئي عرض تنميط مسطح ورسم "
203 "بياني للاستدعاءات."
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
211 # type: TP
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
232 #. type: TP
233 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
234 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
235 #, no-wrap
236 msgid "B<--usage>"
237 msgstr "B<--usage>"
238
239 #. type: Plain text
240 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
241 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
242 msgid "Display a short usage message and exit."
243 msgstr "اعرض رسالة استخدام قصيرة واخرج."
244
245 # type: TP
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 "اعرض إصدار البرنامج واخرج."
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 "المعايير"
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 "أمثلة"
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 "يوضح المثال التالي استخدام B<sprof>. يتكون المثال من برنامج رئيس يستدعي "
295 "دالتين في كائن مشترك. أولاً، كود البرنامج الرئيس:"
296
297 #. type: Plain text
298 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
299 #: opensuse-tumbleweed
300 #, no-wrap
301 msgid ""
302 "$B< cat prog.c>;\n"
303 "#include E<lt>stdlib.hE<gt>\n"
304 "\\&\n"
305 "void x1(void);\n"
306 "void x2(void);\n"
307 "\\&\n"
308 "int\n"
309 "main(int argc, char *argv[])\n"
310 "{\n"
311 " x1();\n"
312 " x2();\n"
313 " exit(EXIT_SUCCESS);\n"
314 "}\n"
315 msgstr ""
316 "$B< cat prog.c>;\n"
317 "#include E<lt>stdlib.hE<gt>\n"
318 "\\&\n"
319 "void x1(void);\n"
320 "void x2(void);\n"
321 "\\&\n"
322 "int\n"
323 "main(int argc, char *argv[])\n"
324 "{\n"
325 " x1();\n"
326 " x2();\n"
327 " exit(EXIT_SUCCESS);\n"
328 "}\n"
329
330 #. type: Plain text
331 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
332 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
333 msgid ""
334 "The functions I<x1>() and I<x2>() are defined in the following source file "
335 "that is used to construct the shared object:"
336 msgstr ""
337 "تُعرف الدالتان I<x1>() و I<x2>() في ملف المصدر التالي المستخدم لبناء الكائن "
338 "المشترك:"
339
340 #. type: Plain text
341 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
342 #: opensuse-tumbleweed
343 #, no-wrap
344 msgid ""
345 "$B< cat libdemo.c>;\n"
346 "#include E<lt>unistd.hE<gt>\n"
347 "\\&\n"
348 "void\n"
349 "consumeCpu1(int lim)\n"
350 "{\n"
351 " for (unsigned int j = 0; j E<lt> lim; j++)\n"
352 "\tgetppid();\n"
353 "}\n"
354 "\\&\n"
355 "void\n"
356 "x1(void) {\n"
357 " for (unsigned int j = 0; j E<lt> 100; j++)\n"
358 "\tconsumeCpu1(200000);\n"
359 "}\n"
360 "\\&\n"
361 "void\n"
362 "consumeCpu2(int lim)\n"
363 "{\n"
364 " for (unsigned int j = 0; j E<lt> lim; j++)\n"
365 "\tgetppid();\n"
366 "}\n"
367 "\\&\n"
368 "void\n"
369 "x2(void)\n"
370 "{\n"
371 " for (unsigned int j = 0; j E<lt> 1000; j++)\n"
372 "\tconsumeCpu2(10000);\n"
373 "}\n"
374 msgstr ""
375 "$B< cat libdemo.c>;\n"
376 "#include E<lt>unistd.hE<gt>\n"
377 "\\&\n"
378 "void\n"
379 "consumeCpu1(int lim)\n"
380 "{\n"
381 " for (unsigned int j = 0; j E<lt> lim; j++)\n"
382 "\tgetppid();\n"
383 "}\n"
384 "\\&\n"
385 "void\n"
386 "x1(void) {\n"
387 " for (unsigned int j = 0; j E<lt> 100; j++)\n"
388 "\tconsumeCpu1(200000);\n"
389 "}\n"
390 "\\&\n"
391 "void\n"
392 "consumeCpu2(int lim)\n"
393 "{\n"
394 " for (unsigned int j = 0; j E<lt> lim; j++)\n"
395 "\tgetppid();\n"
396 "}\n"
397 "\\&\n"
398 "void\n"
399 "x2(void)\n"
400 "{\n"
401 " for (unsigned int j = 0; j E<lt> 1000; j++)\n"
402 "\tconsumeCpu2(10000);\n"
403 "}\n"
404
405 #. type: Plain text
406 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
407 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
408 msgid ""
409 "Now we construct the shared object with the real name I<libdemo.so.1.0.1>, "
410 "and the soname I<libdemo.so.1>:"
411 msgstr ""
412 "الآن نبني الكائن المشترك بالاسم الحقيقي I<libdemo.so.1.0.1>، واسم الصدى "
413 "I<libdemo.so.1>:"
414
415 #. type: Plain text
416 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
417 #: opensuse-tumbleweed
418 #, no-wrap
419 msgid ""
420 "$B< cc -g -fPIC -shared -Wl,-soname,libdemo.so.1 \\[rs]>\n"
421 "B< -o libdemo.so.1.0.1 libdemo.c>;\n"
422 msgstr ""
423 "$B< cc -g -fPIC -shared -Wl,-soname,libdemo.so.1 \\[rs]>\n"
424 "B< -o libdemo.so.1.0.1 libdemo.c>;\n"
425
426 #. type: Plain text
427 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
428 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
429 msgid ""
430 "Then we construct symbolic links for the library soname and the library "
431 "linker name:"
432 msgstr "ثم نبني روابط رمزية لاسم الصدى للمكتبة واسم رابط المكتبة:"
433
434 #. type: Plain text
435 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
436 #: opensuse-tumbleweed
437 #, no-wrap
438 msgid ""
439 "$B< ln -sf libdemo.so.1.0.1 libdemo.so.1>;\n"
440 "$B< ln -sf libdemo.so.1 libdemo.so>;\n"
441 msgstr ""
442 "$B< ln -sf libdemo.so.1.0.1 libdemo.so.1>;\n"
443 "$B< ln -sf libdemo.so.1 libdemo.so>;\n"
444
445 #. type: Plain text
446 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
447 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
448 msgid ""
449 "Next, we compile the main program, linking it against the shared object, and "
450 "then list the dynamic dependencies of the program:"
451 msgstr ""
452 "بعد ذلك، نُجمّع البرنامج الرئيس، رابطًا إياه مع الكائن المشترك، ثم نسرد "
453 "التبعيات الديناميكية للبرنامج:"
454
455 #. type: Plain text
456 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
457 #: opensuse-tumbleweed
458 #, no-wrap
459 msgid ""
460 "$B< cc -g -o prog prog.c -L.\\& -ldemo>;\n"
461 "$B< ldd prog>;\n"
462 "\tlinux-vdso.so.1 =E<gt> (0x00007fff86d66000)\n"
463 "\tlibdemo.so.1 =E<gt> not found\n"
464 "\tlibc.so.6 =E<gt> /lib64/libc.so.6 (0x00007fd4dc138000)\n"
465 "\t/lib64/ld-linux-x86-64.so.2 (0x00007fd4dc51f000)\n"
466 msgstr ""
467 "$B< cc -g -o prog prog.c -L.\\& -ldemo>;\n"
468 "$B< ldd prog>;\n"
469 "\tlinux-vdso.so.1 =E<gt> (0x00007fff86d66000)\n"
470 "\tlibdemo.so.1 =E<gt> not found\n"
471 "\tlibc.so.6 =E<gt> /lib64/libc.so.6 (0x00007fd4dc138000)\n"
472 "\t/lib64/ld-linux-x86-64.so.2 (0x00007fd4dc51f000)\n"
473
474 #. type: Plain text
475 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
476 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
477 msgid ""
478 "In order to get profiling information for the shared object, we define the "
479 "environment variable B<LD_PROFILE> with the soname of the library:"
480 msgstr ""
481 "للحصول على معلومات التنميط للكائن المشترك، نُعرِّف متغير البيئة B<LD_PROFILE> "
482 "باسم الصدى للمكتبة:"
483
484 #. type: Plain text
485 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
486 #: opensuse-tumbleweed
487 #, no-wrap
488 msgid "$B< export LD_PROFILE=libdemo.so.1>;\n"
489 msgstr "$B< export LD_PROFILE=libdemo.so.1>;\n"
490
491 #. type: Plain text
492 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
493 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
494 msgid ""
495 "We then define the environment variable B<LD_PROFILE_OUTPUT> with the "
496 "pathname of the directory where profile output should be written, and create "
497 "that directory if it does not exist already:"
498 msgstr ""
499 "ثم نُعرِّف متغير البيئة B<LD_PROFILE_OUTPUT> بمسار الدليل حيث يجب كتابة"
500 " مخرجات "
501 "التنميط، وننشئ ذلك الدليل إذا لم يكن موجودًا بالفعل:"
502
503 #. type: Plain text
504 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
505 #: opensuse-tumbleweed
506 #, no-wrap
507 msgid ""
508 "$B< export LD_PROFILE_OUTPUT=$(pwd)/prof_data>;\n"
509 "$B< mkdir -p $LD_PROFILE_OUTPUT>;\n"
510 msgstr ""
511 "$B< export LD_PROFILE_OUTPUT=$(pwd)/prof_data>;\n"
512 "$B< mkdir -p $LD_PROFILE_OUTPUT>;\n"
513
514 #. type: Plain text
515 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
516 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
517 msgid ""
518 "B<LD_PROFILE> causes profiling output to be I<appended> to the output file "
519 "if it already exists, so we ensure that there is no preexisting profiling "
520 "data:"
521 msgstr ""
522 "يتسبب B<LD_PROFILE> في I<إلحاق> مخرجات التنميط بملف المخرجات إذا كان موجودًا "
523 "بالفعل، لذا نضمن عدم وجود بيانات تنميط سابقة:"
524
525 #. type: Plain text
526 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
527 #: opensuse-tumbleweed
528 #, no-wrap
529 msgid "$B< rm -f $LD_PROFILE_OUTPUT/$LD_PROFILE.profile>;\n"
530 msgstr "$B< rm -f $LD_PROFILE_OUTPUT/$LD_PROFILE.profile>;\n"
531
532 #. type: Plain text
533 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
534 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
535 msgid ""
536 "We then run the program to produce the profiling output, which is written to "
537 "a file in the directory specified in B<LD_PROFILE_OUTPUT>:"
538 msgstr ""
539 "ثم نشغل البرنامج لإنتاج مخرجات التنميط، التي تُكتب إلى ملف في الدليل المحدد "
540 "في B<LD_PROFILE_OUTPUT>:"
541
542 #. type: Plain text
543 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
544 #: opensuse-tumbleweed
545 #, no-wrap
546 msgid ""
547 "$B< LD_LIBRARY_PATH=.\\& ./prog>;\n"
548 "$B< ls prof_data>;\n"
549 "libdemo.so.1.profile\n"
550 msgstr ""
551 "$B< LD_LIBRARY_PATH=.\\& ./prog>;\n"
552 "$B< ls prof_data>;\n"
553 "libdemo.so.1.profile\n"
554
555 #. type: Plain text
556 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
557 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
558 msgid ""
559 "We then use the B<sprof -p> option to generate a flat profile with counts "
560 "and ticks:"
561 msgstr "ثم نستخدم الخيار B<sprof -p> لتوليد تشكيلة مسطحة مع العد والنقرات:"
562
563 #. type: Plain text
564 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
565 #: opensuse-tumbleweed
566 #, no-wrap
567 msgid ""
568 "$B< sprof -p libdemo.so.1 $LD_PROFILE_OUTPUT/libdemo.so.1.profile>;\n"
569 "Flat profile:\n"
570 "\\&\n"
571 "Each sample counts as 0.01 seconds.\n"
572 " % cumulative self self total\n"
573 " time seconds seconds calls us/call us/call name\n"
574 " 60.00 0.06 0.06 100 600.00 consumeCpu1\n"
575 " 40.00 0.10 0.04 1000 40.00 consumeCpu2\n"
576 " 0.00 0.10 0.00 1 0.00 x1\n"
577 " 0.00 0.10 0.00 1 0.00 x2\n"
578 msgstr ""
579 "$B< sprof -p libdemo.so.1 $LD_PROFILE_OUTPUT/libdemo.so.1.profile>;\n"
580 "Flat profile:\n"
581 "\\&\n"
582 "Each sample counts as 0.01 seconds.\n"
583 " % cumulative self self total\n"
584 " time seconds seconds calls us/call us/call name\n"
585 " 60.00 0.06 0.06 100 600.00 consumeCpu1\n"
586 " 40.00 0.10 0.04 1000 40.00 consumeCpu2\n"
587 " 0.00 0.10 0.00 1 0.00 x1\n"
588 " 0.00 0.10 0.00 1 0.00 x2\n"
589
590 #. type: Plain text
591 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
592 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
593 msgid "The B<sprof -q> option generates a call graph:"
594 msgstr "الخيار B<sprof -q> يولد رسم بياني للاستدعاءات:"
595
596 #. type: Plain text
597 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
598 #: opensuse-tumbleweed
599 #, no-wrap
600 msgid ""
601 "$B< sprof -q libdemo.so.1 $LD_PROFILE_OUTPUT/libdemo.so.1.profile>;\n"
602 "\\&\n"
603 "index % time self children called name\n"
604 "\\&\n"
605 " 0.00 0.00 100/100 x1 [1]\n"
606 "[0] 100.0 0.00 0.00 100 consumeCpu1 [0]\n"
607 "-----------------------------------------------\n"
608 " 0.00 0.00 1/1 E<lt>UNKNOWNE<gt>\n"
609 "[1] 0.0 0.00 0.00 1 x1 [1]\n"
610 " 0.00 0.00 100/100 consumeCpu1 [0]\n"
611 "-----------------------------------------------\n"
612 " 0.00 0.00 1000/1000 x2 [3]\n"
613 "[2] 0.0 0.00 0.00 1000 consumeCpu2 [2]\n"
614 "-----------------------------------------------\n"
615 " 0.00 0.00 1/1 E<lt>UNKNOWNE<gt>\n"
616 "[3] 0.0 0.00 0.00 1 x2 [3]\n"
617 " 0.00 0.00 1000/1000 consumeCpu2 [2]\n"
618 "-----------------------------------------------\n"
619 msgstr ""
620 "$B< sprof -q libdemo.so.1 $LD_PROFILE_OUTPUT/libdemo.so.1.profile>;\n"
621 "\\&\n"
622 "index % time self children called name\n"
623 "\\&\n"
624 " 0.00 0.00 100/100 x1 [1]\n"
625 "[0] 100.0 0.00 0.00 100 consumeCpu1 [0]\n"
626 "-----------------------------------------------\n"
627 " 0.00 0.00 1/1 E<lt>UNKNOWNE<gt>\n"
628 "[1] 0.0 0.00 0.00 1 x1 [1]\n"
629 " 0.00 0.00 100/100 consumeCpu1 [0]\n"
630 "-----------------------------------------------\n"
631 " 0.00 0.00 1000/1000 x2 [3]\n"
632 "[2] 0.0 0.00 0.00 1000 consumeCpu2 [2]\n"
633 "-----------------------------------------------\n"
634 " 0.00 0.00 1/1 E<lt>UNKNOWNE<gt>\n"
635 "[3] 0.0 0.00 0.00 1 x2 [3]\n"
636 " 0.00 0.00 1000/1000 consumeCpu2 [2]\n"
637 "-----------------------------------------------\n"
638
639 #. type: Plain text
640 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
641 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
642 msgid ""
643 "Above and below, the \"E<lt>UNKNOWNE<gt>\" strings represent identifiers "
644 "that are outside of the profiled object (in this example, these are "
645 "instances of I<main()>)."
646 msgstr ""
647 "أعلاه وأسفل، السلاسل \"E<lt>UNKNOWNE<gt>\" تمثل معرفات خارج الكائن المُشكّل "
648 "(في هذا المثال، هذه حالات من I<main()>)."
649
650 #. type: Plain text
651 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
652 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
653 msgid ""
654 "The B<sprof -c> option generates a list of call pairs and the number of "
655 "their occurrences:"
656 msgstr "الخيار B<sprof -c> يولد قائمة بأزواج الاستدعاءات وعدد مرات حدوثها:"
657
658 #. type: Plain text
659 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
660 #: opensuse-tumbleweed
661 #, no-wrap
662 msgid ""
663 "$B< sprof -c libdemo.so.1 $LD_PROFILE_OUTPUT/libdemo.so.1.profile>;\n"
664 "E<lt>UNKNOWNE<gt> x1 1\n"
665 "x1 consumeCpu1 100\n"
666 "E<lt>UNKNOWNE<gt> x2 1\n"
667 "x2 consumeCpu2 1000\n"
668 msgstr ""
669 "$B< sprof -c libdemo.so.1 $LD_PROFILE_OUTPUT/libdemo.so.1.profile>;\n"
670 "E<lt>UNKNOWNE<gt> x1 1\n"
671 "x1 consumeCpu1 100\n"
672 "E<lt>UNKNOWNE<gt> x2 1\n"
673 "x2 consumeCpu2 1000\n"
674
675 #. type: SH
676 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
677 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
678 #, no-wrap
679 msgid "SEE ALSO"
680 msgstr "انظر أيضًا"
681
682 #. type: Plain text
683 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
684 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
685 msgid "B<gprof>(1), B<ldd>(1), B<ld.so>(8)"
686 msgstr "B<gprof>(1), B<ldd>(1), B<ld.so>(8)"
687
688 #. type: TH
689 #: debian-trixie
690 #, no-wrap
691 msgid "2024-06-15"
692 msgstr "15 يونيو 2024"
693
694 #. type: TH
695 #: debian-trixie
696 #, no-wrap
697 msgid "Linux man-pages 6.9.1"
698 msgstr "صفحات دليل لينكس 6.9.1"
699
700 #. type: Plain text
701 #: debian-trixie
702 #, no-wrap
703 msgid "B<sprof> [I<option>]... I<shared-object-path> [I<profile-data-path>]\n"
704 msgstr "B<sprof> [I<option>]... I<shared-object-path> [I<profile-data-path>]\n"
705
706 #. type: Plain text
707 #: debian-trixie fedora-44 fedora-rawhide
708 #, no-wrap
709 msgid ""
710 "$ B<cat prog.c>\n"
711 "#include E<lt>stdlib.hE<gt>\n"
712 "\\&\n"
713 "void x1(void);\n"
714 "void x2(void);\n"
715 "\\&\n"
716 "int\n"
717 "main(int argc, char *argv[])\n"
718 "{\n"
719 " x1();\n"
720 " x2();\n"
721 " exit(EXIT_SUCCESS);\n"
722 "}\n"
723 msgstr ""
724 "$ B<cat prog.c>\n"
725 "#include E<lt>stdlib.hE<gt>\n"
726 "\\&\n"
727 "void x1(void);\n"
728 "void x2(void);\n"
729 "\\&\n"
730 "int\n"
731 "main(int argc, char *argv[])\n"
732 "{\n"
733 " x1();\n"
734 " x2();\n"
735 " exit(EXIT_SUCCESS);\n"
736 "}\n"
737
738 #. type: Plain text
739 #: debian-trixie fedora-44 fedora-rawhide
740 #, no-wrap
741 msgid ""
742 "$ B<cat libdemo.c>\n"
743 "#include E<lt>unistd.hE<gt>\n"
744 "\\&\n"
745 "void\n"
746 "consumeCpu1(int lim)\n"
747 "{\n"
748 " for (unsigned int j = 0; j E<lt> lim; j++)\n"
749 "\tgetppid();\n"
750 "}\n"
751 "\\&\n"
752 "void\n"
753 "x1(void) {\n"
754 " for (unsigned int j = 0; j E<lt> 100; j++)\n"
755 "\tconsumeCpu1(200000);\n"
756 "}\n"
757 "\\&\n"
758 "void\n"
759 "consumeCpu2(int lim)\n"
760 "{\n"
761 " for (unsigned int j = 0; j E<lt> lim; j++)\n"
762 "\tgetppid();\n"
763 "}\n"
764 "\\&\n"
765 "void\n"
766 "x2(void)\n"
767 "{\n"
768 " for (unsigned int j = 0; j E<lt> 1000; j++)\n"
769 "\tconsumeCpu2(10000);\n"
770 "}\n"
771 msgstr ""
772 "$ B<cat libdemo.c>\n"
773 "#include E<lt>unistd.hE<gt>\n"
774 "\\&\n"
775 "void\n"
776 "consumeCpu1(int lim)\n"
777 "{\n"
778 " for (unsigned int j = 0; j E<lt> lim; j++)\n"
779 "\tgetppid();\n"
780 "}\n"
781 "\\&\n"
782 "void\n"
783 "x1(void) {\n"
784 " for (unsigned int j = 0; j E<lt> 100; j++)\n"
785 "\tconsumeCpu1(200000);\n"
786 "}\n"
787 "\\&\n"
788 "void\n"
789 "consumeCpu2(int lim)\n"
790 "{\n"
791 " for (unsigned int j = 0; j E<lt> lim; j++)\n"
792 "\tgetppid();\n"
793 "}\n"
794 "\\&\n"
795 "void\n"
796 "x2(void)\n"
797 "{\n"
798 " for (unsigned int j = 0; j E<lt> 1000; j++)\n"
799 "\tconsumeCpu2(10000);\n"
800 "}\n"
801
802 #. type: Plain text
803 #: debian-trixie fedora-44 fedora-rawhide
804 #, no-wrap
805 msgid ""
806 "$ B<cc -g -fPIC -shared -Wl,-soname,libdemo.so.1 \\[rs]>\n"
807 " B<-o libdemo.so.1.0.1 libdemo.c>\n"
808 msgstr ""
809 "$ B<cc -g -fPIC -shared -Wl,-soname,libdemo.so.1 \\[rs]>\n"
810 " B<-o libdemo.so.1.0.1 libdemo.c>\n"
811
812 #. type: Plain text
813 #: debian-trixie fedora-44 fedora-rawhide
814 #, no-wrap
815 msgid ""
816 "$ B<ln -sf libdemo.so.1.0.1 libdemo.so.1>\n"
817 "$ B<ln -sf libdemo.so.1 libdemo.so>\n"
818 msgstr ""
819 "$ B<ln -sf libdemo.so.1.0.1 libdemo.so.1>\n"
820 "$ B<ln -sf libdemo.so.1 libdemo.so>\n"
821
822 #. type: Plain text
823 #: debian-trixie fedora-44 fedora-rawhide
824 #, no-wrap
825 msgid ""
826 "$ B<cc -g -o prog prog.c -L. -ldemo>\n"
827 "$ B<ldd prog>\n"
828 "\tlinux-vdso.so.1 =E<gt> (0x00007fff86d66000)\n"
829 "\tlibdemo.so.1 =E<gt> not found\n"
830 "\tlibc.so.6 =E<gt> /lib64/libc.so.6 (0x00007fd4dc138000)\n"
831 "\t/lib64/ld-linux-x86-64.so.2 (0x00007fd4dc51f000)\n"
832 msgstr ""
833 "$ B<cc -g -o prog prog.c -L. -ldemo>\n"
834 "$ B<ldd prog>\n"
835 "\tlinux-vdso.so.1 =E<gt> (0x00007fff86d66000)\n"
836 "\tlibdemo.so.1 =E<gt> not found\n"
837 "\tlibc.so.6 =E<gt> /lib64/libc.so.6 (0x00007fd4dc138000)\n"
838 "\t/lib64/ld-linux-x86-64.so.2 (0x00007fd4dc51f000)\n"
839
840 #. type: Plain text
841 #: debian-trixie fedora-44 fedora-rawhide
842 #, no-wrap
843 msgid "$ B<export LD_PROFILE=libdemo.so.1>\n"
844 msgstr "$ B<export LD_PROFILE=libdemo.so.1>\n"
845
846 #. type: Plain text
847 #: debian-trixie fedora-44 fedora-rawhide
848 #, no-wrap
849 msgid ""
850 "$ B<export LD_PROFILE_OUTPUT=$(pwd)/prof_data>\n"
851 "$ B<mkdir -p $LD_PROFILE_OUTPUT>\n"
852 msgstr ""
853 "$ B<export LD_PROFILE_OUTPUT=$(pwd)/prof_data>\n"
854 "$ B<mkdir -p $LD_PROFILE_OUTPUT>\n"
855
856 #. type: Plain text
857 #: debian-trixie fedora-44 fedora-rawhide
858 #, no-wrap
859 msgid "$ B<rm -f $LD_PROFILE_OUTPUT/$LD_PROFILE.profile>\n"
860 msgstr "$ B<rm -f $LD_PROFILE_OUTPUT/$LD_PROFILE.profile>\n"
861
862 #. type: Plain text
863 #: debian-trixie fedora-44 fedora-rawhide
864 #, no-wrap
865 msgid ""
866 "$ B<LD_LIBRARY_PATH=. ./prog>\n"
867 "$ B<ls prof_data>\n"
868 "libdemo.so.1.profile\n"
869 msgstr ""
870 "$ B<LD_LIBRARY_PATH=. ./prog>\n"
871 "$ B<ls prof_data>\n"
872 "libdemo.so.1.profile\n"
873
874 #. type: Plain text
875 #: debian-trixie fedora-44 fedora-rawhide
876 #, no-wrap
877 msgid ""
878 "$ B<sprof -p libdemo.so.1 $LD_PROFILE_OUTPUT/libdemo.so.1.profile>\n"
879 "Flat profile:\n"
880 "\\&\n"
881 "Each sample counts as 0.01 seconds.\n"
882 " % cumulative self self total\n"
883 " time seconds seconds calls us/call us/call name\n"
884 " 60.00 0.06 0.06 100 600.00 consumeCpu1\n"
885 " 40.00 0.10 0.04 1000 40.00 consumeCpu2\n"
886 " 0.00 0.10 0.00 1 0.00 x1\n"
887 " 0.00 0.10 0.00 1 0.00 x2\n"
888 msgstr ""
889 "$ B<sprof -p libdemo.so.1 $LD_PROFILE_OUTPUT/libdemo.so.1.profile>\n"
890 "Flat profile:\n"
891 "\\&\n"
892 "Each sample counts as 0.01 seconds.\n"
893 " % cumulative self self total\n"
894 " time seconds seconds calls us/call us/call name\n"
895 " 60.00 0.06 0.06 100 600.00 consumeCpu1\n"
896 " 40.00 0.10 0.04 1000 40.00 consumeCpu2\n"
897 " 0.00 0.10 0.00 1 0.00 x1\n"
898 " 0.00 0.10 0.00 1 0.00 x2\n"
899
900 #. type: Plain text
901 #: debian-trixie fedora-44 fedora-rawhide
902 #, no-wrap
903 msgid ""
904 "$ B<sprof -q libdemo.so.1 $LD_PROFILE_OUTPUT/libdemo.so.1.profile>\n"
905 "\\&\n"
906 "index % time self children called name\n"
907 "\\&\n"
908 " 0.00 0.00 100/100 x1 [1]\n"
909 "[0] 100.0 0.00 0.00 100 consumeCpu1 [0]\n"
910 "-----------------------------------------------\n"
911 " 0.00 0.00 1/1 E<lt>UNKNOWNE<gt>\n"
912 "[1] 0.0 0.00 0.00 1 x1 [1]\n"
913 " 0.00 0.00 100/100 consumeCpu1 [0]\n"
914 "-----------------------------------------------\n"
915 " 0.00 0.00 1000/1000 x2 [3]\n"
916 "[2] 0.0 0.00 0.00 1000 consumeCpu2 [2]\n"
917 "-----------------------------------------------\n"
918 " 0.00 0.00 1/1 E<lt>UNKNOWNE<gt>\n"
919 "[3] 0.0 0.00 0.00 1 x2 [3]\n"
920 " 0.00 0.00 1000/1000 consumeCpu2 [2]\n"
921 "-----------------------------------------------\n"
922 msgstr ""
923 "$ B<sprof -q libdemo.so.1 $LD_PROFILE_OUTPUT/libdemo.so.1.profile>\n"
924 "\\&\n"
925 "index % time self children called name\n"
926 "\\&\n"
927 " 0.00 0.00 100/100 x1 [1]\n"
928 "[0] 100.0 0.00 0.00 100 consumeCpu1 [0]\n"
929 "-----------------------------------------------\n"
930 " 0.00 0.00 1/1 E<lt>UNKNOWNE<gt>\n"
931 "[1] 0.0 0.00 0.00 1 x1 [1]\n"
932 " 0.00 0.00 100/100 consumeCpu1 [0]\n"
933 "-----------------------------------------------\n"
934 " 0.00 0.00 1000/1000 x2 [3]\n"
935 "[2] 0.0 0.00 0.00 1000 consumeCpu2 [2]\n"
936 "-----------------------------------------------\n"
937 " 0.00 0.00 1/1 E<lt>UNKNOWNE<gt>\n"
938 "[3] 0.0 0.00 0.00 1 x2 [3]\n"
939 " 0.00 0.00 1000/1000 consumeCpu2 [2]\n"
940 "-----------------------------------------------\n"
941
942 #. type: Plain text
943 #: debian-trixie fedora-44 fedora-rawhide
944 #, no-wrap
945 msgid ""
946 "$ B<sprof -c libdemo.so.1 $LD_PROFILE_OUTPUT/libdemo.so.1.profile>\n"
947 "E<lt>UNKNOWNE<gt> x1 1\n"
948 "x1 consumeCpu1 100\n"
949 "E<lt>UNKNOWNE<gt> x2 1\n"
950 "x2 consumeCpu2 1000\n"
951 msgstr ""
952 "$ B<sprof -c libdemo.so.1 $LD_PROFILE_OUTPUT/libdemo.so.1.profile>\n"
953 "E<lt>UNKNOWNE<gt> x1 1\n"
954 "x1 consumeCpu1 100\n"
955 "E<lt>UNKNOWNE<gt> x2 1\n"
956 "x2 consumeCpu2 1000\n"
957
958 #. type: TH
959 #: fedora-44 fedora-rawhide
960 #, no-wrap
961 msgid "2024-11-25"
962 msgstr "25 نوفمبر 2024"
963
964 #. type: TH
965 #: fedora-44 fedora-rawhide
966 #, no-wrap
967 msgid "Linux man-pages 6.13"
968 msgstr "صفحات دليل لينكس 6.13"
969
970 #. type: TH
971 #: mageia-cauldron
972 #, no-wrap
973 msgid "Linux man-pages 6.17"
974 msgstr "صفحات دليل لينكس 6.17"
975
976 #. type: TH
977 #: opensuse-leap-16-1 opensuse-tumbleweed
978 #, no-wrap
979 msgid "Linux man-pages (unreleased)"
980 msgstr "صفحات دليل لينكس (لم تصدر بعد)"
981