summaryrefslogtreecommitdiffstats
path: root/common/kallsyms.c
Commit message (Collapse)AuthorAgeFilesLines
* commands: add new of_fixup command to list and disable DT fixupsAhmad Fatoum2023-05-221-4/+4
| | | | | | | | | | | | | | barebox can already dry run fixups with of_diff - +, but there's no way to selectively disable a fixup to rule out it causing issues. For platforms supporting kallsyms, we can readily allow enabling and disabling fixups by name, so let's add a command that does just that to aid in debugging. Suggested-by: Daniel BrĂ¡t <danek.brat@gmail.com> Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20230420203219.2255564-1-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* treewide: add SPDX-License-Identifier for files without explicit licenseAhmad Fatoum2022-01-051-0/+2
| | | | | | | | | Record GPL-2.0-only as license for all files lacking an explicit license statement. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20220103120539.1730644-12-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Kallsyms: Cleanup whitespacesSascha Hauer2020-09-281-2/+2
| | | | | | | 96028fb099 ("Kallsyms: Also resolve global variables") introduced some whitespaces where should have been tabs. Fix this. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Kallsyms: Also resolve global variablesSascha Hauer2020-09-181-2/+2
| | | | | | | Increase the area used for resolving symbols so that global variables can also be resolved to names. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* treewide: fix 'new blank line at EOF' formatting errorAntony Pavlov2015-07-021-1/+0
| | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Documentation: remove doxygen documentationSascha Hauer2014-06-261-4/+0
| | | | | | | The doxygen documentation is long outdated. Remove it. It will be replaced with sphinx based documentation later. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* common/kallsyms.c: Fix sparse warningAlexander Shiyan2014-02-171-4/+4
| | | | | | | | CHECK common/kallsyms.c common/kallsyms.c:170:12: warning: symbol 'kallsyms_lookup' was not declared. Should it be static? Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* include asm/sections.h instead of asm-generic/sections.hSascha Hauer2013-03-101-1/+1
| | | | | | To let the architectures override asm-generic/sections.h Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* kallsyms/printk: enable symbol printing support (%pS)Sascha Hauer2011-03-101-1/+147
| | | | | | | | | With this kallsyms finally start working at least on ARM. This enables us resolving addresses into symbols which is particularly useful in combination with stack unwinding support. As kallsyms now compile and work we can remove the depends on BROKEN. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* doc: silence doxygen warningsRobert Schwebel2010-10-221-0/+4
| | | | | | | | | | | | Silence these warnings: common/kallsyms.c:8: Warning: documented function `const u8 kallsyms_names' was not declared or defined. common/kallsyms.c:10: Warning: documented function `const u8 kallsyms_token_table' was not declared or defined. common/kallsyms.c:11: Warning: documented function `const u16 kallsyms_token_index' was not declared or defined. common/kallsyms.c:13: Warning: documented function `const unsigned long kallsyms_markers' was not declared or defined. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* add kallsyms from linux kernelSascha Hauer2007-09-281-0/+69