debug_prev_entry(9)
β¨ debug_prev_entry(9) β¨
So this page lives in the Kernel API Manual, and bestie, it's a tiny little function that's about to make your whole day. It's giving "small but mighty" energy. π
π« NAME
debug_prev_entry β okay so it literally just goes to the previous entry. That's the whole vibe check. π
πΈ SYNOPSIS
bool debug_prev_entry (file_private_info_t *p_info );
Copy that exactly, bestie β bool return, one pointer argument, semicolon and all. No cap. π
π¦ ARGUMENTS
p_infoβ the private info that gets manipulated. That's it. That's the whole argument list. She's lowkey simple like that. π«Ά
π DESCRIPTION
Okay so what she does: she sets the current position in p_info to the previous entry. That's the main character move. β
But β and this is the part you gotta pay attention to β if there's no previous entry, the current position is set left as DEBUG_PROLOG_ENTRY, and the return value tells you that no previous entries exist. So like, she doesn't just silently fail on you, she's honest about it. π
Fr fr, keep an eye on that return value β it's the only way you'll know you hit the wall at the start. π
π₯ RETURN
Trueif there are more previous entries πfalseotherwise π
Literally true/false, binary, iconic, no in-between. π
π SEE ALSO
Y'all, the whole friend group is here, and they all live in the kernel file ./arch/s390/kernel/debug.c:
debug_next_entry(9)debug_to_act_entry(9)debug_move_entry(9)debug_dump(9)debug_register_mode(9)debug_register(9)debug_register_static(9)debug_unregister(9)debug_set_level(9)debug_stop_all(9)debug_set_critical(9)debug_register_view(9)debug_unregister_view(9)
Go say hi to debug_next_entry(9) β she's basically this one's mirror twin. πͺβ¨
Mwah π β this page came from ./arch/s390/kernel and it's dated October 2026, so go forth and navigate those entries, bestie. You ate. ππ§
π¦ 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