Next: Starting and Stopping Trace Experiments, Previous: Tracepoint Actions, Up: Set Tracepoints

#### 13.1.6 Listing Tracepoints

`info tracepoints` [num]
  Display information about the tracepoint num. If you don't specify a tracepoint number, displays information about all the tracepoints defined so far. The format is similar to that used for `info breakpoints`; in fact, `info tracepoints` is the same command, simply restricting itself to tracepoints.

  A tracepoint's listing may include additional information specific to tracing:

  - its passcount as given by the `passcount` n command
  - its step count as given by the `while-stepping` n command
  - its action list as given by the `actions` command. The actions are prefixed with an ``A`' so as to distinguish them from commands.

                (gdb) info trace
                Num     Type           Disp Enb Address    What
                1       tracepoint     keep y   0x0804ab57 in foo() at main.cxx:7
                        pass count 1200
                        step count 20
                      A while-stepping 20
                      A collect globfoo, $regs
                      A end
                      A collect globfoo2
                      A end
                (gdb)

  This command can be abbreviated `info tp`.