Formatting fixes on stap section
This commit is contained in:
parent
27a1de29b7
commit
aee82c1bc0
1 changed files with 2 additions and 2 deletions
|
@ -194,7 +194,7 @@ main (int argc, char *argv[])
|
||||||
\begin{frame}[fragile]
|
\begin{frame}[fragile]
|
||||||
\frametitle{\stap{} \texttt{SDT} probes}
|
\frametitle{\stap{} \texttt{SDT} probes}
|
||||||
\begin{itemize}
|
\begin{itemize}
|
||||||
\item{Pre-req for \gdb{}: \probe{} v3, \verb|systemtap-sdt-devel >= 1.4|.}
|
\item{Pre-req: \probe{} v3, \verb|systemtap-sdt-devel >= 1.4|.}
|
||||||
\begin{block}{Example code -- \texttt{example-stap.c}}
|
\begin{block}{Example code -- \texttt{example-stap.c}}
|
||||||
\tiny
|
\tiny
|
||||||
\begin{lstlisting}[language=c,showstringspaces=false]
|
\begin{lstlisting}[language=c,showstringspaces=false]
|
||||||
|
@ -266,7 +266,7 @@ process("./example-stap").mark("my_probe") $arg1:long
|
||||||
\$> gdb /tmp/example-stap
|
\$> gdb /tmp/example-stap
|
||||||
...
|
...
|
||||||
(gdb) info probes
|
(gdb) info probes
|
||||||
Provider Name Where Semaphore Object
|
Provider Name Where Semaphore Object
|
||||||
example-stap my_probe 0x000000000040047b /tmp/example-stap
|
example-stap my_probe 0x000000000040047b /tmp/example-stap
|
||||||
(gdb) break -probe-stap my_probe
|
(gdb) break -probe-stap my_probe
|
||||||
Breakpoint 1 at 0x40047b
|
Breakpoint 1 at 0x40047b
|
||||||
|
|
Loading…
Reference in a new issue