mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-23 22:02:27 +00:00
Get --ftrace working on aarch64
This change implements a new approach to function call logging, that's based on the GCC flag: -fpatchable-function-entry. Read the commentary in build/config.mk to learn how it works.
This commit is contained in:
parent
5b908bc756
commit
eb40cb371d
934 changed files with 2259 additions and 1268 deletions
2
third_party/python/Python/cosmomodule.c
vendored
2
third_party/python/Python/cosmomodule.c
vendored
|
@ -342,7 +342,7 @@ static PyMethodDef cosmo_methods[] = {
|
|||
{"getcpucore", cosmo_getcpucore, METH_NOARGS, getcpucore_doc},
|
||||
{"getcpunode", cosmo_getcpunode, METH_NOARGS, getcpunode_doc},
|
||||
#endif /* __x86_64__ */
|
||||
#ifdef __PG__
|
||||
#ifdef FTRACE
|
||||
{"ftrace", cosmo_ftrace, METH_NOARGS, ftrace_doc},
|
||||
#endif
|
||||
{0},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue