| 1 |
# Spanish translation of manpages |
| 2 |
# This file is distributed under the same license as the manpages-l10n package. |
| 3 |
# Copyright © of this file: |
| 4 |
msgid "" |
| 5 |
msgstr "" |
| 6 |
"Project-Id-Version: manpages-l10n 4.11.0\n" |
| 7 |
"POT-Creation-Date: 2026-06-05 06:44+0200\n" |
| 8 |
"PO-Revision-Date: 2021-09-03 21:01+0200\n" |
| 9 |
"Last-Translator: Automatically generated\n" |
| 10 |
"Language-Team: Spanish <[email protected]>\n" |
| 11 |
"Language: es\n" |
| 12 |
"MIME-Version: 1.0\n" |
| 13 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 14 |
"Content-Transfer-Encoding: 8bit\n" |
| 15 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n" |
| 16 |
|
| 17 |
#. #-#-#-#-# archlinux: sprof.1.pot (PACKAGE VERSION) #-#-#-#-# |
| 18 |
#. type: SY |
| 19 |
#. #-#-#-#-# debian-trixie: sprof.1.pot (PACKAGE VERSION) #-#-#-#-# |
| 20 |
#. type: TH |
| 21 |
#. #-#-#-#-# debian-unstable: sprof.1.pot (PACKAGE VERSION) #-#-#-#-# |
| 22 |
#. type: SY |
| 23 |
#. #-#-#-#-# fedora-44: sprof.1.pot (PACKAGE VERSION) #-#-#-#-# |
| 24 |
#. type: SY |
| 25 |
#. #-#-#-#-# fedora-rawhide: sprof.1.pot (PACKAGE VERSION) #-#-#-#-# |
| 26 |
#. type: SY |
| 27 |
#. #-#-#-#-# mageia-cauldron: sprof.1.pot (PACKAGE VERSION) #-#-#-#-# |
| 28 |
#. type: SY |
| 29 |
#. #-#-#-#-# opensuse-leap-16-1: sprof.1.pot (PACKAGE VERSION) #-#-#-#-# |
| 30 |
#. type: SY |
| 31 |
#. #-#-#-#-# opensuse-tumbleweed: sprof.1.pot (PACKAGE VERSION) #-#-#-#-# |
| 32 |
#. type: SY |
| 33 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 34 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 35 |
#, no-wrap |
| 36 |
msgid "sprof" |
| 37 |
msgstr "" |
| 38 |
|
| 39 |
#. type: TH |
| 40 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 41 |
#: opensuse-tumbleweed |
| 42 |
#, no-wrap |
| 43 |
msgid "2026-02-08" |
| 44 |
msgstr "8 Febrero 2026" |
| 45 |
|
| 46 |
#. type: TH |
| 47 |
#: archlinux debian-unstable |
| 48 |
#, fuzzy, no-wrap |
| 49 |
#| msgid "Linux man-pages 6.17" |
| 50 |
msgid "Linux man-pages 6.18" |
| 51 |
msgstr "Páginas de Manual de Linux 6.17" |
| 52 |
|
| 53 |
#. type: SH |
| 54 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 55 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 56 |
#, no-wrap |
| 57 |
msgid "NAME" |
| 58 |
msgstr "NOMBRE" |
| 59 |
|
| 60 |
#. type: Plain text |
| 61 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 62 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 63 |
msgid "sprof - read and display shared object profiling data" |
| 64 |
msgstr "" |
| 65 |
|
| 66 |
#. type: SH |
| 67 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 68 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 69 |
#, no-wrap |
| 70 |
msgid "SYNOPSIS" |
| 71 |
msgstr "SINOPSIS" |
| 72 |
|
| 73 |
#. type: Plain text |
| 74 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 75 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 76 |
msgid "[I<option>\\ .\\|.\\|.\\&] I<shared-object-path> [I<profile-data-path>]" |
| 77 |
msgstr "" |
| 78 |
|
| 79 |
#. type: SH |
| 80 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 81 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 82 |
#, no-wrap |
| 83 |
msgid "DESCRIPTION" |
| 84 |
msgstr "DESCRIPCIÓN" |
| 85 |
|
| 86 |
#. type: Plain text |
| 87 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 88 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 89 |
msgid "" |
| 90 |
"The B<sprof> command displays a profiling summary for the shared object " |
| 91 |
"(shared library) specified as its first command-line argument. The " |
| 92 |
"profiling summary is created using previously generated profiling data in " |
| 93 |
"the (optional) second command-line argument. If the profiling data pathname " |
| 94 |
"is omitted, then B<sprof> will attempt to deduce it using the soname of the " |
| 95 |
"shared object, looking for a file with the name I<E<lt>sonameE<gt>.profile> " |
| 96 |
"in the current directory." |
| 97 |
msgstr "" |
| 98 |
|
| 99 |
#. type: SH |
| 100 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 101 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 102 |
#, no-wrap |
| 103 |
msgid "OPTIONS" |
| 104 |
msgstr "OPCIONES" |
| 105 |
|
| 106 |
#. type: Plain text |
| 107 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 108 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 109 |
msgid "" |
| 110 |
"The following command-line options specify the profile output to be produced:" |
| 111 |
msgstr "" |
| 112 |
|
| 113 |
#. type: TP |
| 114 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 115 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 116 |
#, fuzzy, no-wrap |
| 117 |
#| msgid "B<--alldeps>" |
| 118 |
msgid "B<--call-pairs>" |
| 119 |
msgstr "B<--alldeps>" |
| 120 |
|
| 121 |
#. type: TQ |
| 122 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 123 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 124 |
#, no-wrap |
| 125 |
msgid "B<-c>" |
| 126 |
msgstr "B<-c>" |
| 127 |
|
| 128 |
#. type: Plain text |
| 129 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 130 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 131 |
msgid "" |
| 132 |
"Print a list of pairs of call paths for the interfaces exported by the " |
| 133 |
"shared object, along with the number of times each path is used." |
| 134 |
msgstr "" |
| 135 |
|
| 136 |
#. type: TP |
| 137 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 138 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 139 |
#, fuzzy, no-wrap |
| 140 |
#| msgid "B<--noprofile>" |
| 141 |
msgid "B<--flat-profile>" |
| 142 |
msgstr "B<--noprofile>" |
| 143 |
|
| 144 |
#. type: TQ |
| 145 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 146 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 147 |
#, no-wrap |
| 148 |
msgid "B<-p>" |
| 149 |
msgstr "B<-p>" |
| 150 |
|
| 151 |
#. type: Plain text |
| 152 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 153 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 154 |
msgid "" |
| 155 |
"Generate a flat profile of all of the functions in the monitored object, " |
| 156 |
"with counts and ticks." |
| 157 |
msgstr "" |
| 158 |
|
| 159 |
#. type: TP |
| 160 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 161 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 162 |
#, fuzzy, no-wrap |
| 163 |
#| msgid "B<--graceful>" |
| 164 |
msgid "B<--graph>" |
| 165 |
msgstr "B<--graceful>" |
| 166 |
|
| 167 |
#. type: TQ |
| 168 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 169 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 170 |
#, no-wrap |
| 171 |
msgid "B<-q>" |
| 172 |
msgstr "B<-q>" |
| 173 |
|
| 174 |
#. type: Plain text |
| 175 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 176 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 177 |
msgid "Generate a call graph." |
| 178 |
msgstr "" |
| 179 |
|
| 180 |
#. type: Plain text |
| 181 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 182 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 183 |
msgid "" |
| 184 |
"If none of the above options is specified, then the default behavior is to " |
| 185 |
"display a flat profile and a call graph." |
| 186 |
msgstr "" |
| 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 "The following additional command-line options are available:" |
| 192 |
msgstr "" |
| 193 |
|
| 194 |
#. type: TP |
| 195 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 196 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 197 |
#, no-wrap |
| 198 |
msgid "B<--help>" |
| 199 |
msgstr "B<--help>" |
| 200 |
|
| 201 |
#. type: TQ |
| 202 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 203 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 204 |
#, no-wrap |
| 205 |
msgid "B<-?>" |
| 206 |
msgstr "B<-?>" |
| 207 |
|
| 208 |
#. type: Plain text |
| 209 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 210 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 211 |
msgid "Display a summary of command-line options and arguments and exit." |
| 212 |
msgstr "" |
| 213 |
"Muestra un resumen de las opciones y argumentos de la línea de órdenes y " |
| 214 |
"finaliza." |
| 215 |
|
| 216 |
#. type: TP |
| 217 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 218 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 219 |
#, no-wrap |
| 220 |
msgid "B<--usage>" |
| 221 |
msgstr "B<--usage>" |
| 222 |
|
| 223 |
#. type: Plain text |
| 224 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 225 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 226 |
msgid "Display a short usage message and exit." |
| 227 |
msgstr "Muestra un mensaje de ayuda y finaliza." |
| 228 |
|
| 229 |
#. type: TP |
| 230 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 231 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 232 |
#, no-wrap |
| 233 |
msgid "B<--version>" |
| 234 |
msgstr "B<--version>" |
| 235 |
|
| 236 |
#. type: TQ |
| 237 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 238 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 239 |
#, no-wrap |
| 240 |
msgid "B<-V>" |
| 241 |
msgstr "B<-V>" |
| 242 |
|
| 243 |
#. type: Plain text |
| 244 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 245 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 246 |
msgid "Display the program version and exit." |
| 247 |
msgstr "Muestra la versión del programa y finaliza." |
| 248 |
|
| 249 |
#. type: SH |
| 250 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 251 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 252 |
#, no-wrap |
| 253 |
msgid "STANDARDS" |
| 254 |
msgstr "ESTÁNDARES" |
| 255 |
|
| 256 |
#. type: Plain text |
| 257 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 258 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 259 |
msgid "GNU." |
| 260 |
msgstr "GNU." |
| 261 |
|
| 262 |
#. type: SH |
| 263 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 264 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 265 |
#, no-wrap |
| 266 |
msgid "EXAMPLES" |
| 267 |
msgstr "EJEMPLOS" |
| 268 |
|
| 269 |
#. type: Plain text |
| 270 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 271 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 272 |
msgid "" |
| 273 |
"The following example demonstrates the use of B<sprof>. The example " |
| 274 |
"consists of a main program that calls two functions in a shared object. " |
| 275 |
"First, the code of the main program:" |
| 276 |
msgstr "" |
| 277 |
|
| 278 |
#. type: Plain text |
| 279 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 280 |
#: opensuse-tumbleweed |
| 281 |
#, no-wrap |
| 282 |
msgid "" |
| 283 |
"$B< cat prog.c>;\n" |
| 284 |
"#include E<lt>stdlib.hE<gt>\n" |
| 285 |
"\\&\n" |
| 286 |
"void x1(void);\n" |
| 287 |
"void x2(void);\n" |
| 288 |
"\\&\n" |
| 289 |
"int\n" |
| 290 |
"main(int argc, char *argv[])\n" |
| 291 |
"{\n" |
| 292 |
" x1();\n" |
| 293 |
" x2();\n" |
| 294 |
" exit(EXIT_SUCCESS);\n" |
| 295 |
"}\n" |
| 296 |
msgstr "" |
| 297 |
|
| 298 |
#. type: Plain text |
| 299 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 300 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 301 |
msgid "" |
| 302 |
"The functions I<x1>() and I<x2>() are defined in the following source file " |
| 303 |
"that is used to construct the shared object:" |
| 304 |
msgstr "" |
| 305 |
|
| 306 |
#. type: Plain text |
| 307 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 308 |
#: opensuse-tumbleweed |
| 309 |
#, no-wrap |
| 310 |
msgid "" |
| 311 |
"$B< cat libdemo.c>;\n" |
| 312 |
"#include E<lt>unistd.hE<gt>\n" |
| 313 |
"\\&\n" |
| 314 |
"void\n" |
| 315 |
"consumeCpu1(int lim)\n" |
| 316 |
"{\n" |
| 317 |
" for (unsigned int j = 0; j E<lt> lim; j++)\n" |
| 318 |
"\tgetppid();\n" |
| 319 |
"}\n" |
| 320 |
"\\&\n" |
| 321 |
"void\n" |
| 322 |
"x1(void) {\n" |
| 323 |
" for (unsigned int j = 0; j E<lt> 100; j++)\n" |
| 324 |
"\tconsumeCpu1(200000);\n" |
| 325 |
"}\n" |
| 326 |
"\\&\n" |
| 327 |
"void\n" |
| 328 |
"consumeCpu2(int lim)\n" |
| 329 |
"{\n" |
| 330 |
" for (unsigned int j = 0; j E<lt> lim; j++)\n" |
| 331 |
"\tgetppid();\n" |
| 332 |
"}\n" |
| 333 |
"\\&\n" |
| 334 |
"void\n" |
| 335 |
"x2(void)\n" |
| 336 |
"{\n" |
| 337 |
" for (unsigned int j = 0; j E<lt> 1000; j++)\n" |
| 338 |
"\tconsumeCpu2(10000);\n" |
| 339 |
"}\n" |
| 340 |
msgstr "" |
| 341 |
|
| 342 |
#. type: Plain text |
| 343 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 344 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 345 |
msgid "" |
| 346 |
"Now we construct the shared object with the real name I<libdemo.so.1.0.1>, " |
| 347 |
"and the soname I<libdemo.so.1>:" |
| 348 |
msgstr "" |
| 349 |
|
| 350 |
#. type: Plain text |
| 351 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 352 |
#: opensuse-tumbleweed |
| 353 |
#, no-wrap |
| 354 |
msgid "" |
| 355 |
"$B< cc -g -fPIC -shared -Wl,-soname,libdemo.so.1 \\[rs]>\n" |
| 356 |
"B< -o libdemo.so.1.0.1 libdemo.c>;\n" |
| 357 |
msgstr "" |
| 358 |
|
| 359 |
#. type: Plain text |
| 360 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 361 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 362 |
msgid "" |
| 363 |
"Then we construct symbolic links for the library soname and the library " |
| 364 |
"linker name:" |
| 365 |
msgstr "" |
| 366 |
|
| 367 |
#. type: Plain text |
| 368 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 369 |
#: opensuse-tumbleweed |
| 370 |
#, no-wrap |
| 371 |
msgid "" |
| 372 |
"$B< ln -sf libdemo.so.1.0.1 libdemo.so.1>;\n" |
| 373 |
"$B< ln -sf libdemo.so.1 libdemo.so>;\n" |
| 374 |
msgstr "" |
| 375 |
|
| 376 |
#. type: Plain text |
| 377 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 378 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 379 |
msgid "" |
| 380 |
"Next, we compile the main program, linking it against the shared object, and " |
| 381 |
"then list the dynamic dependencies of the program:" |
| 382 |
msgstr "" |
| 383 |
|
| 384 |
#. type: Plain text |
| 385 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 386 |
#: opensuse-tumbleweed |
| 387 |
#, no-wrap |
| 388 |
msgid "" |
| 389 |
"$B< cc -g -o prog prog.c -L.\\& -ldemo>;\n" |
| 390 |
"$B< ldd prog>;\n" |
| 391 |
"\tlinux-vdso.so.1 =E<gt> (0x00007fff86d66000)\n" |
| 392 |
"\tlibdemo.so.1 =E<gt> not found\n" |
| 393 |
"\tlibc.so.6 =E<gt> /lib64/libc.so.6 (0x00007fd4dc138000)\n" |
| 394 |
"\t/lib64/ld-linux-x86-64.so.2 (0x00007fd4dc51f000)\n" |
| 395 |
msgstr "" |
| 396 |
|
| 397 |
#. type: Plain text |
| 398 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 399 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 400 |
msgid "" |
| 401 |
"In order to get profiling information for the shared object, we define the " |
| 402 |
"environment variable B<LD_PROFILE> with the soname of the library:" |
| 403 |
msgstr "" |
| 404 |
|
| 405 |
#. type: Plain text |
| 406 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 407 |
#: opensuse-tumbleweed |
| 408 |
#, no-wrap |
| 409 |
msgid "$B< export LD_PROFILE=libdemo.so.1>;\n" |
| 410 |
msgstr "" |
| 411 |
|
| 412 |
#. type: Plain text |
| 413 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 414 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 415 |
msgid "" |
| 416 |
"We then define the environment variable B<LD_PROFILE_OUTPUT> with the " |
| 417 |
"pathname of the directory where profile output should be written, and create " |
| 418 |
"that directory if it does not exist already:" |
| 419 |
msgstr "" |
| 420 |
|
| 421 |
#. type: Plain text |
| 422 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 423 |
#: opensuse-tumbleweed |
| 424 |
#, no-wrap |
| 425 |
msgid "" |
| 426 |
"$B< export LD_PROFILE_OUTPUT=$(pwd)/prof_data>;\n" |
| 427 |
"$B< mkdir -p $LD_PROFILE_OUTPUT>;\n" |
| 428 |
msgstr "" |
| 429 |
|
| 430 |
#. type: Plain text |
| 431 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 432 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 433 |
msgid "" |
| 434 |
"B<LD_PROFILE> causes profiling output to be I<appended> to the output file " |
| 435 |
"if it already exists, so we ensure that there is no preexisting profiling " |
| 436 |
"data:" |
| 437 |
msgstr "" |
| 438 |
|
| 439 |
#. type: Plain text |
| 440 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 441 |
#: opensuse-tumbleweed |
| 442 |
#, no-wrap |
| 443 |
msgid "$B< rm -f $LD_PROFILE_OUTPUT/$LD_PROFILE.profile>;\n" |
| 444 |
msgstr "" |
| 445 |
|
| 446 |
#. type: Plain text |
| 447 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 448 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 449 |
msgid "" |
| 450 |
"We then run the program to produce the profiling output, which is written to " |
| 451 |
"a file in the directory specified in B<LD_PROFILE_OUTPUT>:" |
| 452 |
msgstr "" |
| 453 |
|
| 454 |
#. type: Plain text |
| 455 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 456 |
#: opensuse-tumbleweed |
| 457 |
#, no-wrap |
| 458 |
msgid "" |
| 459 |
"$B< LD_LIBRARY_PATH=.\\& ./prog>;\n" |
| 460 |
"$B< ls prof_data>;\n" |
| 461 |
"libdemo.so.1.profile\n" |
| 462 |
msgstr "" |
| 463 |
|
| 464 |
#. type: Plain text |
| 465 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 466 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 467 |
msgid "" |
| 468 |
"We then use the B<sprof -p> option to generate a flat profile with counts " |
| 469 |
"and ticks:" |
| 470 |
msgstr "" |
| 471 |
|
| 472 |
#. type: Plain text |
| 473 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 474 |
#: opensuse-tumbleweed |
| 475 |
#, no-wrap |
| 476 |
msgid "" |
| 477 |
"$B< sprof -p libdemo.so.1 $LD_PROFILE_OUTPUT/libdemo.so.1.profile>;\n" |
| 478 |
"Flat profile:\n" |
| 479 |
"\\&\n" |
| 480 |
"Each sample counts as 0.01 seconds.\n" |
| 481 |
" % cumulative self self total\n" |
| 482 |
" time seconds seconds calls us/call us/call name\n" |
| 483 |
" 60.00 0.06 0.06 100 600.00 consumeCpu1\n" |
| 484 |
" 40.00 0.10 0.04 1000 40.00 consumeCpu2\n" |
| 485 |
" 0.00 0.10 0.00 1 0.00 x1\n" |
| 486 |
" 0.00 0.10 0.00 1 0.00 x2\n" |
| 487 |
msgstr "" |
| 488 |
|
| 489 |
#. type: Plain text |
| 490 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 491 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 492 |
msgid "The B<sprof -q> option generates a call graph:" |
| 493 |
msgstr "" |
| 494 |
|
| 495 |
#. type: Plain text |
| 496 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 497 |
#: opensuse-tumbleweed |
| 498 |
#, no-wrap |
| 499 |
msgid "" |
| 500 |
"$B< sprof -q libdemo.so.1 $LD_PROFILE_OUTPUT/libdemo.so.1.profile>;\n" |
| 501 |
"\\&\n" |
| 502 |
"index % time self children called name\n" |
| 503 |
"\\&\n" |
| 504 |
" 0.00 0.00 100/100 x1 [1]\n" |
| 505 |
"[0] 100.0 0.00 0.00 100 consumeCpu1 [0]\n" |
| 506 |
"-----------------------------------------------\n" |
| 507 |
" 0.00 0.00 1/1 E<lt>UNKNOWNE<gt>\n" |
| 508 |
"[1] 0.0 0.00 0.00 1 x1 [1]\n" |
| 509 |
" 0.00 0.00 100/100 consumeCpu1 [0]\n" |
| 510 |
"-----------------------------------------------\n" |
| 511 |
" 0.00 0.00 1000/1000 x2 [3]\n" |
| 512 |
"[2] 0.0 0.00 0.00 1000 consumeCpu2 [2]\n" |
| 513 |
"-----------------------------------------------\n" |
| 514 |
" 0.00 0.00 1/1 E<lt>UNKNOWNE<gt>\n" |
| 515 |
"[3] 0.0 0.00 0.00 1 x2 [3]\n" |
| 516 |
" 0.00 0.00 1000/1000 consumeCpu2 [2]\n" |
| 517 |
"-----------------------------------------------\n" |
| 518 |
msgstr "" |
| 519 |
|
| 520 |
#. type: Plain text |
| 521 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 522 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 523 |
msgid "" |
| 524 |
"Above and below, the \"E<lt>UNKNOWNE<gt>\" strings represent identifiers " |
| 525 |
"that are outside of the profiled object (in this example, these are " |
| 526 |
"instances of I<main()>)." |
| 527 |
msgstr "" |
| 528 |
|
| 529 |
#. type: Plain text |
| 530 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 531 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 532 |
msgid "" |
| 533 |
"The B<sprof -c> option generates a list of call pairs and the number of " |
| 534 |
"their occurrences:" |
| 535 |
msgstr "" |
| 536 |
|
| 537 |
#. type: Plain text |
| 538 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 539 |
#: opensuse-tumbleweed |
| 540 |
#, no-wrap |
| 541 |
msgid "" |
| 542 |
"$B< sprof -c libdemo.so.1 $LD_PROFILE_OUTPUT/libdemo.so.1.profile>;\n" |
| 543 |
"E<lt>UNKNOWNE<gt> x1 1\n" |
| 544 |
"x1 consumeCpu1 100\n" |
| 545 |
"E<lt>UNKNOWNE<gt> x2 1\n" |
| 546 |
"x2 consumeCpu2 1000\n" |
| 547 |
msgstr "" |
| 548 |
|
| 549 |
#. type: SH |
| 550 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 551 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 552 |
#, no-wrap |
| 553 |
msgid "SEE ALSO" |
| 554 |
msgstr "VÉASE TAMBIÉN" |
| 555 |
|
| 556 |
#. type: Plain text |
| 557 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 558 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 559 |
msgid "B<gprof>(1), B<ldd>(1), B<ld.so>(8)" |
| 560 |
msgstr "" |
| 561 |
|
| 562 |
#. type: TH |
| 563 |
#: debian-trixie |
| 564 |
#, no-wrap |
| 565 |
msgid "2024-06-15" |
| 566 |
msgstr "15 Junio 2024" |
| 567 |
|
| 568 |
#. type: TH |
| 569 |
#: debian-trixie |
| 570 |
#, no-wrap |
| 571 |
msgid "Linux man-pages 6.9.1" |
| 572 |
msgstr "Páginas de Manual de Linux 6.9.1" |
| 573 |
|
| 574 |
#. type: Plain text |
| 575 |
#: debian-trixie |
| 576 |
#, no-wrap |
| 577 |
msgid "B<sprof> [I<option>]... I<shared-object-path> [I<profile-data-path>]\n" |
| 578 |
msgstr "" |
| 579 |
|
| 580 |
#. type: Plain text |
| 581 |
#: debian-trixie fedora-44 fedora-rawhide |
| 582 |
#, no-wrap |
| 583 |
msgid "" |
| 584 |
"$ B<cat prog.c>\n" |
| 585 |
"#include E<lt>stdlib.hE<gt>\n" |
| 586 |
"\\&\n" |
| 587 |
"void x1(void);\n" |
| 588 |
"void x2(void);\n" |
| 589 |
"\\&\n" |
| 590 |
"int\n" |
| 591 |
"main(int argc, char *argv[])\n" |
| 592 |
"{\n" |
| 593 |
" x1();\n" |
| 594 |
" x2();\n" |
| 595 |
" exit(EXIT_SUCCESS);\n" |
| 596 |
"}\n" |
| 597 |
msgstr "" |
| 598 |
|
| 599 |
#. type: Plain text |
| 600 |
#: debian-trixie fedora-44 fedora-rawhide |
| 601 |
#, no-wrap |
| 602 |
msgid "" |
| 603 |
"$ B<cat libdemo.c>\n" |
| 604 |
"#include E<lt>unistd.hE<gt>\n" |
| 605 |
"\\&\n" |
| 606 |
"void\n" |
| 607 |
"consumeCpu1(int lim)\n" |
| 608 |
"{\n" |
| 609 |
" for (unsigned int j = 0; j E<lt> lim; j++)\n" |
| 610 |
"\tgetppid();\n" |
| 611 |
"}\n" |
| 612 |
"\\&\n" |
| 613 |
"void\n" |
| 614 |
"x1(void) {\n" |
| 615 |
" for (unsigned int j = 0; j E<lt> 100; j++)\n" |
| 616 |
"\tconsumeCpu1(200000);\n" |
| 617 |
"}\n" |
| 618 |
"\\&\n" |
| 619 |
"void\n" |
| 620 |
"consumeCpu2(int lim)\n" |
| 621 |
"{\n" |
| 622 |
" for (unsigned int j = 0; j E<lt> lim; j++)\n" |
| 623 |
"\tgetppid();\n" |
| 624 |
"}\n" |
| 625 |
"\\&\n" |
| 626 |
"void\n" |
| 627 |
"x2(void)\n" |
| 628 |
"{\n" |
| 629 |
" for (unsigned int j = 0; j E<lt> 1000; j++)\n" |
| 630 |
"\tconsumeCpu2(10000);\n" |
| 631 |
"}\n" |
| 632 |
msgstr "" |
| 633 |
|
| 634 |
#. type: Plain text |
| 635 |
#: debian-trixie fedora-44 fedora-rawhide |
| 636 |
#, no-wrap |
| 637 |
msgid "" |
| 638 |
"$ B<cc -g -fPIC -shared -Wl,-soname,libdemo.so.1 \\[rs]>\n" |
| 639 |
" B<-o libdemo.so.1.0.1 libdemo.c>\n" |
| 640 |
msgstr "" |
| 641 |
|
| 642 |
#. type: Plain text |
| 643 |
#: debian-trixie fedora-44 fedora-rawhide |
| 644 |
#, no-wrap |
| 645 |
msgid "" |
| 646 |
"$ B<ln -sf libdemo.so.1.0.1 libdemo.so.1>\n" |
| 647 |
"$ B<ln -sf libdemo.so.1 libdemo.so>\n" |
| 648 |
msgstr "" |
| 649 |
|
| 650 |
#. type: Plain text |
| 651 |
#: debian-trixie fedora-44 fedora-rawhide |
| 652 |
#, no-wrap |
| 653 |
msgid "" |
| 654 |
"$ B<cc -g -o prog prog.c -L. -ldemo>\n" |
| 655 |
"$ B<ldd prog>\n" |
| 656 |
"\tlinux-vdso.so.1 =E<gt> (0x00007fff86d66000)\n" |
| 657 |
"\tlibdemo.so.1 =E<gt> not found\n" |
| 658 |
"\tlibc.so.6 =E<gt> /lib64/libc.so.6 (0x00007fd4dc138000)\n" |
| 659 |
"\t/lib64/ld-linux-x86-64.so.2 (0x00007fd4dc51f000)\n" |
| 660 |
msgstr "" |
| 661 |
|
| 662 |
#. type: Plain text |
| 663 |
#: debian-trixie fedora-44 fedora-rawhide |
| 664 |
#, no-wrap |
| 665 |
msgid "$ B<export LD_PROFILE=libdemo.so.1>\n" |
| 666 |
msgstr "" |
| 667 |
|
| 668 |
#. type: Plain text |
| 669 |
#: debian-trixie fedora-44 fedora-rawhide |
| 670 |
#, no-wrap |
| 671 |
msgid "" |
| 672 |
"$ B<export LD_PROFILE_OUTPUT=$(pwd)/prof_data>\n" |
| 673 |
"$ B<mkdir -p $LD_PROFILE_OUTPUT>\n" |
| 674 |
msgstr "" |
| 675 |
|
| 676 |
#. type: Plain text |
| 677 |
#: debian-trixie fedora-44 fedora-rawhide |
| 678 |
#, no-wrap |
| 679 |
msgid "$ B<rm -f $LD_PROFILE_OUTPUT/$LD_PROFILE.profile>\n" |
| 680 |
msgstr "" |
| 681 |
|
| 682 |
#. type: Plain text |
| 683 |
#: debian-trixie fedora-44 fedora-rawhide |
| 684 |
#, no-wrap |
| 685 |
msgid "" |
| 686 |
"$ B<LD_LIBRARY_PATH=. ./prog>\n" |
| 687 |
"$ B<ls prof_data>\n" |
| 688 |
"libdemo.so.1.profile\n" |
| 689 |
msgstr "" |
| 690 |
|
| 691 |
#. type: Plain text |
| 692 |
#: debian-trixie fedora-44 fedora-rawhide |
| 693 |
#, no-wrap |
| 694 |
msgid "" |
| 695 |
"$ B<sprof -p libdemo.so.1 $LD_PROFILE_OUTPUT/libdemo.so.1.profile>\n" |
| 696 |
"Flat profile:\n" |
| 697 |
"\\&\n" |
| 698 |
"Each sample counts as 0.01 seconds.\n" |
| 699 |
" % cumulative self self total\n" |
| 700 |
" time seconds seconds calls us/call us/call name\n" |
| 701 |
" 60.00 0.06 0.06 100 600.00 consumeCpu1\n" |
| 702 |
" 40.00 0.10 0.04 1000 40.00 consumeCpu2\n" |
| 703 |
" 0.00 0.10 0.00 1 0.00 x1\n" |
| 704 |
" 0.00 0.10 0.00 1 0.00 x2\n" |
| 705 |
msgstr "" |
| 706 |
|
| 707 |
#. type: Plain text |
| 708 |
#: debian-trixie fedora-44 fedora-rawhide |
| 709 |
#, no-wrap |
| 710 |
msgid "" |
| 711 |
"$ B<sprof -q libdemo.so.1 $LD_PROFILE_OUTPUT/libdemo.so.1.profile>\n" |
| 712 |
"\\&\n" |
| 713 |
"index % time self children called name\n" |
| 714 |
"\\&\n" |
| 715 |
" 0.00 0.00 100/100 x1 [1]\n" |
| 716 |
"[0] 100.0 0.00 0.00 100 consumeCpu1 [0]\n" |
| 717 |
"-----------------------------------------------\n" |
| 718 |
" 0.00 0.00 1/1 E<lt>UNKNOWNE<gt>\n" |
| 719 |
"[1] 0.0 0.00 0.00 1 x1 [1]\n" |
| 720 |
" 0.00 0.00 100/100 consumeCpu1 [0]\n" |
| 721 |
"-----------------------------------------------\n" |
| 722 |
" 0.00 0.00 1000/1000 x2 [3]\n" |
| 723 |
"[2] 0.0 0.00 0.00 1000 consumeCpu2 [2]\n" |
| 724 |
"-----------------------------------------------\n" |
| 725 |
" 0.00 0.00 1/1 E<lt>UNKNOWNE<gt>\n" |
| 726 |
"[3] 0.0 0.00 0.00 1 x2 [3]\n" |
| 727 |
" 0.00 0.00 1000/1000 consumeCpu2 [2]\n" |
| 728 |
"-----------------------------------------------\n" |
| 729 |
msgstr "" |
| 730 |
|
| 731 |
#. type: Plain text |
| 732 |
#: debian-trixie fedora-44 fedora-rawhide |
| 733 |
#, no-wrap |
| 734 |
msgid "" |
| 735 |
"$ B<sprof -c libdemo.so.1 $LD_PROFILE_OUTPUT/libdemo.so.1.profile>\n" |
| 736 |
"E<lt>UNKNOWNE<gt> x1 1\n" |
| 737 |
"x1 consumeCpu1 100\n" |
| 738 |
"E<lt>UNKNOWNE<gt> x2 1\n" |
| 739 |
"x2 consumeCpu2 1000\n" |
| 740 |
msgstr "" |
| 741 |
|
| 742 |
#. type: TH |
| 743 |
#: fedora-44 fedora-rawhide |
| 744 |
#, no-wrap |
| 745 |
msgid "2024-11-25" |
| 746 |
msgstr "25 Noviembre 2024" |
| 747 |
|
| 748 |
#. type: TH |
| 749 |
#: fedora-44 fedora-rawhide |
| 750 |
#, no-wrap |
| 751 |
msgid "Linux man-pages 6.13" |
| 752 |
msgstr "Páginas de Manual de Linux 6.13" |
| 753 |
|
| 754 |
#. type: TH |
| 755 |
#: mageia-cauldron |
| 756 |
#, no-wrap |
| 757 |
msgid "Linux man-pages 6.17" |
| 758 |
msgstr "Páginas de Manual de Linux 6.17" |
| 759 |
|
| 760 |
#. type: TH |
| 761 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 762 |
#, no-wrap |
| 763 |
msgid "Linux man-pages (unreleased)" |
| 764 |
msgstr "Páginas de Manual de Linux (no publicadas)" |