Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

docs: symbol-namespaces: mention sysfs attribute

Reference the new /sys/module/*/import_ns sysfs attribute in docs as an
alternative to modinfo for inspecting imported namespaces of loaded
modules.

Signed-off-by: Nicholas Sielicki <linux@opensource.nslick.com>
Signed-off-by: Sami Tolvanen <samitolvanen@google.com>

authored by

Nicholas Sielicki and committed by
Sami Tolvanen
f15dbe8a 3fe1dcbc

+5
+5
Documentation/core-api/symbol-namespaces.rst
··· 114 114 import_ns: USB_STORAGE 115 115 [...] 116 116 117 + For modules that are currently loaded, imported namespaces are also available 118 + via sysfs:: 119 + 120 + $ cat /sys/module/ums_karma/import_ns 121 + USB_STORAGE 117 122 118 123 It is advisable to add the MODULE_IMPORT_NS() statement close to other module 119 124 metadata definitions like MODULE_AUTHOR() or MODULE_LICENSE().