mirror of
https://github.com/LineageOS/android_kernel_samsung_msm8226.git
synced 2026-09-29 00:00:25 +02:00
* Samsung Package Version: G800HXXU1CRJ1
* CAF Tag: LA.BF.1.1.3-00110-8x26.0
33 lines
769 B
C
33 lines
769 B
C
/* stlog internals
|
|
*
|
|
*/
|
|
|
|
#ifndef _LINUX_STLOG_H
|
|
#define _LINUX_STLOG_H
|
|
|
|
#define STLOG_ACTION_CLOSE 0
|
|
#define STLOG_ACTION_OPEN 1
|
|
#define STLOG_ACTION_READ 2
|
|
#define STLOG_ACTION_READ_ALL 3
|
|
#define STLOG_ACTION_WRITE 4
|
|
#define STLOG_ACTION_SIZE_BUFFER 5
|
|
|
|
#define STLOG_FROM_READER 0
|
|
#define STLOG_FROM_PROC 1
|
|
|
|
#define CONFIG_STLOG
|
|
|
|
int do_stlog(int type, char __user *buf, int count, bool from_file);
|
|
int do_stlog_write(int type, const char __user *buf, int count, bool from_file);
|
|
int vstlog(const char *fmt, va_list args);
|
|
int stlog(const char *fmt, ...);
|
|
|
|
#ifdef CONFIG_STLOG
|
|
#define ST_LOG(fmt,...) stlog(fmt,##__VA_ARGS__)
|
|
#else
|
|
#define ST_LOG(fmt,...)
|
|
#endif /* CONFIG_STLOG */
|
|
|
|
|
|
#endif /* _STLOG_H */
|