projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] Add timestamp field to process events
[firefly-linux-kernel-4.4.55.git]
/
include
/
linux
/
cn_proc.h
diff --git
a/include/linux/cn_proc.h
b/include/linux/cn_proc.h
index c948f678e04efd548c92c3eaa8b3a6412effd26a..1417de93505788152005b978c85fce08b22f5c21 100644
(file)
--- a/
include/linux/cn_proc.h
+++ b/
include/linux/cn_proc.h
@@
-26,6
+26,7
@@
#define CN_PROC_H
#include <linux/types.h>
#define CN_PROC_H
#include <linux/types.h>
+#include <linux/time.h>
#include <linux/connector.h>
/*
#include <linux/connector.h>
/*
@@
-65,6
+66,7
@@
struct proc_event {
PROC_EVENT_EXIT = 0x80000000
} what;
__u32 cpu;
PROC_EVENT_EXIT = 0x80000000
} what;
__u32 cpu;
+ struct timespec timestamp;
union { /* must be last field of proc_event struct */
struct {
__u32 err;
union { /* must be last field of proc_event struct */
struct {
__u32 err;