HP Caliper Ktrace Features Guide

3 ktracedump: Kernel Trace Reporter
This chapter summarizes the ktracedump command and its options. See the
ktracedump(1M) manpage for detailed syntax information and other examples.
ktracedump prints a formatted report of the traces that ktracer collected.
ktracedump works on live systems and on crash dumps.
Syntax
ktracedump [ -D | -m ] [-H] [ -J col ] [ -j col ] [-S col] [-a]
[-g] [-A] [-N] [-F] [-X ext]
Usage
In a dump directory:
ktracedump -m > kd.out
Reading from a ’live’ kernel, using /stand/vmunix and /dev/kmem:
ktracedump -D > kd.out
Options
-H Show column name, num, desc for all printable fields
-J col%fmt Print column with format. E.g. -J AbsTime%#18lx
-j col Turn off printing of this column. E.g. -j 5
-S col Sort traces by AbsTime or Seq column
-a Print the function argument columns
-g Print the global[n] columns
-A Print all trace fields
-N Do not print any traces.
-F Print traced function list. E.g. -DNF
Table 3-1 ktracedump options
DescriptionOption
Read the trace data from the live kernel using /stand/vmunix and /dev/kmem.
Options -D and -m are mutually exclusive.
D
Read the trace data from a dump, using the vmunix and image files in the current
directory. Options -D and -m are mutually exclusive.
m
Syntax 27