rocksdb/trace_replay
Akanksha Mahajan 552fd765b3 Add IOTracer reader, writer classes for reading/writing IO operations in a binary file (#6958)
Summary:
1. As part of IOTracing project, Add a class IOTracer,
IOTraceReader and IOTracerWriter that writes the file operations
information in a binary file. IOTrace Record contains record information
and right now it contains access_timestamp, file_operation, file_name,
io_status, len, offset and later other options will be added when file
system APIs will be call IOTracer.

2. Add few unit test cases that verify that reading and writing to a IO
Trace file is working properly and before start trace and after ending
trace nothing is added to the binary file.
Pull Request resolved: https://github.com/facebook/rocksdb/pull/6958

Test Plan:
1. make check -j64
                 2. New testcases for IOTracer.

Reviewed By: anand1976

Differential Revision: D21943375

Pulled By: akankshamahajan15

fbshipit-source-id: 3532204e2a3eab0104bf411ab142e3fdd4fbce54
2020-06-18 10:46:11 -07:00
..
block_cache_tracer_test.cc Replace namespace name "rocksdb" with ROCKSDB_NAMESPACE (#6433) 2020-02-20 12:09:57 -08:00
block_cache_tracer.cc Replace namespace name "rocksdb" with ROCKSDB_NAMESPACE (#6433) 2020-02-20 12:09:57 -08:00
block_cache_tracer.h Fix more defects reported by Coverity Scan (#6935) 2020-06-04 15:35:08 -07:00
io_tracer_test.cc Add IOTracer reader, writer classes for reading/writing IO operations in a binary file (#6958) 2020-06-18 10:46:11 -07:00
io_tracer.cc Add IOTracer reader, writer classes for reading/writing IO operations in a binary file (#6958) 2020-06-18 10:46:11 -07:00
io_tracer.h Add IOTracer reader, writer classes for reading/writing IO operations in a binary file (#6958) 2020-06-18 10:46:11 -07:00
trace_replay.cc Fix multiple CF replay failure in db_bench replay (#6787) 2020-05-01 00:03:38 -07:00
trace_replay.h Replace namespace name "rocksdb" with ROCKSDB_NAMESPACE (#6433) 2020-02-20 12:09:57 -08:00