|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | - | - |
| agents/ | | 03-May-2024 | - | 632 | 458 |
| daemon/ | | 03-May-2024 | - | 10,078 | 6,186 |
| doc/ | | 03-May-2024 | - | 6,269 | 5,683 |
| events/ | | 03-May-2024 | - | 25,536 | 22,811 |
| gui/ | | 03-May-2024 | - | 3,067 | 2,447 |
| include/ | | 03-May-2024 | - | 344 | 301 |
| libabi/ | | 03-May-2024 | - | 699 | 458 |
| libdb/ | | 03-May-2024 | - | 1,184 | 698 |
| libop/ | | 03-May-2024 | - | 3,881 | 2,660 |
| libopagent/ | | 03-May-2024 | - | 720 | 410 |
| libopt++/ | | 03-May-2024 | - | 488 | 235 |
| libpopt/ | | 03-May-2024 | - | 3,711 | 2,230 |
| libpp/ | | 03-May-2024 | - | 9,239 | 5,673 |
| libregex/ | | 03-May-2024 | - | 1,664 | 1,097 |
| libutil/ | | 03-May-2024 | - | 2,018 | 1,001 |
| libutil++/ | | 03-May-2024 | - | 5,536 | 3,238 |
| m4/ | | 03-May-2024 | - | 753 | 665 |
| module/ | | 03-May-2024 | - | 7,009 | 4,800 |
| opcontrol/ | | 03-May-2024 | - | 847 | 657 |
| opjitconv/ | | 03-May-2024 | - | 2,501 | 1,729 |
| pp/ | | 03-May-2024 | - | 3,455 | 2,319 |
| utils/ | | 03-May-2024 | - | 2,837 | 2,201 |
| .gitignore | D | 03-May-2024 | 19 | 3 | 2 |
| Android.mk | D | 03-May-2024 | 638 | 16 | 1 |
| COPYING | D | 03-May-2024 | 17.6 KiB | 341 | 281 |
| ChangeLog | D | 03-May-2024 | 18.9 KiB | 606 | 417 |
| ChangeLog-2001 | D | 03-May-2024 | 58.2 KiB | 2,328 | 1,514 |
| ChangeLog-2002 | D | 03-May-2024 | 112.1 KiB | 4,417 | 2,978 |
| ChangeLog-2003 | D | 03-May-2024 | 167.3 KiB | 6,252 | 4,207 |
| ChangeLog-2004 | D | 03-May-2024 | 30.6 KiB | 1,035 | 732 |
| ChangeLog-2005 | D | 03-May-2024 | 26.7 KiB | 964 | 694 |
| ChangeLog-2006 | D | 03-May-2024 | 7.7 KiB | 297 | 213 |
| ChangeLog-2007 | D | 03-May-2024 | 24.1 KiB | 758 | 571 |
| ChangeLog-2008 | D | 03-May-2024 | 13.1 KiB | 452 | 336 |
| HACKING | D | 03-May-2024 | 6.9 KiB | 207 | 137 |
| MODULE_LICENSE_GPL | D | 03-May-2024 | 0 | | |
| Makefile.am | D | 03-May-2024 | 2.3 KiB | 108 | 89 |
| NOTICE | D | 03-May-2024 | 17.6 KiB | 341 | 281 |
| README | D | 03-May-2024 | 1.4 KiB | 47 | 28 |
| README_PACKAGERS | D | 03-May-2024 | 3.4 KiB | 80 | 60 |
| TODO | D | 03-May-2024 | 15 KiB | 269 | 245 |
| autogen.sh | D | 03-May-2024 | 1,009 | 43 | 26 |
| common.mk | D | 03-May-2024 | 1.8 KiB | 63 | 37 |
| config.h | D | 03-May-2024 | 2.7 KiB | 102 | 25 |
| configure.in | D | 03-May-2024 | 8.5 KiB | 302 | 252 |
| opev.py | D | 03-May-2024 | 2.5 KiB | 85 | 69 |
| opimport_pull | D | 03-May-2024 | 3.8 KiB | 123 | 79 |
| oprofile_android | D | 03-May-2024 | 14.5 KiB | 471 | 371 |
| popt.h | D | 03-May-2024 | 15.9 KiB | 565 | 159 |
README
1This is an alpha release version of oprofile, a transparent
2low-overhead system-wide profiler.
3
4You can find some documentation in the doc/ directory.
5
6Please visit the oprofile website at : http://oprofile.sf.net/
7
8oprofile was written by John Levon <levon@movementarian.org>
9and Philippe Elie <phil.el@wanadoo.fr>.
10
11Maynard Johnson <maynardj@us.ibm.com> is the current maintainer.
12
13Dave Jones <davej@suse.de> provided bug fixes and support for
14the AMD Athlon, and AMD Hammer families of CPUs.
15
16Bob Montgomery <bobm@fc.hp.com> provided bug fixes, the initial RTC
17driver and the initial ia64 driver.
18
19Will Cohen <wcohen@redhat.com> integrated the ia64 driver into the
20oprofile release, and contributed bug fixes and several cleanups.
21
22Graydon Hoare <graydon@redhat.com> provided P4 port, bug fixes and cleanups.
23
24Ralf Baechle <ralf@linux-mips.org> provided the MIPS port.
25
26Other contributors are listed in the ChangeLog.
27
28Building
29--------
30
31Please read the installation instructions in doc/oprofile.html or
32http://oprofile.sourceforge.net/doc/install.html.
33
34Quick start :
35
36(If using CVS: ./autogen.sh first. You need automake 1.5 or higher. You
37can specify a different version, e.g.
38ACLOCAL=aclocal-1.5 AUTOMAKE=automake-1.5 AUTOCONF=autoconf-2.13 AUTOHEADER=autoheader-2.13 ./autogen.sh)
39
402.4 kernels
41
42 ./configure --with-linux=/path/to/kernel/source
43
442.6 kernels
45
46 ./configure --with-kernel-support
47
README_PACKAGERS
1Building an RPM for OProfile
2==================================
3
4When building an RPM for OProfile, please follow the RPM packaging guidelines
5described in:
6 http://www.rpm.org/RPM-HOWTO/build.html
7
8
9New file to install as of release 0.9.3
10---------------------------------------
11
12As of release 0.9.3, opreport is capable of generating XML output.
13Tool developers who wish to use the xml output will need to have
14access to the doc/opreport.xsd file, which describes the schema.
15RPM packagers may install this file in the same package as the other
16standard OProfile components or in a separate devel package if desired.
17
18
19New files to install as of release 0.9.4
20---------------------------------------
21
22As of release 0.9.4, OProfile includes a JIT support library called libopagent.
23This library is needed at runtime when profiling JITed code from supported
24virtual machines. The install location for this library is:
25 <oprof-install-dir>/<libdir>/oprofile
26
27And there's a new binary file to install that's used for JIT profiling called
28opjitconv. As with the other oprofile executables, this file is installed in
29the <oprof-install-dir>/bin directory.
30
31OProfile also includes support for profiling Java applications. This support
32must be configured by way of the '--with-java=<path_to_jdk>' configure
33option. If your JDK is older than version 1.5, only a JVMPI agent library
34is built. If your JDK is version 1.5, both JVMPI and JVMTI agent
35libraries are built. If your JDK is 1.6 or newer, only the JVMTI agent
36library is built. As with libopagent described above, the install location
37for these is '<libdir>/oprofile'.
38
39RPM packagers can install the <libdir>/oprofile libraries in the same package
40as the other standard OProfile components or in a separate package if desired.
41It is recommended to run ldconfig in %post and %postun to add/remove the
42<libdir>/oprofile path from the standard library search paths.
43
44On bi-arch platforms that support more than one "bitness" of userspace software
45(e.g., 32-bit and 64-bit programs), it is recommended that the libopagent and
46Java agent libraries be packaged in a separate RPM. You could then build
47OProfile twice -- once for each bitness type. You would then distribute both
48versions of the RPMs containing the libraries, but only one RPM containing the
49"base" OProfile (i.e., executables, scripts, etc.).
50
51The new JIT support also provides the ability for third parties to develop
52JIT agents for other virtual machines. The development files provided for this
53purpose are:
54 doc/op-jit-devel.html
55 include/opagent.h
56
57Again, the RPM packager may package these files in the default package
58or in a separate devel package.
59
60
61Requirement for building a binary RPM package
62----------------------------------------
63
64OProfile requires the special user account "oprofile" to exist for purposes
65of processing samples from JIT'ed code (e.g., Java applications).
66
67When defining the spec file for the OProfile RPM, you should add the automatic
68creation of the special "oprofile" user account. Please refer to the URL
69below for an example of how this can be done:
70 http://fedoraproject.org/wiki/Packaging/UsersAndGroups
71
72For example, the following commands would add the necessary user account:
73
74 %pre
75 getent group oprofile >/dev/null || groupadd -r oprofile
76 getent passwd oprofile >/dev/null || \
77 useradd -r -g oprofile -d /home/oprofile -s /sbin/nologin \
78 -c "Special user account to be used by OProfile" oprofile
79 exit 0
80