Red Hat ENTERPRISE LINUX 3 - DEVELOPER TOOLS GUIDE Guide de l'utilisateur Page 76

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 100
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 75
Chapter 6. Profiling
66
Ease of Use
The OProfile Plug-in provides generally useful defaults for all options, usable for a majority of profiling
runs. In addition, it also features a "one-click profile" that executes a profile run using these defaults.
Users can profile applications from start to finish, or select specific areas of code through a manual
control dialog.
The OProfile plug-in for Eclipse is provided by the eclipse-oprofile package. For more
information about this plug-in, refer to OProfile Integration User Guide in the Eclipse Help Contents
(also provided by eclipse-profile).
6.3.4. OProfile Documentation
For a more extensive information on OProfile, refer to man oprofile. Red Hat Enterprise
Linux 6 also provides two comprehensive guides to OProfile in file:///usr/share/doc/
oprofile-version/:
OProfile Manual
A comprehensive manual with detailed instructions on the setup and use of OProfile is found at
file:///usr/share/doc/oprofile-version/oprofile.html
OProfile Internals
Documentation on the internal workings of OProfile, useful for programmers interested
in contributing to the OProfile upstream, can be found at file:///usr/share/doc/
oprofile-version/internals.html
The OProfile Integration User Guide in the Eclipse Help Contents also provides detailed information
on the setup and usage of the OProfile plug-in for Eclipse. This guide is provided by the eclipse-
oprofile package.
6.4. SystemTap
SystemTap is a useful instrumentation platform for probing running processes and kernel activity on
the Linux system. To execute a probe:
1. Write SystemTap scripts that specify which system events (e.g. virtual file system reads, packet
transmissions) should trigger specified actions (e.g. print, parse, or otherwise manipulate data).
2. SystemTap translates the script into a C program, which it compiles into a kernel module.
3. SystemTap loads the kernel module to perform the actual probe.
SystemTap scripts are useful for monitoring system operation and diagnosing system issues with
minimal intrusion into the normal operation of the system. You can quickly instrument running system
test hypotheses without having to recompile and re-install instrumented code. To compile a SystemTap
script that probes kernel-space, SystemTap uses information from three different kernel information
packages:
kernel-variant-devel-version
kernel-variant-debuginfo-version
kernel-variant-debuginfo-common-version
These kernel information packages must match the kernel to be probed. In addition, to compile
SystemTap scripts for multiple kernels, the kernel information packages of each kernel must also be
installed.
Vue de la page 75
1 2 ... 71 72 73 74 75 76 77 78 79 80 81 ... 99 100

Commentaires sur ces manuels

Pas de commentaire