diff options
author | Boris Ostrovsky <boris.ostrovsky@oracle.com> | 2015-08-10 23:34:32 +0300 |
---|---|---|
committer | David Vrabel <david.vrabel@citrix.com> | 2015-08-20 14:24:25 +0300 |
commit | a11f4f0a4e18b4bdc7d5e36438711e038b7a1f74 (patch) | |
tree | 20319cffaee334bba06d8280b8398432097f9e65 /drivers/xen/xenfs/super.c | |
parent | cb3eb850137cd43fc3e25d2062525f5ba5fd884a (diff) | |
download | linux-a11f4f0a4e18b4bdc7d5e36438711e038b7a1f74.tar.xz |
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.c | 3 |
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 {""}, }; |