summaryrefslogtreecommitdiffstats
path: root/drivers/xen/xenfs/super.c
diff options
context:
space:
mode:
authorBoris Ostrovsky <boris.ostrovsky@oracle.com>2015-08-10 22:34:32 +0200
committerDavid Vrabel <david.vrabel@citrix.com>2015-08-20 13:24:25 +0200
commita11f4f0a4e18b4bdc7d5e36438711e038b7a1f74 (patch)
tree20319cffaee334bba06d8280b8398432097f9e65 /drivers/xen/xenfs/super.c
parentxen: remove no longer needed p2m.h (diff)
downloadlinux-a11f4f0a4e18b4bdc7d5e36438711e038b7a1f74.tar.xz
linux-a11f4f0a4e18b4bdc7d5e36438711e038b7a1f74.zip
xen: xensyms support
Export Xen symbols to dom0 via /proc/xen/xensyms (similar to /proc/kallsyms). Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com> Reviewed-by: David Vrabel <david.vrabel@citrix.com> Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Diffstat (limited to 'drivers/xen/xenfs/super.c')
-rw-r--r--drivers/xen/xenfs/super.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/xen/xenfs/super.c b/drivers/xen/xenfs/super.c
index 06092e0fe8ce..8559a71f36b1 100644
--- a/drivers/xen/xenfs/super.c
+++ b/drivers/xen/xenfs/super.c
@@ -57,6 +57,9 @@ static int xenfs_fill_super(struct super_block *sb, void *data, int silent)
{ "privcmd", &xen_privcmd_fops, S_IRUSR|S_IWUSR },
{ "xsd_kva", &xsd_kva_file_ops, S_IRUSR|S_IWUSR},
{ "xsd_port", &xsd_port_file_ops, S_IRUSR|S_IWUSR},
+#ifdef CONFIG_XEN_SYMS
+ { "xensyms", &xensyms_ops, S_IRUSR},
+#endif
{""},
};