Age | Commit message (Collapse) | Author |
|
Fixes broken build aosp_x86-eng (linux) build in
git_master-without-vendor
Change-Id: I638ae3ab80dd2749073cd623fbe172d1c9f3acbd
|
|
https://github.com/nickdesaulniers/stressapptest/commit/1c66ad6b0199d56c689b0e79ce90d419e3203e2c
Bug: 31861507
Test: make checkbuild
Change-Id: I36c5d0165c09968a4064438e658d886d364920cb
|
|
https://github.com/stressapptest/stressapptest
Change-Id: I6307bcfad2e67392b4e0308680c708546e9a15a3
Signed-off-by: Nick Sanders <nsanders@google.com>
|
|
Fix C++11 naming conflict with bind
Fix libc++ target to current android spec
Fix header defines for pthread barriers in libc++
Change-Id: I8ed20838828365b5d734ae8fb81a0eddde1c5ef3
Signed-off-by: Nick Sanders <nsanders@google.com>
|
|
|
|
Change-Id: Iccc4128a4134651d2946e5fd4e50b90a501fb4e7
|
|
When stressapptest is ran, the following will now appear:
Log: Android version from open source release
Change-Id: I0d1539fed6fe396ea4cb8b86d8694c98df257070
Signed-off-by: Scott Anderson <saa@android.com>
|
|
If a file is opened with O_DIRECT on Android, an EINVAL will be
triggered. To try to accomplish the same effect as O_DIRECT,
this change adds calls to flush the page cache at key points for
the file and disk threads. These calls will sync and write a "1"
to /proc/sys/vm/drop_caches if O_DIRECT caused an EINVAL, but
will be a NOP otherwise.
Change-Id: If0c7ca455384f9d60d4587127e96979a3c7f1169
Signed-off-by: Scott Anderson <saa@android.com>
|
|
Add an Android.mk, a pre-built configuration header
(src/stressapptest_config_android.h) and add an ifdef to use that
header and avoid using namespace __gnu_cxx.
Change-Id: I4fe1f02d46caa9f47bfb644faae7ec095c1517e0
Signed-off-by: Scott Anderson <saa@android.com>
|
|
At a high level, #ifdefs were added to the code to allow it to be
used on systems that were missing various libraries, function and
defines.
configure.ac was enhanced to test for more of these things and
set defines to indicate their presence or absence. In addition,
it was slightly tweaked to match the output of autoscan.
autoheader and autoconf were ran to update the configure files.
The goal was that the resultant code should not be modified if
the libraries/functions/defines were all present. The code for
the cases where something is missing is workable, but can
probably be improved.
ifdefs newly added to the code include:
HAVE_LIBAIO_H
HAVE_MMAP64
HAVE_POSIX_MEMALIGN
HAVE_RAND_R
HAVE_SCHED_GETAFFINITY
HAVE_SYS_SHM_H
O_DSYNC
_POSIX_BARRIERS
STRERROR_R_CHAR_P
Signed-off-by: Scott Anderson <saa@android.com>
|
|
From http://stressapptest.googlecode.com/files/stressapptest-1.0.4_autoconf.tar.gz
with the addition of MODULE_LICENSE_APACHE2 and NOTICE.
Change-Id: I1f3e80fce2c500766bcc7a67d7d42e485ddf57b4
|
|
|