summaryrefslogtreecommitdiffstats
path: root/collectors/proc.plugin/proc_self_mountinfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'collectors/proc.plugin/proc_self_mountinfo.h')
-rw-r--r--collectors/proc.plugin/proc_self_mountinfo.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/collectors/proc.plugin/proc_self_mountinfo.h b/collectors/proc.plugin/proc_self_mountinfo.h
index 15d63c786..92918a73d 100644
--- a/collectors/proc.plugin/proc_self_mountinfo.h
+++ b/collectors/proc.plugin/proc_self_mountinfo.h
@@ -38,6 +38,9 @@ struct mountinfo {
char *mount_source; // mount source: filesystem-specific information or "none".
uint32_t mount_source_hash;
+ char *mount_source_name;
+ uint32_t mount_source_name_hash;
+
char *super_options; // super options: per-superblock options.
uint32_t flags;
@@ -47,11 +50,11 @@ struct mountinfo {
struct mountinfo *next;
};
-extern struct mountinfo *mountinfo_find(struct mountinfo *root, unsigned long major, unsigned long minor);
+extern struct mountinfo *mountinfo_find(struct mountinfo *root, unsigned long major, unsigned long minor, char *device);
extern struct mountinfo *mountinfo_find_by_filesystem_mount_source(struct mountinfo *root, const char *filesystem, const char *mount_source);
extern struct mountinfo *mountinfo_find_by_filesystem_super_option(struct mountinfo *root, const char *filesystem, const char *super_options);
extern void mountinfo_free_all(struct mountinfo *mi);
extern struct mountinfo *mountinfo_read(int do_statvfs);
-#endif /* NETDATA_PROC_SELF_MOUNTINFO_H */ \ No newline at end of file
+#endif /* NETDATA_PROC_SELF_MOUNTINFO_H */