1 .\" Copyright (c) 2018, Apple Inc. All rights reserved.
8 .Nd show allocation backtraces for kernel zones
12 .Op Fl z Ar name Op Fl n Ar num | Fl l
16 displays allocation (and free, if used in corruption tracking mode with
17 the boot-arg "-zc") backtraces for zones that have zone logging enabled.
18 Zone logging can be turned on by using the boot-arg "zlog<N>=<name>",
19 where 'N' can range from 1 to 10, and 'name' is the name of the zone to
23 interprets the following options:
25 .Bl -tag -width "disable -"
28 (Default) list all the zones that have logging enabled
31 show all allocation backtraces for zone
35 Can be used in combination with the
37 option to show the top
39 backtraces with the most active references in the zone
43 Can be used in combination with the
45 option to show the backtrace most likely contributing to a leak in the zone
47 (prints the backtrace with the most active references)