summaryrefslogtreecommitdiff
path: root/arch/x86/machine/strace.c
AgeCommit message (Collapse)Author
2017-07-13Switch to initialization operationsRichard Braun
2017-06-22kern/macros: move the __read_mostly macro hereRichard Braun
2017-06-10x86/strace: tweak stack tracing outputRichard Braun
2017-06-10Use log functions where appropriateRichard Braun
2017-04-29New stdio.h standard headerRichard Braun
Make kernel code obtain definitions for the printf family of functions through the inclusion of the standard stdio.h header.
2017-04-29kern/printk: rename to printfRichard Braun
The printk functions are close enough to the printf ones to bear the same names.
2017-02-04Clean up compilationRichard Braun
Instead of mixing standard headers and internal redefinitions of standard types, completely rely on the compiler for what is guaranteed for a free standing environment. This results in the removal of kern/stddef.h and kern/stdint.h. The kern/types.h header is reintroduced for the different (and saner) purpose of defining types not specified in standard C, namely ssize_t for now.
2017-02-04kern/types: split into module-specific type headersRichard Braun
Using a single header for all types causing inclusion circular dependencies isn't very elegant and doesn't scale.
2017-01-24Add brackets around one-line conditional statementsRichard Braun
Complete what was started in commit 39c13b3b84b34e0938220126c8f147d2b0b6ac89.
2017-01-13Replace unsigned long with uintptr_t for integer/pointer conversionsRichard Braun
This is mostly done for the machine-independent part.
2016-12-09Force brackets around one-line conditional statementsRichard Braun
This change was done using astyle, with a few manual editing here and there.
2014-12-10x86/strace: replace call to pmap_extractRichard Braun
2014-01-02Declare variables as read mostly where appropriateRichard Braun
2013-08-15x86/strace: fix new lines in message stringsRichard Braun
2013-06-28x86/pmap: replace pmap_kextract with pmap_extractRichard Braun
As it was done for pmap_protect, replace a kernel-specific call with one that can handle both the kernel and regular pmaps. The new function isn't complete yet and cannot handle physical maps that aren't the kernel pmap or the currently loaded pmap.
2013-02-28x86/strace: fix address lookupRichard Braun
2012-12-31x86/strace: handle symbol tableRichard Braun
If passed by the boot loader, the stack tracing module can use the symbol table to resolve addresses when forging the call trace.
2012-12-31x86/strace: new module for stack tracingRichard Braun
For simplicity, this implementation currently relies on the base pointer method to walk call chains.