mirror of
https://github.com/a52xq-dev/kernel.git
synced 2026-10-18 21:58:11 +07:00
* this imports the latest version of SM-A526B kernel from https://opensource.samsung.com/uploadSearch?searchValue=SM-A526B
15 lines
420 B
C
15 lines
420 B
C
#ifndef _OLOG_KERNEL_H_
|
|
#define _OLOG_KERNEL_H_
|
|
|
|
#include <linux/unistd.h>
|
|
#include "olog.pb.h"
|
|
|
|
#define OLOG_CPU_FREQ_FILTER 1500000
|
|
#define PERFLOG_MUTEX_THRESHOLD 20
|
|
|
|
#define ologk(...) _perflog(PERFLOG_LOG, PERFLOG_UNKNOWN, __VA_ARGS__)
|
|
#define perflog(...) _perflog(PERFLOG_LOG, __VA_ARGS__)
|
|
extern void _perflog(int type, int logid, const char *fmt, ...);
|
|
extern void perflog_evt(int logid, int arg1);
|
|
|
|
#endif
|