STRUCT LOCK_TRACE(9)
π NAME π
okay so welcome to the Kernel API Manual, bestie β this is the page for struct lock_trace(9), and it is literally just one single stack backtrace. no cap, that's the whole vibe. π¦
β¨ SYNOPSIS β¨
struct lock_trace {
struct hlist_node hash_entry;
u32 hash;
u32 nr_entries;
unsigned long entries[];
};
that's the struct, icon behavior only π
π Members π
hash_entryβ Entry in astack_trace_hash[]list. she's on the list, periodt πhashβjhashofentries. cute little fingerprint energy β¨nr_entriesβ Number of entries inentries. literally the count, bestie π’entriesβ Actual stack backtrace. the main character data right here π
π SEE ALSO π
all the related lore lives in the kernel file ./kernel/locking/lockdep.c, and the reference squad is struct pending_free(9), struct delayed_free(9), lockdep_hardirqs_on_prepare(9), and lockdep_cleanup_dead_cpu(9). iykyk π«Ά
mwah π β this cute little page is from ./kernel/locking, dated October 2026, and it's serving struct lock_trace(9) realness. slay and read the source, bestie πΈ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms