Usage: pahole [OPTION...] FILE -a, --anon_include include anonymous classes -A, --nested_anon_include include nested (inside other structs) anonymous classes --btf_attributes Allow generation of attributes in BTF. Attributes are the type tags and decl tags with the kind_flag set to 1. --btf_base=PATH Path to the base BTF file --btf_encode_detached=FILENAME Encode as BTF in a detached file --btf_encode_force Ignore those symbols found invalid when encoding BTF. --btf_features=FEATURE_LIST Specify supported BTF features in FEATURE_LIST or 'default' for default set of supported features. See the pahole manual page for the list of supported, default features. --btf_features_strict=FEATURE_LIST_STRICT Specify supported BTF features in FEATURE_LIST_STRICT or 'default' for default set of supported features. Unlike --btf_features, unrecognized features will trigger an error. --btf_gen_all Allow using all the BTF features supported by pahole. --btf_gen_floats Allow producing BTF_KIND_FLOAT entries. --btf_gen_optimized Generate BTF for functions with optimization-related suffixes (.isra, .constprop). -B, --bit_holes=NR_HOLES Show only structs at least NR_HOLES bit holes --classes_as_structs Use 'struct' when printing classes --compile Emit compilable types --contains_enumerator=ENUMERATOR Show enumerations that contains ENUMERATOR --count=COUNT Print only COUNT input records -c, --cacheline_size=SIZE set cacheline size to SIZE -C, --class_name=CLASS_NAME Show just this class --devel_version Print development version with git SHA (e.g., v1.31-189-g437fced33da3393e) -d, --recursive recursive mode, affects several other flags -D, --decl_exclude=PREFIX exclude classes declared in files with PREFIX -E, --expand_types expand class members --features=FEATURE_LIST Specify supported features in FEATURE_LIST or 'default' for default set of supported features. See the pahole manual page for the list of supported, default features. --first_obj_only Only process the first object file in the binary --fixup_silly_bitfields Fix silly bitfields such as int foo:32 --flat_arrays Flat arrays -f, --find_pointers_to=CLASS_NAME Find pointers to CLASS_NAME -F, --format_path=FORMAT_LIST List of debugging formats to try --hashbits=BITS Number of bits for the hash table key --header_type=TYPE File header type --hex Print offsets and sizes in hexadecimal -H, --holes=NR_HOLES show only structs with at least NR_HOLES holes -i, --contains=CLASS_NAME Show classes that contains CLASS_NAME -I, --show_decl_info Show the file and line number where the tags were defined -j, --jobs[=NR_JOBS] run N jobs in parallel [default to number of online processors + 10%] -J, --btf_encode Encode as BTF --kabi_prefix=STRING When the prefix of the string is STRING, treat the string as STRING. --lang=LANGUAGES Only consider compilation units written in these languages --lang_exclude=LANGUAGES Don't consider compilation units written in these languages -l, --show_first_biggest_size_base_type_member show first biggest size base_type member -m, --nr_methods show number of methods -M, --show_only_data_members show only the members that use space in the class layout --numeric_version Print a numeric version, i.e. 119 instead of v1.19 -n, --nr_members show number of members -N, --class_name_len show size of classes --packed Show just packed structs --padding_ge=SIZE_PADDING show only structs with at least SIZE_PADDING bytes padding at its end --prettify=PATH Path to the raw data to pretty print --ptr_table_stats Print internal data structures stats -p, --expand_pointers expand class pointer members -P, --packable show only structs that has holes that can be packed -q, --quiet be quieter --range=STRUCT Data struct with 'offset' and 'size' fields to determine --seek_bytes and --size_bytes --reproducible_build Generate reproducile BTF output --running_kernel_vmlinux Search for, possibly getting from a debuginfo server, a vmlinux matching the running kernel build-id (from /sys/kernel/notes) -r, --rel_offset show relative offsets of members in inner structs -R, --reorganize reorg struct trying to kill holes --seek_bytes=BYTES Seek COUNT input records --show_private_classes Show classes that are defined inside other classes or in functions --size_bytes=BYTES Read only this number of bytes from this point onwards --skip=COUNT Skip COUNT input records --skip_emitting_atomic_typedefs Do not emit 'typedef _Atomic int atomic_int' & friends. --skip_encoding_btf_decl_tag Do not encode TAGs in BTF. --skip_encoding_btf_enum64 Do not encode ENUM64sin BTF. --skip_encoding_btf_inconsistent_proto Skip functions that have multiple inconsistent function prototypes sharing the same name, or that use unexpected registers for parameter values. --skip_encoding_btf_type_tag Do not encode TAGs in BTF. --skip_encoding_btf_vars Do not encode any VARs in BTF [if this is not specified, only percpu variables are encoded. To encode global variables too, use --encode_btf_global_vars]. --skip_missing skip missing types passed to -C rather than stop --sort Sort types by name --structs Show just structs --supported_btf_features Show list of btf_features supported by pahole and exit. --suppress_aligned_attribute Suppress __attribute__((aligned(N)) --suppress_force_paddings Suppress int :N paddings at the end --suppress_packed Suppress output of inferred __attribute__((__packed__)) -s, --sizes show size of classes -S, --show_reorg_steps show the struct layout at each reorganization step -t, --separator=SEP use SEP as the field separator -T, --nr_definitions show how many times struct was defined --unions Show just unions -u, --defined_in show CUs where CLASS_NAME (-C) is defined -V, --verbose be verbose --with_embedded_flexible_array show only structs with an embedded flexible array (containing a struct that has a flexible array) --with_flexible_array show only structs with a flexible array -w, --word_size=WORD_SIZE change the arch word size to WORD_SIZE -x, --exclude=PREFIX exclude PREFIXed classes -X, --cu_exclude=PREFIX exclude PREFIXed compilation units -y, --prefix_filter=PREFIX include PREFIXed classes -z, --hole_size_ge=HOLE_SIZE show only structs with at least one hole greater or equal to HOLE_SIZE -Z, --ctf_encode Encode as CTF: DISABLED, consider helping porting to libctf -?, --help Give this help list --usage Give a short usage message --version Print program version Mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options.