summaryrefslogtreecommitdiff
path: root/libs/cputimeinstate/cputimeinstate.cpp
diff options
context:
space:
mode:
author Connor O'Brien <connoro@google.com> 2019-08-28 16:15:38 -0700
committer Steven Moreland <smoreland@google.com> 2020-01-13 15:58:05 -0800
commitd65f2a02225b93255dc458cd435b34e2f45f586b (patch)
tree5c5748f47ce6d94c29e0ee5394061711aa72b6b3 /libs/cputimeinstate/cputimeinstate.cpp
parent26de80f7758d659c95332b959587bcbb47f5fac2 (diff)
libtimeinstate: move map format info into shared header
Switch from using timeinstate.h to a shared header in system/bpf that provides key & value struct definitions both to libtimeinstate and to our BPF program Test: build libtimeinstate Bug: 138317993 Change-Id: I302b40bd1dfa7b529888f598cf36c146400f1315 Signed-off-by: Connor O'Brien <connoro@google.com> (cherry picked from commit b2b503075c682c5aca211d840bd06f97332cef00) Merged-In: I302b40bd1dfa7b529888f598cf36c146400f1315
Diffstat (limited to 'libs/cputimeinstate/cputimeinstate.cpp')
-rw-r--r--libs/cputimeinstate/cputimeinstate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/cputimeinstate/cputimeinstate.cpp b/libs/cputimeinstate/cputimeinstate.cpp
index f255512704..2d2536c397 100644
--- a/libs/cputimeinstate/cputimeinstate.cpp
+++ b/libs/cputimeinstate/cputimeinstate.cpp
@@ -17,7 +17,7 @@
#define LOG_TAG "libtimeinstate"
#include "cputimeinstate.h"
-#include "timeinstate.h"
+#include <bpf_timeinstate.h>
#include <dirent.h>
#include <errno.h>