e4e218d898
Previously, trace file is always created in shared memory. Adding disabling trace in order to avoid trace file's creation if user doesn't require trace. Also returning error if trace is disabled but trace rpc is call to enable or diable trace group Change-Id: Ic9ea781a8a1edd530d0a5921b0dc774356ae4d48 Signed-off-by: Liu Xiaodong <xiaodong.liu@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/5195 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> |
||
---|---|---|
.. | ||
Makefile | ||
spdk_trace.map | ||
trace_flags.c | ||
trace_rpc.c | ||
trace.c |