projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4641daa
)
Android: add support for cgroups
author
Omri Mor
<omor1@asu.edu>
Sat, 20 May 2017 09:09:45 +0000
(
02:09
-0700)
committer
Omri Mor
<omor1@asu.edu>
Sat, 20 May 2017 09:09:45 +0000
(
02:09
-0700)
Signed-off-by: Omri Mor <omor1@asu.edu>
Makefile
patch
|
blob
|
blame
|
history
os/os-android.h
patch
|
blob
|
blame
|
history
diff --git
a/Makefile
b/Makefile
index 1f0f5d04c8b8aedaee17ec278414f86d2e61158f..c3e551dffd1a2ef6f37c7bda521928180bb0e10e 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-140,7
+140,7
@@
ifeq ($(CONFIG_TARGET_OS), Linux)
LDFLAGS += -rdynamic
endif
ifeq ($(CONFIG_TARGET_OS), Android)
- SOURCE += diskutil.c fifo.c blktrace.c trim.c profiles/tiobench.c \
+ SOURCE += diskutil.c fifo.c blktrace.c
cgroup.c
trim.c profiles/tiobench.c \
oslib/linux-dev-lookup.c
LIBS += -ldl
LDFLAGS += -rdynamic
diff --git
a/os/os-android.h
b/os/os-android.h
index 6c3e0985b22fc5896e21d42458f02ff4b2be444c..7ce312854806566252c376ab11369cde4dba5ac1 100644
(file)
--- a/
os/os-android.h
+++ b/
os/os-android.h
@@
-32,6
+32,7
@@
#define FIO_HAVE_HUGETLB
#define FIO_HAVE_BLKTRACE
#define FIO_HAVE_CL_SIZE
+#define FIO_HAVE_CGROUPS
#define FIO_HAVE_FS_STAT
#define FIO_HAVE_TRIM
#define FIO_HAVE_GETTID