[3d3560c5] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[6e4f58e] | 7 | <!ENTITY sysprof-download-http "&gnome-download-http;/sysprof/&sysprof-minor;/sysprof-&sysprof-version;.tar.xz">
|
---|
| 8 | <!ENTITY sysprof-download-ftp "&gnome-download-ftp;/sysprof/&sysprof-minor;/sysprof-&sysprof-version;.tar.xz">
|
---|
[751dd1e] | 9 | <!ENTITY sysprof-md5sum "e96168b2fa18462f40871513fe4228b5">
|
---|
| 10 | <!ENTITY sysprof-size "484 KB">
|
---|
| 11 | <!ENTITY sysprof-buildsize "21 MB">
|
---|
[3d3560c5] | 12 | <!ENTITY sysprof-time "0.1 SBU (using parallelism=4)">
|
---|
| 13 |
|
---|
| 14 | ]>
|
---|
| 15 |
|
---|
| 16 | <sect1 id="sysprof" xreflabel="sysprof-&sysprof-version;">
|
---|
| 17 | <?dbhtml filename="sysprof.html"?>
|
---|
| 18 |
|
---|
| 19 | <sect1info>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>Sysprof-&sysprof-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="sysprof">
|
---|
| 26 | <primary sortas="a-sysprof">sysprof</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to Sysprof</title>
|
---|
| 31 |
|
---|
| 32 | <para>
|
---|
| 33 | The <application>sysprof</application> package contains a statistical and
|
---|
| 34 | system-wide profiler for Linux.
|
---|
| 35 | </para>
|
---|
| 36 |
|
---|
[519aed4] | 37 | &lfs111_checked;
|
---|
[3d3560c5] | 38 |
|
---|
| 39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 40 | <itemizedlist spacing="compact">
|
---|
| 41 | <listitem>
|
---|
| 42 | <para>
|
---|
| 43 | Download (HTTP): <ulink url="&sysprof-download-http;"/>
|
---|
| 44 | </para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>
|
---|
| 48 | Download (FTP): <ulink url="&sysprof-download-ftp;"/>
|
---|
| 49 | </para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>
|
---|
| 53 | Download MD5 sum: &sysprof-md5sum;
|
---|
| 54 | </para>
|
---|
| 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
| 57 | <para>
|
---|
| 58 | Download size: &sysprof-size;
|
---|
| 59 | </para>
|
---|
| 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
| 62 | <para>
|
---|
| 63 | Estimated disk space required: &sysprof-buildsize;
|
---|
| 64 | </para>
|
---|
| 65 | </listitem>
|
---|
| 66 | <listitem>
|
---|
| 67 | <para>
|
---|
| 68 | Estimated build time: &sysprof-time;
|
---|
| 69 | </para>
|
---|
| 70 | </listitem>
|
---|
| 71 | </itemizedlist>
|
---|
| 72 |
|
---|
| 73 | <bridgehead renderas="sect3">Sysprof Dependencies</bridgehead>
|
---|
| 74 |
|
---|
| 75 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 76 | <para role="required">
|
---|
| 77 | <xref linkend="gtk3"/>,
|
---|
[0f30bb17] | 78 | <xref linkend="itstool"/>,
|
---|
[b3bcb7de] | 79 | <xref linkend="json-glib"/>,
|
---|
[751dd1e] | 80 | <xref linkend="libunwind"/>,
|
---|
[3d3560c5] | 81 | <xref linkend="libdazzle"/>, <phrase revision="systemd">and</phrase>
|
---|
| 82 | <xref linkend="polkit"/> <phrase revision="sysv">, and</phrase>
|
---|
| 83 | <phrase revision="sysv"><xref linkend="elogind"/></phrase>
|
---|
| 84 | </para>
|
---|
| 85 |
|
---|
| 86 | <para condition="html" role="usernotes">
|
---|
| 87 | User Notes: <ulink url="&blfs-wiki;/sysprof"/>
|
---|
| 88 | </para>
|
---|
| 89 | </sect2>
|
---|
| 90 |
|
---|
| 91 | <sect2 role="installation">
|
---|
| 92 | <title>Installation of Sysprof</title>
|
---|
| 93 |
|
---|
| 94 | <para>
|
---|
| 95 | Install <application>Sysprof</application> by running the following
|
---|
| 96 | commands:
|
---|
| 97 | </para>
|
---|
| 98 |
|
---|
| 99 | <screen revision="sysv"><userinput>mkdir build &&
|
---|
| 100 | cd build &&
|
---|
| 101 |
|
---|
[b7e2ce4] | 102 | meson --prefix=/usr --buildtype=release -Dsystemdunitdir=/tmp .. &&
|
---|
[3d3560c5] | 103 | ninja</userinput></screen>
|
---|
| 104 |
|
---|
| 105 | <screen revision="systemd"><userinput>mkdir build &&
|
---|
| 106 | cd build &&
|
---|
| 107 |
|
---|
| 108 | meson --prefix=/usr .. &&
|
---|
| 109 | ninja</userinput></screen>
|
---|
| 110 |
|
---|
| 111 | <para>
|
---|
| 112 | To test the results, issue: <command>ninja test</command>.
|
---|
| 113 | </para>
|
---|
| 114 |
|
---|
| 115 | <para>
|
---|
| 116 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 117 | </para>
|
---|
| 118 |
|
---|
| 119 | <screen role="root" revision="sysv"><userinput>ninja install &&
|
---|
| 120 | rm -v /tmp/*.service</userinput></screen>
|
---|
| 121 |
|
---|
| 122 | <screen role="root" revision="systemd"><userinput>ninja install</userinput></screen>
|
---|
| 123 |
|
---|
| 124 | </sect2>
|
---|
| 125 |
|
---|
| 126 | <sect2 role="commands" revision="sysv">
|
---|
| 127 | <title>Command Explanations</title>
|
---|
| 128 |
|
---|
| 129 | <para>
|
---|
| 130 | <command>rm -v /tmp/*.service</command>: This command removes
|
---|
| 131 | systemd units which have no use on SysV systems.
|
---|
| 132 | </para>
|
---|
| 133 |
|
---|
| 134 | <para>
|
---|
| 135 | <parameter>-Dsystemdunitdir=/tmp</parameter>: This parameter puts systemd
|
---|
| 136 | units in /tmp on SysV systems so that they can be removed. It also bypasses
|
---|
| 137 | a check for systemd <!-- for sd-bus --> in the meson.build file.
|
---|
| 138 | </para>
|
---|
| 139 |
|
---|
| 140 | </sect2>
|
---|
| 141 |
|
---|
| 142 | <sect2 role="content">
|
---|
| 143 | <title>Contents</title>
|
---|
| 144 |
|
---|
| 145 | <segmentedlist>
|
---|
| 146 | <segtitle>Installed Programs</segtitle>
|
---|
| 147 | <segtitle>Installed Libraries</segtitle>
|
---|
| 148 | <segtitle>Installed Directories</segtitle>
|
---|
| 149 |
|
---|
| 150 | <seglistitem>
|
---|
| 151 | <seg>
|
---|
| 152 | sysprof and sysprof-cli
|
---|
| 153 | </seg>
|
---|
| 154 | <seg>
|
---|
| 155 | libsysprof-4.so,
|
---|
| 156 | libsysprof-capture-4.a, <!-- is required -->
|
---|
| 157 | libsysprof-memory-4.so,
|
---|
| 158 | libsysprof-speedtrack-4.so, and
|
---|
| 159 | libsysprof-ui-4.so
|
---|
| 160 | </seg>
|
---|
| 161 | <seg>
|
---|
| 162 | /usr/include/sysprof-4 and
|
---|
| 163 | /usr/share/help/*/sysprof
|
---|
| 164 | </seg>
|
---|
| 165 | </seglistitem>
|
---|
| 166 | </segmentedlist>
|
---|
| 167 |
|
---|
| 168 | <variablelist>
|
---|
| 169 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 170 | <?dbfo list-presentation="list"?>
|
---|
| 171 | <?dbhtml list-presentation="table"?>
|
---|
| 172 |
|
---|
| 173 | <varlistentry id="sysprof-prog">
|
---|
| 174 | <term><command>sysprof</command></term>
|
---|
| 175 | <listitem>
|
---|
| 176 | <para>
|
---|
[4c24eb0a] | 177 | is a graphical interface to sysprof
|
---|
[3d3560c5] | 178 | </para>
|
---|
| 179 | <indexterm zone="sysprof sysprof-prog">
|
---|
| 180 | <primary sortas="b-sysprof">sysprof</primary>
|
---|
| 181 | </indexterm>
|
---|
| 182 | </listitem>
|
---|
| 183 | </varlistentry>
|
---|
| 184 |
|
---|
| 185 | <varlistentry id="sysprof-cli">
|
---|
| 186 | <term><command>sysprof-cli</command></term>
|
---|
| 187 | <listitem>
|
---|
| 188 | <para>
|
---|
[4c24eb0a] | 189 | is a command line interface to sysprof
|
---|
[3d3560c5] | 190 | </para>
|
---|
| 191 | <indexterm zone="sysprof sysprof-cli">
|
---|
| 192 | <primary sortas="b-sysprof-cli">sysprof-cli</primary>
|
---|
| 193 | </indexterm>
|
---|
| 194 | </listitem>
|
---|
| 195 | </varlistentry>
|
---|
| 196 |
|
---|
| 197 | <varlistentry id="libsysprof-4">
|
---|
| 198 | <term><filename class="libraryfile">libsysprof-4.so</filename></term>
|
---|
| 199 | <listitem>
|
---|
| 200 | <para>
|
---|
[4c24eb0a] | 201 | provides API functions for profiling processes running on a system
|
---|
[3d3560c5] | 202 | </para>
|
---|
| 203 | <indexterm zone="sysprof libsysprof-4">
|
---|
| 204 | <primary sortas="c-libsysprof">libsysprof-4.so</primary>
|
---|
| 205 | </indexterm>
|
---|
| 206 | </listitem>
|
---|
| 207 | </varlistentry>
|
---|
| 208 |
|
---|
| 209 | <!-- static library is required for capture stats from a process -->
|
---|
| 210 | <varlistentry id="libsysprof-capture-4">
|
---|
| 211 | <term><filename class="libraryfile">libsysprof-capture-4.a</filename></term>
|
---|
| 212 | <listitem>
|
---|
| 213 | <para>
|
---|
[4c24eb0a] | 214 | provides a hook used to capture statistics from a process
|
---|
[3d3560c5] | 215 | </para>
|
---|
| 216 | <indexterm zone="sysprof libsysprof-capture-4">
|
---|
| 217 | <primary sortas="c-libsysprof-capture">libsysprof-capture-4.a</primary>
|
---|
| 218 | </indexterm>
|
---|
| 219 | </listitem>
|
---|
| 220 | </varlistentry>
|
---|
| 221 |
|
---|
| 222 | <varlistentry id="libsysprof-memory-4">
|
---|
| 223 | <term><filename class="libraryfile">libsysprof-memory-4.so</filename></term>
|
---|
| 224 | <listitem>
|
---|
| 225 | <para>
|
---|
[4c24eb0a] | 226 | provides API functions for capturing memory statistics
|
---|
[3d3560c5] | 227 | </para>
|
---|
| 228 | <indexterm zone="sysprof libsysprof-memory-4">
|
---|
| 229 | <primary sortas="c-libsysprof-memory">libsysprof-memory-4.so</primary>
|
---|
| 230 | </indexterm>
|
---|
| 231 | </listitem>
|
---|
| 232 | </varlistentry>
|
---|
[8558044] | 233 |
|
---|
[3d3560c5] | 234 | <varlistentry id="libsysprof-speedtrack-4">
|
---|
| 235 | <term><filename class="libraryfile">libsysprof-speedtrack-4.so</filename></term>
|
---|
| 236 | <listitem>
|
---|
| 237 | <para>
|
---|
[4c24eb0a] | 238 | provides API functions for tracking the speed of a running process
|
---|
[3d3560c5] | 239 | </para>
|
---|
| 240 | <indexterm zone="sysprof libsysprof-speedtrack-4">
|
---|
| 241 | <primary sortas="c-libsysprof-speedtrack">libsysprof-speedtrack-4.so</primary>
|
---|
| 242 | </indexterm>
|
---|
| 243 | </listitem>
|
---|
| 244 | </varlistentry>
|
---|
| 245 |
|
---|
| 246 | <varlistentry id="libsysprof-ui-4">
|
---|
| 247 | <term><filename class="libraryfile">libsysprof-ui-4.so</filename></term>
|
---|
| 248 | <listitem>
|
---|
| 249 | <para>
|
---|
[4c24eb0a] | 250 | provides API functions for the sysprof GUI
|
---|
[3d3560c5] | 251 | </para>
|
---|
| 252 | <indexterm zone="sysprof libsysprof-ui-4">
|
---|
| 253 | <primary sortas="c-libsysprof-ui">libsysprof-ui-4.so</primary>
|
---|
| 254 | </indexterm>
|
---|
| 255 | </listitem>
|
---|
| 256 | </varlistentry>
|
---|
| 257 | </variablelist>
|
---|
| 258 | </sect2>
|
---|
[4c24eb0a] | 259 |
|
---|
[3d3560c5] | 260 | </sect1>
|
---|