rocksdb/trace_replay
Akanksha Mahajan 493f425e77 Add support to start and end IOTracing through DB APIs (#7203)
Summary:
1. Add support to start io tracing through DB::StartIOTrace(Env*, const TraceOptions&, std::unique_ptr<TraceWriter>&&) and end tracing through DB::EndIOTrace(). This doesn't trace DB::Open.

User side code:

//Open DB
DB::Open(options, dbname, &db);

/* Start tracing */
db->StartIOTrace(env, trace_opt, std::move(trace_writer));

/* Perform Operations */

/*End tracing*/
db->EndIOTrace();

2. Fix the build errors for Windows.

Pull Request resolved: https://github.com/facebook/rocksdb/pull/7203

Test Plan: make check -j64

Reviewed By: anand1976

Differential Revision: D22901947

Pulled By: akankshamahajan15

fbshipit-source-id: e59c0b785a802168e6f1aa028d99c224a35cb30c
2020-08-04 18:41:45 -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 Fix unity build broken by #7007 (#7024) 2020-06-24 13:40:48 -07: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 support to start and end IOTracing through DB APIs (#7203) 2020-08-04 18:41:45 -07:00
io_tracer.cc Add support to start and end IOTracing through DB APIs (#7203) 2020-08-04 18:41:45 -07:00
io_tracer.h Add support to start and end IOTracing through DB APIs (#7203) 2020-08-04 18:41:45 -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 Add FileSystem wrapper classes for IO tracing. (#7002) 2020-07-13 16:36:55 -07:00