]> git.karo-electronics.de Git - karo-tx-redboot.git/blobdiff - packages/services/profile/gprof/v2_0/doc/profile.sgml
unified MX27, MX25, MX37 trees
[karo-tx-redboot.git] / packages / services / profile / gprof / v2_0 / doc / profile.sgml
index 55192d189a2596db5107537a2667574884004d74..32f60a28986a8f3651386fbbf700d6599fd7c9ca 100644 (file)
@@ -267,6 +267,19 @@ clock.
       </varlistentry>
     </variablelist>
     <para>
+<function>profile_on</function> can be invoked multiple times, and
+on subsequent invocations, it will delete profiling data
+and allocate a fresh profiling range.
+    </para>
+    <para>
+Profiling can be turned off using the function
+<function>profile_off</function>:
+<programlisting>
+void profile_off(void);
+</programlisting>
+This will also reset any existing profile data.
+    </para>
+    <para>
 If the eCos configuration includes a TCP/IP stack and if a tftp daemon
 will be used to <link linkend="gprof-extract">extract</link> the data
 from the target then the call to <function>profile_on</function>