diff options
author | Matthias Maennich <[email protected]> | 2019-09-06 11:32:32 +0100 |
---|---|---|
committer | Jessica Yu <[email protected]> | 2019-09-10 10:30:43 +0200 |
commit | eb8305aecb958e8787e7d603c7765c1dcace3a2b (patch) | |
tree | 03a29689498344ac197a953e3eb748d4d58794fc /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 1d082773ff30e97c8bc10b65c4aa0d073664caac (diff) |
scripts: Coccinelle script for namespace dependencies.
A script that uses the '<module>.ns_deps' files generated by modpost to
automatically add the required symbol namespace dependencies to each
module.
Usage:
1) Move some symbols to a namespace with EXPORT_SYMBOL_NS() or define
DEFAULT_SYMBOL_NAMESPACE
2) Run 'make' (or 'make modules') and get warnings about modules not
importing that namespace.
3) Run 'make nsdeps' to automatically add required import statements
to said modules.
This makes it easer for subsystem maintainers to introduce and maintain
symbol namespaces into their codebase.
Co-developed-by: Martijn Coenen <[email protected]>
Signed-off-by: Martijn Coenen <[email protected]>
Acked-by: Julia Lawall <[email protected]>
Reviewed-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Matthias Maennich <[email protected]>
Signed-off-by: Jessica Yu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions