seq_file: provide an analogue of print_hex_dump()
[firefly-linux-kernel-4.4.55.git] / include / linux / seq_file.h
index d4c7271382cb310edc3d2bf4ffd5ef997e5bef87..adeadbd6d7bfa4909db409aaa3f10e90a9e8ca00 100644 (file)
@@ -122,6 +122,10 @@ int seq_write(struct seq_file *seq, const void *data, size_t len);
 __printf(2, 3) int seq_printf(struct seq_file *, const char *, ...);
 __printf(2, 0) int seq_vprintf(struct seq_file *, const char *, va_list args);
 
+void seq_hex_dump(struct seq_file *m, const char *prefix_str, int prefix_type,
+                 int rowsize, int groupsize, const void *buf, size_t len,
+                 bool ascii);
+
 int seq_path(struct seq_file *, const struct path *, const char *);
 int seq_file_path(struct seq_file *, struct file *, const char *);
 int seq_dentry(struct seq_file *, struct dentry *, const char *);