Add missing free()

Change-Id: Ia29a5c4b613eb29f4ec9606d5b715842f465677b
Reviewed-on: http://review.couchbase.org/26293
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Brett Lawson <brett19@gmail.com>
Tested-by: Brett Lawson <brett19@gmail.com>
It reports LCB_DLOPEN_FAILED if built without IO plugins

Change-Id: I8f17b2bf748fc29c3413194ec4968f6be4131f3a
Reviewed-on: http://review.couchbase.org/26114
Reviewed-by: Mordechai Nunberg <mnunberg@haskalah.org>
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Allow to choose plugin constructor without using dlopen(3)

Change-Id: Ic024904a161faf2708e11286c5759eec3aee00fe
Reviewed-on: http://review.couchbase.org/26115
Reviewed-by: Mordechai Nunberg <mnunberg@haskalah.org>
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Add ringbuffer_take_buffer

This is a convenience function to initialize a ringbuffer from an
already-allocated buffer.

Change-Id: I463388ee9867753a6e8b05ffbcebc6d00be5daa4
Reviewed-on: http://review.couchbase.org/26479
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Plug various leaks in tests

Change-Id: Ib10f6e747b3638c6cd96764ab86a94af1ac490a2
Reviewed-on: http://review.couchbase.org/26547
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Allow using of external plugins with environment variables

Change-Id: I4960fc1b7f263d875ff7b56fb26293d8da375a80
Reviewed-on: http://review.couchbase.org/26545
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Only allocate iops after instance

If an error occurs between iops initialization and input validation,
the iops structure may leak

Change-Id: I67357c8320ccea4df8bcb3c73414ecca02d987ba
Reviewed-on: http://review.couchbase.org/26546
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
[cbc] Fix observe output formatting

Change-Id: I24be98a67929ab6b0c211cb697da933b30c9ee7a
Reviewed-on: http://review.couchbase.org/26575
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Allow to set SET/GET ratio

Change-Id: Ied37b6138c7a5430773b0ac467a5a22631e1e3b4
Reviewed-on: http://review.couchbase.org/26746
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Allow to set minimum and maximum size of payload

Change-Id: I910d576aaed9b9474001ff4b28d8fdb6798c2190
Reviewed-on: http://review.couchbase.org/26748
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
GET/SET Ratio is in integer percents (fixes helpstring)

Change-Id: I81a3f59ce5966693f43655ed4b887f168b5a363b
Reviewed-on: http://review.couchbase.org/26750
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Let pillowfight to be a dumb client

Change-Id: I1ef7421160b21b897349a61cdb6af9972883c414
Reviewed-on: http://review.couchbase.org/26753
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
pillowfight: timestamp messages in timings mode

Change-Id: I6ab6648535a88ad659a73f353099041ab3a9aae2
Reviewed-on: http://review.couchbase.org/26773
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Simplify build script compile src/gethrtime.c for all platforms

Instead of having a lot of ifs in the Makefile.am etc
we can just compile the file for all platforms and protect
the content with an ifndef in the file

Change-Id: I03d9c77c39b4e29b4c83cf68911a0ace97d44c23
Reviewed-on: http://review.couchbase.org/26775
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Do not call connect for dumb pillowfight

Change-Id: Ie4d8b0121d9c8b0ef7f39db7644128efad6d9369
Reviewed-on: http://review.couchbase.org/26780
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Always use fixed notation for timestamps in pillowfight

Change-Id: I7384b59c44f87bbc8ccae88cc7eac042488365c5
Reviewed-on: http://review.couchbase.org/26781
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Allow to execute any 'cbc-XXX' binary in PATH like 'cbc XXX'

Change-Id: I78ed98d27c95f49f24f83191b7bdc86e22c94e1e
Reviewed-on: http://review.couchbase.org/26784
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Make pillowfight part of the package

Change-Id: Id3d2b2eee3255fa23e347d015ef300a99c06af57
Reviewed-on: http://review.couchbase.org/26785
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
CCBC-209 Add support for building with CMake on win32

Building with CMake is still in an experimental state.

Change-Id: Id0abc2ab05fe1c82a154776052a9b47145251774
Reviewed-on: http://review.couchbase.org/26795
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Add support for building pillowfight on win32

Currently it is a single threaded implementation

Change-Id: I1c9f71085a25c2235aa72ebd7d21ac9a1ef5bf72
Reviewed-on: http://review.couchbase.org/26817
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>