OS Manuals

/usr/libexec/perf-core/scripts/python/bin/failed-syscalls-by-pid-report

Linux kernel performance profiling tool

From perf 6.12.116-r0 (enterprise-packages), captured 2026-11-08 by running failed-syscalls-by-pid-report --help (exit 129). permalink

/usr/libexec/perf-core/scripts/python/bin/failed-syscalls-by-pid-report: line 5: expr: command not found

 Usage: perf script [<options>]
    or: perf script [<options>] record <script> [<record-options>] <command>
    or: perf script [<options>] report <script> [script-args]
    or: perf script [<options>] <script> [<record-options>] <command>
    or: perf script [<options>] <top-script> [script-args]

    -a, --all-cpus        system-wide collection from all CPUs
    -c, --comms <comm[,comm...]>
                          only display events for these comms
    -C, --cpu <cpu>       list of cpus to profile
    -d, --debug-mode      do various checks like samples ordering and lost events
    -D, --dump-raw-trace  dump raw trace in ASCII
    -F, --fields <str>    comma separated output fields prepend with 'type:'. +field to add and -field to remove.Valid types: hw,sw,trace,raw,synth. Fields: comm,tid,pid,time,cpu,event,trace,ip,sym,dso,dsoff,addr,symoff,srcline,period,iregs,uregs,brstack,brstacksym,flags,data_src,weight,bpf-output,brstackinsn,brstackinsnlen,brstackdisasm,brstackoff,callindent,insn,disasm,insnlen,synth,phys_addr,metric,misc,srccode,ipc,tod,data_page_size,code_page_size,ins_lat,machine_pid,vcpu,cgroup,retire_lat,brcntr
    -f, --force           don't complain, do it
    -g, --gen-script <lang>
                          generate perf-script.xx script in specified language
    -G, --hide-call-graph
                          When printing symbols do not display call chain
    -i, --input <file>    input file name
    -I, --show-info       display extended information from perf.data file
    -k, --vmlinux <file>  vmlinux pathname
    -L, --Latency         show latency attributes (irqs/preemption disabled, etc)
    -l, --list            list available scripts
    -s, --script <name>   script file name (lang:script name, script name, or *)
    -S, --symbols <symbol[,symbol...]>
                          only consider these symbols
    -v, --verbose         be more verbose (show symbol address, etc)
        --addr-range <n>  Use with -S to list traced records within address range
        --addr2line <path>
                          addr2line binary to use for line numbers
        --call-ret-trace[=...]
                          Decode calls and returns from itrace
        --call-trace[=...]
                          Decode calls from itrace
        --deltatime       Show time stamps relative to previous event
        --demangle        Enable symbol demangling
        --demangle-kernel
                          Enable kernel symbol demangling
        --dlarg <argument>
                          filter argument
        --dlfilter <file>
                          filter .so file name
        --dsos <dso[,dso...]>
                          only consider symbols in these DSOs
        --dump-unsorted-raw-trace
                          dump unsorted raw trace in ASCII
        --full-source-path
                          Show full source file name path for source lines
        --graph-function <symbol[,symbol...]>
                          Only print symbols and callees with --call-trace/--call-ret-trace
        --guest-code      Guest code can be found in hypervisor process
        --guestkallsyms <file>
                          file saving guest os /proc/kallsyms
        --guestmodules <file>
                          file saving guest os /proc/modules
        --guestmount <directory>
                          guest mount directory under which every guest os instance has a subdir
        --guestvmlinux <file>
                          file saving guest os vmlinux
        --header          Show data header.
        --header-only     Show only data header.
        --inline          Show inline function
        --insn-trace[=<raw|disasm>]
                          Decode instructions from itrace
        --itrace[=<opts>]
                          Instruction Tracing options
				i[period]:    		synthesize instructions events
				y[period]:    		synthesize cycles events (same period as i)
				b:	    		synthesize branches events (branch misses for Arm SPE)
				c:	    		synthesize branches events (calls only)
				r:	    		synthesize branches events (returns only)
				x:	    		synthesize transactions events
				w:	    		synthesize ptwrite events
				p:	    		synthesize power events
				o:			synthesize other events recorded due to the use
							of aux-output (refer to perf record)
				I:			synthesize interrupt or similar (asynchronous) events
							(e.g. Intel PT Event Trace)
				e[flags]:		synthesize error events
							each flag must be preceded by + or -
							error flags are: o (overflow)
									 l (data lost)
				d[flags]:		create a debug log
							each flag must be preceded by + or -
							log flags are: a (all perf events)
							               o (output to stdout)
				f:	    		synthesize first level cache events
				m:	    		synthesize last level cache events
				t:	    		synthesize TLB events
				a:	    		synthesize remote access events
				g[len]:     		synthesize a call chain (use with i or x)
				G[len]:			synthesize a call chain on existing event records
				l[len]:     		synthesize last branch entries (use with i or x)
				L[len]:			synthesize last branch entries on existing event records
				sNUMBER:    		skip initial number of events
				q:			quicker (less detailed) decoding
				A:			approximate IPC
				Z:			prefer to ignore timestamps (so-called "timeless" decoding)
				T:			use the timestamp trace as kernel time
				PERIOD[ns|us|ms|i|t]:   specify period to sample stream
				concatenate multiple options. Default is iybxwpe or cewp

        --kallsyms <file>
                          kallsyms pathname
        --list-dlfilters  list available dlfilters
        --max-blocks <n>  Maximum number of code blocks to dump with brstackinsn
        --max-stack <n>   Set the maximum stack depth when parsing the callchain, anything beyond the specified depth will be ignored. Default: kernel.perf_event_max_stack or 127
        --ns              Use 9 decimal places when displaying time
        --per-event-dump  Dump trace output to files named by the monitored events
        --pid <pid[,pid...]>
                          only consider symbols in these pids
        --reltime         Show time stamps relative to start
        --show-bpf-events
                          Show bpf related events (if recorded)
        --show-cgroup-events
                          Show cgroup events (if recorded)
        --show-kernel-path
                          Show the path of [kernel.kallsyms]
        --show-lost-events
                          Show lost events (if recorded)
        --show-mmap-events
                          Show the mmap events
        --show-namespace-events
                          Show namespace events (if recorded)
        --show-on-off-events
                          Show the on/off switch events, used with --switch-on and --switch-off
        --show-round-events
                          Show round events (if recorded)
        --show-switch-events
                          Show context switch events (if recorded)
        --show-task-events
                          Show the fork/comm/exit events
        --show-text-poke-events
                          Show text poke related events (if recorded)
        --stitch-lbr      Enable LBR callgraph stitching approach
        --stop-bt <symbol[,symbol...]>
                          Stop display of callgraph at these symbols
        --switch-off <event>
                          Stop considering events after the occurrence of this event
        --switch-on <event>
                          Consider events after the occurrence of this event
        --symfs <directory>
                          Look for files with symbols relative to this directory
        --tid <tid[,tid...]>
                          only consider symbols in these tids
        --time <str>      Time span of interest (start,stop)
        --xed[=...]       Run xed disassembler on output
Options (67)
OptionDescriptionSource
-a, --all-cpussystem-wide collection from all CPUshelp
-c, --comms commonly display events for these commshelp
-C, --cpu cpulist of cpus to profilehelp
-d, --debug-modedo various checks like samples ordering and lost eventshelp
-D, --dump-raw-tracedump raw trace in ASCIIhelp
-F, --fields strcomma separated output fields prepend with 'type:'.help
-f, --forcedon't complain, do ithelp
-g, --gen-script langgenerate perf-script.xx script in specified languagehelp
-G, --hide-call-graphWhen printing symbols do not display call chainhelp
-i, --input fileinput file namehelp
-I, --show-infodisplay extended information from perf.data filehelp
-k, --vmlinux filevmlinux pathnamehelp
-L, --Latencyshow latency attributes (irqs/preemption disabled, etc)help
-l, --listlist available scriptshelp
-s, --script namescript file name (lang:script name, script name, or *)help
-S, --symbols symbolonly consider these symbolshelp
-v, --verbosebe more verbose (show symbol address, etc)help
--addr-range nUse with -S to list traced records within address rangehelp
--addr2line pathaddr2line binary to use for line numbershelp
--call-ret-trace ...Decode calls and returns from itracehelp
--call-trace ...Decode calls from itracehelp
--deltatimeShow time stamps relative to previous eventhelp
--demangleEnable symbol demanglinghelp
--demangle-kernelEnable kernel symbol demanglinghelp
--dlarg argumentfilter argumenthelp
--dlfilter filefilter .so file namehelp
--dsos dsoonly consider symbols in these DSOshelp
--dump-unsorted-raw-tracedump unsorted raw trace in ASCIIhelp
--full-source-pathShow full source file name path for source lineshelp
--graph-function symbolOnly print symbols and callees with --call-trace/--call-ret-tracehelp
--guest-codeGuest code can be found in hypervisor processhelp
--guestkallsyms filefile saving guest os /proc/kallsymshelp
--guestmodules filefile saving guest os /proc/moduleshelp
--guestmount directoryguest mount directory under which every guest os instance has a subdirhelp
--guestvmlinux filefile saving guest os vmlinuxhelp
--headerShow data header.help
--header-onlyShow only data header.help
--inlineShow inline functionhelp
--insn-trace raw|disasmDecode instructions from itracehelp
--itrace optsInstruction Tracing options i[period]: synthesize instructions events y[period]: synthesize cycles events (same period as i) b: synthesize branches events (branch misses for Arm SPE) c: synthesize…help
--kallsyms filekallsyms pathnamehelp
--list-dlfilterslist available dlfiltershelp
--max-blocks nMaximum number of code blocks to dump with brstackinsnhelp
--max-stack nSet the maximum stack depth when parsing the callchain, anything beyond the specified depth will be ignored.help
--nsUse 9 decimal places when displaying timehelp
--per-event-dumpDump trace output to files named by the monitored eventshelp
--pid pidonly consider symbols in these pidshelp
--reltimeShow time stamps relative to starthelp
--show-bpf-eventsShow bpf related events (if recorded)help
--show-cgroup-eventsShow cgroup events (if recorded)help
--show-kernel-pathShow the path of [kernel.kallsyms]help
--show-lost-eventsShow lost events (if recorded)help
--show-mmap-eventsShow the mmap eventshelp
--show-namespace-eventsShow namespace events (if recorded)help
--show-on-off-eventsShow the on/off switch events, used with --switch-on and --switch-offhelp
--show-round-eventsShow round events (if recorded)help
--show-switch-eventsShow context switch events (if recorded)help
--show-task-eventsShow the fork/comm/exit eventshelp
--show-text-poke-eventsShow text poke related events (if recorded)help
--stitch-lbrEnable LBR callgraph stitching approachhelp
--stop-bt symbolStop display of callgraph at these symbolshelp
--switch-off eventStop considering events after the occurrence of this eventhelp
--switch-on eventConsider events after the occurrence of this eventhelp
--symfs directoryLook for files with symbols relative to this directoryhelp
--tid tidonly consider symbols in these tidshelp
--time strTime span of interest (start,stop)help
--xed ...Run xed disassembler on outputhelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.