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.

at v4.12-rc4 34 lines 940 B view raw
1#ifndef __PSTORE_INTERNAL_H__ 2#define __PSTORE_INTERNAL_H__ 3 4#include <linux/types.h> 5#include <linux/time.h> 6#include <linux/pstore.h> 7 8#ifdef CONFIG_PSTORE_FTRACE 9extern void pstore_register_ftrace(void); 10extern void pstore_unregister_ftrace(void); 11#else 12static inline void pstore_register_ftrace(void) {} 13static inline void pstore_unregister_ftrace(void) {} 14#endif 15 16#ifdef CONFIG_PSTORE_PMSG 17extern void pstore_register_pmsg(void); 18extern void pstore_unregister_pmsg(void); 19#else 20static inline void pstore_register_pmsg(void) {} 21static inline void pstore_unregister_pmsg(void) {} 22#endif 23 24extern struct pstore_info *psinfo; 25 26extern void pstore_set_kmsg_bytes(int); 27extern void pstore_get_records(int); 28extern void pstore_get_backend_records(struct pstore_info *psi, 29 struct dentry *root, int quiet); 30extern int pstore_mkfile(struct dentry *root, 31 struct pstore_record *record); 32extern bool pstore_is_mounted(void); 33 34#endif