PERF-CONFIG(1) perf Manual PERF-CONFIG(1) (NAME) perf-config - (SYNOPSIS) perf config [] [section.name[=value] ...] perf config [] -l | --list (DESCRIPTION) . (OPTIONS) -l, --list . --user : $HOME/.perfconfig . --system : $(sysconfdir)/perfconfig . (CONFIGURATION FILE) perf . $HOME/.perfconfig . $(sysconfdir)/perfconfig . PERF_CONFIG /dev/null . --system --user . (Syntax) . . name = value : [section] name1 = value1 name2 = value2 ( " \" \\ ). . (Example) $HOME/.perfconfig : # # # # ; # [colors] # top = red, default medium = green, default normal = lightgray, default selected = white, lightgray jump_arrows = blue, default addr = magenta, default root = white, blue [tui] # libslang report = on annotate = on top = on [buildid] # /dev/null dir = ~/.debug [annotate] # hide_src_code = false use_offset = true jump_arrows = true show_nr_jumps = false [help] # man info web html format = man autocorrect = 0 [ui] show-headers = true [call-graph] # fp (framepointer), dwarf record-mode = fp print-type = graph order = caller sort-key = function [report] # sort_order = comm,dso,symbol percent-limit = 0 queue-size = 0 children = true group = true skip-empty = true false annotate : % perf config annotate.hide_src_code=true : % perf config ui.show-headers=false kmem.default=slab report ( ~/.perfconfig): % perf config --user report.sort-order=srcline ( $(sysconf)/perfconfig): % perf config --system colors.selected=yellow,green : % perf config call-graph.record-mode / : % perf config report.queue-size call-graph.order report.children ( ~/.perfconfig): % perf config --user call-graph.sort-order buildid ( $(sysconf)/perfconfig): % perf config --system buildid.dir (Variables) colors.* report top annotate TUI. : medium = green, lightgray 'default' : medium = default, lightgray : red, yellow, green, cyan, gray, black, blue, white, default, magenta, lightgray colors.top top . . red default. colors.medium medium . . green default. colors.normal normal top medium selected . lightgray default. colors.selected (top report annotate) . black lightgray. colors.jump_arrows jns jmp jane . blue default. colors.addr annotate . magenta default. colors.root (top report). white blue. core.*, core.proc-map-timeout ( ) /proc//maps . --proc-map-timeout . 500ms . addr2line-disable-warn true addr2line . false . addr2line-timeout ( ) addr2line . 5s . tui., gtk. top report annotate. : [tui] top = true TUI 'top' . . buildid.*, buildid.dir perf.data . /proc/kallsyms /proc/kcore $HOME/.debug/ . buildid.dir . buildid.dir /dev/null . $HOME/.debug buildid-cache.* buildid-cache.debuginfod=URLs debuginfod perf.data DEBUGINFOD_URLS : buildid-cache.debuginfod=http://192.168.122.174:8002 annotate.* (jump) . annotate.disassemblers : "objdump" "llvm" "capstone" "llvm" "capstone" "objdump" . . . annotate.addr2line addr2line . annotate.objdump objdump (annotation) perf test. annotate.disassembler_style binutils ( "intel") -M objdump . annotate.hide_src_code annotate . true . | push %rbp | mov %rsp,%rbp | sub $0x10,%rsp | mov (%rdi),%rdx 'false' . 'false' . | struct rb_node *rb_next(const struct rb_node *node) | { | push %rbp | mov %rsp,%rbp | sub $0x10,%rsp | struct rb_node *parent; | | if (RB_EMPTY_NODE(node)) | mov (%rdi),%rdx | return n; tui stdio2 . annotate.use_offset (offset) . . : 0XFFFFFFFF81624d50 ffffffff81624d50 : ffffffff816250b8:| mov 0x8(%r14),%rdi use_offset 'true' . true . TUI . 368:| mov 0x8(%r14),%rdi tui stdio2 . annotate.jump_arrows . jump_arrows . | jmp 1333 | | xchg %ax,%ax |1330:| mov %r15,%r10 |1333:->cmp %r15,%r14 jump_arrow 'false' . 'false' . | v jmp 1333 | xchg %ax,%ax |1330: mov %r15,%r10 |1333: cmp %r15,%r14 tui . annotate.show_linenr true . |1628 if (type & PERF_SAMPLE_IDENTIFIER) { | v jne 508 |1628 data->id = *array; |1629 array++; |1630 } 'false' : 'false' . | if (type & PERF_SAMPLE_IDENTIFIER) { | v jne 508 | data->id = *array; | array++; | } tui stdio2 . annotate.show_nr_jumps . |1382: movb $0x1,-0x270(%rbp) . 'false' . |1 1382: movb $0x1,-0x270(%rbp) tui stdio2 . annotate.show_total_period . true . 302 | mov %eax,%eax 'false' (overhead) : 'false' . 99.93 | mov %eax,%eax tui stdio2 stdio . annotate.show_nr_samples perf annotate . . false : Percent| 74.03 | mov %fs:0x28,%rax true : Samples| 6 | mov %fs:0x28,%rax tui stdio2 stdio . annotate.offset_level 1 . 2 call 3 . tui stdio2 . annotate.demangle (demangle) . true . annotate.demangle_kernel (demangle) . true . hist.*, hist.percentage - ( comm dso ) . : Overhead Symbols ........ ....... 33.33% foo 33.33% bar 33.33% baz 'foo' . 'relative' 'bar' 'baz' 50.00% 'absolute' (33.33%) . ui.*, ui.show-headers ( Overhead Symbol) report top . false . TUI . call-graph.* ( -g/--call-graph) . call-graph.record-mode fp ( ) dwarf lbr . dwarf libunwind ( libdw) lbr . (CONFIG_UNWINDER_*) . 'defer' 'fp' ( 'fp,defer') . call-graph.dump-size (post-unwinding) (dump) . 8192 () . dwarf record-mode . call-graph.print-type (print-types) graph ( ) fractal ( ) flat folded . . . Overhead Symbols ....... ....... 40.00% foo | ---foo | |--50.00%--bar | main | --50.00%--baz main 'fractal' . 'foo' 'bar' 'baz' 'fractal' 50.00% ( 'foo' 100% ). 'graph' 'foo' 'bar' 'baz' 20.00% . 'flat' . 'folded' - . call-graph.order . callee (callee) (caller) . caller . report.children top.children true ( ) 'perf report' 'perf top' 'caller' . 'callee' . call-graph.sort-key . sort-key . sort-key function address . function . call-graph.threshold . perf () . 0.5 (%) . call-graph.print-type . call-graph.print-limit . 0 . report.*, report.sort_order "comm,dso,symbol" "sym,dso" () . report.percent-limit call-graph.threshold ( ) . (overhead) . 0 . percent-limit 10 . report.queue-size . 0 . report.children Children . (true) perf report (children) () Self . perf report . true . report.group . (ref-cycles cycles): # group: {ref-cycles,cycles} # ======== # # Samples: 7K of event 'anon group { ref-cycles, cycles }' # Event count (approx.): 6876107743 # # Overhead Command Shared Object Symbol # ............... ....... ................. ................... # 99.84% 99.76% noploop noploop [.] main 0.07% 0.00% noploop ld-2.15.so [.] strcmp 0.03% 0.00% noploop [kernel.kallsyms] [k] timerqueue_del report.skip-empty (stat) . true perf report --stat 0 . top.*, top.children report.children . top Children Self . true . top.call-graph call-graph.record-mode top . (unwind) . perf top -g . man.*, man.viewer help . man woman ( emacs) konqueror. man . 'man..cmd' 'man..path' . pager.*, pager. stdio () . unspecified . kmem.*, kmem.default --slab --page (allocator) . slab . record.*, record.build-id cache no-cache skip mmap . cache (build-id) (~/.debug) . . no-cache build-id . skip . mmap build-id MMAP . record.call-graph call-graph.record-mode record . (unwind) . perf record -g . record.aio n ( Posix AIO) ( n: 1 : 4). record.debuginfod debuginfod URL perf.data DEBUGINFOD_URLS : http://192.168.122.174:8002 URL 'system' DEBUGINFOD_URLS . diff.*, diff.order . 0 (baseline) . 1 ( ) . diff.compute (diff) . : delta delta-abs ratio wdiff. delta . trace.*, trace.add_events . augmented_raw_syscalls.o perf trace (tracepoint payload) . trace.args_alignment 70 40 strace . trace.no_inherit (children threads) . trace.show_arg_names trace.show_zeros . trace.show_duration . trace.show_prefix yes . "MAP_SHARED" "SHARED" . trace.show_timestamp (timestamp) . trace.show_zeros (suppress) . trace.tracepoint_beautifiers "libtraceevent" "libbeauty" ( ) sys_enter+sys_exit strace. ftrace.*, ftrace.tracer (tracer) -G -F . : function function_graph. samples.*, samples.context (sample context browser) perf report . scripts.* perf . . perf script -i perfdata --cpu --tid. convert.*, convert.queue-size ordered_events perf (finished round events) . stat.*, stat.big-num () "--big-num". "--no-big-num" "stat.big-num=false" . intel-pt.*, intel-pt.cache-divisor, intel-pt.mispred-all Intel PT mispred ( ) . intel-pt.max-loops . "Never-ending loop" ( ) . 100000 . intel-pt.all-switch-events (context switch) . auxtrace.*, auxtrace.dumpdir s390. (auxiliary trace buffer) . : auxtrace.dumpdir=/tmp. . itrace.*, debug-log-buffer-size --itrace=d+e. itrace perf-script(1) perf-report(1) . 16384 . daemon.*, daemon.base (daemon). . session-.*, session-.run (record) . record record . (SEE ALSO) perf(1) perf 09/04/2026 PERF-CONFIG(1)