OSDN Git Service

IOshark support to not pre-create files in /system, /vendor, ...
authorMohan Srinivasan <srmohan@google.com>
Sat, 25 Feb 2017 00:34:28 +0000 (16:34 -0800)
committerMohan Srinivasan <srmohan@google.com>
Tue, 28 Feb 2017 04:01:11 +0000 (20:01 -0800)
commit02f8626d766424406bcfea1e20ef352d3b9a72cf
tree768ececfd4d106049585ab238302e9f71f395797
parent2aa6e6fbda3ac6781efd022f01f8006cedda878d
IOshark support to not pre-create files in /system, /vendor, ...

1) Add support to IOshark to not pre-create files that the workload
read from /system, /vendor and other read-only partitions. Instead
we just read the underlying files directly.
2) This support is implemented under a new -q (quick) mode.
3) Other misc fixes to do a setrlimit(NO_FD) so we don't run out
of fds during test.
4) Also commiting raw strace files from several monkey runs so we
can compile those if we make on disk IOshark format changes in the
future.

Test: Run IOshark with different workloads to make sure that this
skipping of pre-creation works fine.

Change-Id: Ic025cb0162eca479d9f529846e619dd4b71aa490
Signed-off-by: Mohan Srinivasan <srmohan@google.com>
14 files changed:
ioshark/Android.mk
ioshark/collect-straces.sh
ioshark/compile_ioshark.c
ioshark/compile_ioshark.h
ioshark/compile_ioshark_subr.c
ioshark/dump_ioshark_filenames.c [new file with mode: 0644]
ioshark/ioshark.h
ioshark/ioshark_bench.c
ioshark/ioshark_bench.h
ioshark/ioshark_bench_subr.c
ioshark/monkeytrace1.tar.gz [new file with mode: 0644]
ioshark/monkeytrace2.tar.gz [new file with mode: 0644]
ioshark/monkeytracebig.tar.gz [new file with mode: 0644]
ioshark/wl.tar