mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-03 06:17:46 +08:00
Add sysprof
Update to libdazzle-3.38.0 git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@23748 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
9021a65851
commit
3d3560c51d
@ -57,6 +57,7 @@ $Date$
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="subversion.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="svnserver.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="swig.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sysprof.xml"/>
|
||||
<!-- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="tcl.xml"/> -->
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="tk.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="vala.xml"/>
|
||||
|
262
general/prog/sysprof.xml
Normal file
262
general/prog/sysprof.xml
Normal file
@ -0,0 +1,262 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
||||
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
||||
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
||||
%general-entities;
|
||||
|
||||
<!ENTITY sysprof-download-http "&gnome-download-http;/sysprof/&gnome-minor-38;/sysprof-&sysprof-version;.tar.xz">
|
||||
<!ENTITY sysprof-download-ftp "&gnome-download-ftp;/sysprof/&gnome-minor-38;/sysprof-&sysprof-version;.tar.xz">
|
||||
<!ENTITY sysprof-md5sum "a1b8d744ff0cb60462121d98840a2133">
|
||||
<!ENTITY sysprof-size "448 KB">
|
||||
<!ENTITY sysprof-buildsize "28 MB">
|
||||
<!ENTITY sysprof-time "0.1 SBU (using parallelism=4)">
|
||||
|
||||
]>
|
||||
|
||||
<sect1 id="sysprof" xreflabel="sysprof-&sysprof-version;">
|
||||
<?dbhtml filename="sysprof.html"?>
|
||||
|
||||
<sect1info>
|
||||
<othername>$LastChangedBy$</othername>
|
||||
<date>$Date$</date>
|
||||
</sect1info>
|
||||
|
||||
<title>Sysprof-&sysprof-version;</title>
|
||||
|
||||
<indexterm zone="sysprof">
|
||||
<primary sortas="a-sysprof">sysprof</primary>
|
||||
</indexterm>
|
||||
|
||||
<sect2 role="package">
|
||||
<title>Introduction to Sysprof</title>
|
||||
|
||||
<para>
|
||||
The <application>sysprof</application> package contains a statistical and
|
||||
system-wide profiler for Linux.
|
||||
</para>
|
||||
|
||||
&lfs10_checked;
|
||||
|
||||
<bridgehead renderas="sect3">Package Information</bridgehead>
|
||||
<itemizedlist spacing="compact">
|
||||
<listitem>
|
||||
<para>
|
||||
Download (HTTP): <ulink url="&sysprof-download-http;"/>
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
Download (FTP): <ulink url="&sysprof-download-ftp;"/>
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
Download MD5 sum: &sysprof-md5sum;
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
Download size: &sysprof-size;
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
Estimated disk space required: &sysprof-buildsize;
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
Estimated build time: &sysprof-time;
|
||||
</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
|
||||
<bridgehead renderas="sect3">Sysprof Dependencies</bridgehead>
|
||||
|
||||
<bridgehead renderas="sect4">Required</bridgehead>
|
||||
<para role="required">
|
||||
<xref linkend="gtk3"/>,
|
||||
<xref linkend="libdazzle"/>, <phrase revision="systemd">and</phrase>
|
||||
<xref linkend="polkit"/> <phrase revision="sysv">, and</phrase>
|
||||
<phrase revision="sysv"><xref linkend="elogind"/></phrase>
|
||||
</para>
|
||||
|
||||
<bridgehead renderas="sect4">Optional</bridgehead>
|
||||
<para role="optional">
|
||||
<ulink url="http://www.nongnu.org/libunwind">libunwind</ulink>
|
||||
</para>
|
||||
|
||||
<para condition="html" role="usernotes">
|
||||
User Notes: <ulink url="&blfs-wiki;/sysprof"/>
|
||||
</para>
|
||||
</sect2>
|
||||
|
||||
<sect2 role="installation">
|
||||
<title>Installation of Sysprof</title>
|
||||
|
||||
<para>
|
||||
Install <application>Sysprof</application> by running the following
|
||||
commands:
|
||||
</para>
|
||||
|
||||
<screen revision="sysv"><userinput>mkdir build &&
|
||||
cd build &&
|
||||
|
||||
meson --prefix=/usr -Dsystemdunitdir=/tmp .. &&
|
||||
ninja</userinput></screen>
|
||||
|
||||
<screen revision="systemd"><userinput>mkdir build &&
|
||||
cd build &&
|
||||
|
||||
meson --prefix=/usr .. &&
|
||||
ninja</userinput></screen>
|
||||
|
||||
<para>
|
||||
To test the results, issue: <command>ninja test</command>.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
Now, as the <systemitem class="username">root</systemitem> user:
|
||||
</para>
|
||||
|
||||
<screen role="root" revision="sysv"><userinput>ninja install &&
|
||||
rm -v /tmp/*.service</userinput></screen>
|
||||
|
||||
<screen role="root" revision="systemd"><userinput>ninja install</userinput></screen>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2 role="commands" revision="sysv">
|
||||
<title>Command Explanations</title>
|
||||
|
||||
<para>
|
||||
<command>rm -v /tmp/*.service</command>: This command removes
|
||||
systemd units which have no use on SysV systems.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
<parameter>-Dsystemdunitdir=/tmp</parameter>: This parameter puts systemd
|
||||
units in /tmp on SysV systems so that they can be removed. It also bypasses
|
||||
a check for systemd <!-- for sd-bus --> in the meson.build file.
|
||||
</para>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2 role="content">
|
||||
<title>Contents</title>
|
||||
|
||||
<segmentedlist>
|
||||
<segtitle>Installed Programs</segtitle>
|
||||
<segtitle>Installed Libraries</segtitle>
|
||||
<segtitle>Installed Directories</segtitle>
|
||||
|
||||
<seglistitem>
|
||||
<seg>
|
||||
sysprof and sysprof-cli
|
||||
</seg>
|
||||
<seg>
|
||||
libsysprof-4.so,
|
||||
libsysprof-capture-4.a, <!-- is required -->
|
||||
libsysprof-memory-4.so,
|
||||
libsysprof-speedtrack-4.so, and
|
||||
libsysprof-ui-4.so
|
||||
</seg>
|
||||
<seg>
|
||||
/usr/include/sysprof-4 and
|
||||
/usr/share/help/*/sysprof
|
||||
</seg>
|
||||
</seglistitem>
|
||||
</segmentedlist>
|
||||
|
||||
<variablelist>
|
||||
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
||||
<?dbfo list-presentation="list"?>
|
||||
<?dbhtml list-presentation="table"?>
|
||||
|
||||
<varlistentry id="sysprof-prog">
|
||||
<term><command>sysprof</command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
is a graphical interface to sysprof.
|
||||
</para>
|
||||
<indexterm zone="sysprof sysprof-prog">
|
||||
<primary sortas="b-sysprof">sysprof</primary>
|
||||
</indexterm>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="sysprof-cli">
|
||||
<term><command>sysprof-cli</command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
is a command line interface to sysprof.
|
||||
</para>
|
||||
<indexterm zone="sysprof sysprof-cli">
|
||||
<primary sortas="b-sysprof-cli">sysprof-cli</primary>
|
||||
</indexterm>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="libsysprof-4">
|
||||
<term><filename class="libraryfile">libsysprof-4.so</filename></term>
|
||||
<listitem>
|
||||
<para>
|
||||
provides API functions for profiling processe running on a system.
|
||||
</para>
|
||||
<indexterm zone="sysprof libsysprof-4">
|
||||
<primary sortas="c-libsysprof">libsysprof-4.so</primary>
|
||||
</indexterm>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<!-- static library is required for capture stats from a process -->
|
||||
<varlistentry id="libsysprof-capture-4">
|
||||
<term><filename class="libraryfile">libsysprof-capture-4.a</filename></term>
|
||||
<listitem>
|
||||
<para>
|
||||
provides a hook used to capture statistics from a process.
|
||||
</para>
|
||||
<indexterm zone="sysprof libsysprof-capture-4">
|
||||
<primary sortas="c-libsysprof-capture">libsysprof-capture-4.a</primary>
|
||||
</indexterm>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="libsysprof-memory-4">
|
||||
<term><filename class="libraryfile">libsysprof-memory-4.so</filename></term>
|
||||
<listitem>
|
||||
<para>
|
||||
provides API functions for capturing memory statistics.
|
||||
</para>
|
||||
<indexterm zone="sysprof libsysprof-memory-4">
|
||||
<primary sortas="c-libsysprof-memory">libsysprof-memory-4.so</primary>
|
||||
</indexterm>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="libsysprof-speedtrack-4">
|
||||
<term><filename class="libraryfile">libsysprof-speedtrack-4.so</filename></term>
|
||||
<listitem>
|
||||
<para>
|
||||
provides API functions for tracking the speed of a running process.
|
||||
</para>
|
||||
<indexterm zone="sysprof libsysprof-speedtrack-4">
|
||||
<primary sortas="c-libsysprof-speedtrack">libsysprof-speedtrack-4.so</primary>
|
||||
</indexterm>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="libsysprof-ui-4">
|
||||
<term><filename class="libraryfile">libsysprof-ui-4.so</filename></term>
|
||||
<listitem>
|
||||
<para>
|
||||
provides API functions for the sysprof GUI.
|
||||
</para>
|
||||
<indexterm zone="sysprof libsysprof-ui-4">
|
||||
<primary sortas="c-libsysprof-ui">libsysprof-ui-4.so</primary>
|
||||
</indexterm>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</sect2>
|
||||
</sect1>
|
@ -87,10 +87,10 @@
|
||||
|
||||
<bridgehead renderas="sect4">Optional</bridgehead>
|
||||
<para role="optional">
|
||||
<xref linkend="sysprof"/>,
|
||||
<xref linkend="valgrind"/> (for tests),
|
||||
<ulink url="http://dtrace.org/blogs/about">DTrace</ulink>,
|
||||
<ulink url="http://ltp.sourceforge.net/coverage/lcov.php">LCOV</ulink>,
|
||||
<ulink url="&gnome-download-http;/sysprof/">Sysprof</ulink>, and
|
||||
<ulink url="http://ltp.sourceforge.net/coverage/lcov.php">LCOV</ulink>, and
|
||||
<ulink url="https://sourceware.org/systemtap">Systemtap</ulink>
|
||||
</para>
|
||||
|
||||
|
@ -104,8 +104,9 @@
|
||||
<bridgehead renderas="sect4">Recommended</bridgehead>
|
||||
<para role="recommended">
|
||||
<xref linkend="desktop-file-utils"/>,
|
||||
<xref linkend="gobject-introspection"/>, and
|
||||
<xref linkend="startup-notification"/>
|
||||
<xref linkend="gobject-introspection"/>,
|
||||
<xref linkend="startup-notification"/>, and
|
||||
<xref linkend="sysprof"/>
|
||||
</para>
|
||||
|
||||
<bridgehead renderas="sect4">Recommended (Required to
|
||||
|
@ -44,6 +44,14 @@
|
||||
<listitem>
|
||||
<para>September 21st, 2020</para>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>[renodr] - Update to libdazzle-3.38.0. Part of
|
||||
<ulink url="&blfs-ticket-root;14029">#14029</ulink>.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>[renodr] - Add sysprof-3.38.0. Fixes
|
||||
<ulink url="&blfs-ticket-root;14051">#14051</ulink>.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>[bdubbs] - Update to xterm-360. Fixes
|
||||
<ulink url="&blfs-ticket-root;14053">#14053</ulink>.</para>
|
||||
|
@ -98,8 +98,9 @@
|
||||
<xref linkend="mitkrb"/> (required to run the test suite),
|
||||
<xref linkend="gtk-doc"/>,
|
||||
<xref linkend="php"/> compiled with XMLRPC-EPI <!-- It seems that XMLRPC is part of PHP 5.4.10 -->
|
||||
support (only used for the XMLRPC regression tests) and
|
||||
<xref linkend="samba"/> (ntlm_auth is required to run the test suite).
|
||||
support (only used for the XMLRPC regression tests),
|
||||
<xref linkend="samba"/> (ntlm_auth is required to run the test suite), and
|
||||
<xref linkend="sysprof"/>
|
||||
</para>
|
||||
|
||||
<para condition="html" role="usernotes">
|
||||
|
@ -364,6 +364,7 @@ to avoid building libxml2 twice, which is slow with all deps -->
|
||||
<!ENTITY slang-version "2.3.2">
|
||||
<!ENTITY subversion-version "1.14.0">
|
||||
<!ENTITY swig-version "4.0.2">
|
||||
<!ENTITY sysprof-version "3.38.0">
|
||||
<!ENTITY tcl-version "8.6.10">
|
||||
<!ENTITY tk-version "8.6.10">
|
||||
<!ENTITY vala-major-version "0.50"> <!-- even minors only -->
|
||||
@ -737,7 +738,7 @@ to avoid building libxml2 twice, which is slow with all deps -->
|
||||
<!ENTITY imlib2-version "1.7.0">
|
||||
<!ENTITY keybinder2-version "0.3.1">
|
||||
<!ENTITY keybinder3-version "0.3.2">
|
||||
<!ENTITY libdazzle-version "3.36.0">
|
||||
<!ENTITY libdazzle-version "3.38.0">
|
||||
<!ENTITY libhandy-version "0.0.13">
|
||||
<!ENTITY libnotify-version "0.7.9">
|
||||
<!ENTITY libxklavier-version "5.4">
|
||||
|
@ -4,12 +4,12 @@
|
||||
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
||||
%general-entities;
|
||||
|
||||
<!ENTITY libdazzle-download-http "&gnome-download-http;/libdazzle/&gnome-minor-36;/libdazzle-&libdazzle-version;.tar.xz">
|
||||
<!ENTITY libdazzle-download-ftp "&gnome-download-ftp;/libdazzle/&gnome-minor-36;/libdazzle-&libdazzle-version;.tar.xz">
|
||||
<!ENTITY libdazzle-md5sum "154be45a6aac020e7d59f477bd7cafcf">
|
||||
<!ENTITY libdazzle-size "436 KB">
|
||||
<!ENTITY libdazzle-buildsize "45 MB (with tests)">
|
||||
<!ENTITY libdazzle-time "0.2 SBU (uning parallelism=4; with tests)">
|
||||
<!ENTITY libdazzle-download-http "&gnome-download-http;/libdazzle/&gnome-minor-38;/libdazzle-&libdazzle-version;.tar.xz">
|
||||
<!ENTITY libdazzle-download-ftp "&gnome-download-ftp;/libdazzle/&gnome-minor-38;/libdazzle-&libdazzle-version;.tar.xz">
|
||||
<!ENTITY libdazzle-md5sum "7dee045bef026ff26af9b16f8252936b">
|
||||
<!ENTITY libdazzle-size "440 KB">
|
||||
<!ENTITY libdazzle-buildsize "42 MB (with tests)">
|
||||
<!ENTITY libdazzle-time "0.2 SBU (using parallelism=4; with tests)">
|
||||
]>
|
||||
|
||||
<sect1 id="libdazzle" xreflabel="libdazzle-&libdazzle-version;">
|
||||
|
Loading…
Reference in New Issue
Block a user