~sergiodj/talks_gdb-best-friend

aee82c1bc0050b18b69197c5823f8800977c2bb4 — Sergio Durigan Junior 9 years ago 27a1de2
Formatting fixes on stap section
1 files changed, 2 insertions(+), 2 deletions(-)

M gdb-best-friend.tex
M gdb-best-friend.tex => gdb-best-friend.tex +2 -2
@@ 194,7 194,7 @@ main (int argc, char *argv[])
\begin{frame}[fragile]
	\frametitle{\stap{} \texttt{SDT} probes}
	\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}}
		\tiny
		\begin{lstlisting}[language=c,showstringspaces=false]


@@ 266,7 266,7 @@ process("./example-stap").mark("my_probe") $arg1:long
\$> gdb /tmp/example-stap
...
(gdb) info probes
Provider   Name       Where               Semaphore           Object
Provider     Name       Where               Semaphore         Object
example-stap my_probe   0x000000000040047b                    /tmp/example-stap
(gdb) break -probe-stap my_probe
Breakpoint 1 at 0x40047b