You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Doc: Rename svn into git, add instructions to build with perf-events
Minor update in the www html part with information on building with perf-events for remote machines.
Also rename svn words into git. We don't use svn anymore.
Copy file name to clipboardExpand all lines: doc/www/software-instructions.html
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -239,6 +239,13 @@ <h2>Building and Installing</h2>
239
239
240
240
<olclass="noindent">
241
241
242
+
<li>Configuring the perf_events sample source:
243
+
<p>
244
+
HPCToolkit's configure command will automatically check the availability of the Linux perf_events interface on the build system.
245
+
The test includes checking the existence of <code>/usr/include/linux/perf_event.h</code> and <code>/proc/sys/kernel/perf_event_paranoid</code> files. If the two files do not exist, it assumes the system does not support the perf_events interface.
246
+
</p>
247
+
To profile on a remote machine that has different system or architecture configuration, one must download and build the libpfm4 library (<ahref="http://perfmon2.sourceforge.net">http://perfmon2.sourceforge.net</a>) and indicate its install directory by specifying the option <code>--with-perfmon=<libpfm4_install_directory></code> to HPCToolkit's <code>configure</code> command.
248
+
</li>
242
249
<li><p>Build and install HPCToolkit's Externals, which typically does not require any special options; we recommend using the GCC compilers:
Copy file name to clipboardExpand all lines: doc/www/software-instructions.html.in
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -240,6 +240,13 @@ Please note that a list of examples below provides <code>configure</code> comman
240
240
241
241
<olclass="noindent">
242
242
243
+
<li>Configuring the perf_events sample source:
244
+
<p>
245
+
HPCToolkit's configure command will automatically check the availability of the Linux perf_events interface on the build system.
246
+
The test includes checking the existence of <code>/usr/include/linux/perf_event.h</code> and <code>/proc/sys/kernel/perf_event_paranoid</code> files. If the two files do not exist, it assumes the system does not support the perf_events interface.
247
+
</p>
248
+
To profile on a remote machine that has different system or architecture configuration, one must download and build the libpfm4 library (<ahref="http://perfmon2.sourceforge.net">http://perfmon2.sourceforge.net</a>) and indicate its install directory by specifying the option <code>--with-perfmon=<libpfm4_install_directory></code> to HPCToolkit's <code>configure</code> command.
249
+
</li>
243
250
<li><p>Build and install HPCToolkit's Externals, which typically does not require any special options; we recommend using the GCC compilers:
0 commit comments