rocksdb/build_tools
Sergey Makarenko 1c80dfab24 Print memory allocation counters
Summary:
Introduced option to dump malloc statistics using new option flag.
    Added new command line option to db_bench tool to enable this
    funtionality.
    Also extended build to support environments with/without jemalloc.

Test Plan:
1) Build rocksdb using `make` command. Launch the following command
    `./db_bench --benchmarks=fillrandom --dump_malloc_stats=true
    --num=10000000` end verified that jemalloc dump is present in LOG file.
    2) Build rocksdb using `DISABLE_JEMALLOC=1  make db_bench -j32` and ran
    the same db_bench tool and found the following message in LOG file:
    "Please compile with jemalloc to enable malloc dump".
    3) Also built rocksdb using `make` command on MacOS to verify behavior
    in non-FB environment.
    Also to debug build configuration change temporary changed
    AM_DEFAULT_VERBOSITY = 1 in Makefile to see compiler and build
    tools output. For case 1) -DROCKSDB_JEMALLOC was present in compiler
    command line. For both 2) and 3) this flag was not present.

Reviewers: sdong

Reviewed By: sdong

Subscribers: andrewkr, dhruba

Differential Revision: https://reviews.facebook.net/D57321
2016-04-27 16:23:33 -07:00
..
amalgamate.py New amalgamation target 2015-10-01 08:29:31 +13:00
build_detect_platform Print memory allocation counters 2016-04-27 16:23:33 -07:00
dependencies_4.8.1.sh Update internal jemalloc and other versions 2016-03-25 10:42:20 -07:00
dependencies.sh Update internal jemalloc and other versions 2016-03-25 10:42:20 -07:00
dockerbuild.sh Move dockerbuild.sh to build_tools/ 2015-06-17 14:09:12 -07:00
error_filter.py New legocastle output parsing 2016-04-18 13:01:10 -07:00
fb_compile_mongo.sh set -e in fb_compile_mongo.sh 2015-06-29 11:43:25 -07:00
fbcode_config4.8.1.sh Update fbcode_config4.8.1.sh to use update_dependencies.sh 2016-01-26 12:13:27 -08:00
fbcode_config.sh Include rest of dependencies in dependencies.sh 2016-01-25 14:35:04 -08:00
format-diff.sh Check formatting in Travis 2015-09-17 22:02:05 -07:00
make_new_version.sh Updated all copyright headers to the new format. 2016-02-09 15:12:00 -08:00
make_package.sh Package generation for Ubuntu and CentOS 2014-09-29 16:09:46 -07:00
precommit_checker.py Add support for UBsan builds to RocksDB 2016-03-30 15:59:24 -07:00
regression_build_test.sh Enhance db_bench write rate limit 2016-01-04 12:01:27 -08:00
rocksdb-lego-determinator New legocastle output parsing 2016-04-18 13:01:10 -07:00
run_ci_db_test.ps1 Add support for db_test2 for dev and CI runs 2016-03-23 16:33:57 -07:00
update_dependencies.sh Update dependencies / Fix Clang 2016-03-07 12:57:19 -08:00
version.sh Cross-platform fix version.sh 2014-10-04 11:17:06 +02:00