Changeset 40eab9f in mainline for kernel/generic/include/debug/line.h


Ignore:
Timestamp:
2023-11-03T18:47:41Z (15 months ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
master, topic/msim-upgrade, topic/simplify-dev-export
Children:
b1397ab
Parents:
dcd8214
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2023-11-03 18:46:22)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2023-11-03 18:47:41)
Message:

Print symbol names and line numbers in stacktraces for init tasks

Only useful in select few situations, but useful nonetheless.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/debug/line.h

    rdcd8214 r40eab9f  
    3333#include <stddef.h>
    3434#include <stdint.h>
     35#include <debug/sections.h>
    3536
    3637struct debug_line_program_header {
     
    103104}
    104105
    105 extern bool debug_line_get_address_info(uintptr_t addr, int op_index, const char **file, const char **dir, int *line, int *col);
     106extern bool debug_line_get_address_info(debug_sections_t *scs, uintptr_t addr, int op_index, const char **file, const char **dir, int *line, int *col);
    106107
    107108#endif /* DWARFS_LINE_H_ */
Note: See TracChangeset for help on using the changeset viewer.