+8
−2
Loading
Let user pass a name of tracepoint group. Currently the only way to enable traces with '-e' option is to pass the tpoint mask, which is cumbersome. This patch modifies our API to accept strings as parameters. Example: -e nvmf_tcp:2,thread enables nvmf_tcp's second tracepoint and the whole thread tpoint group. Modified spdk_trace_enable_tpoint_group() - it will be also used in the changed form later in the series to accept tpoint mask when using RPCs to activate/deactivate traces. Change-Id: I6b02363cce3b44b0b578877bc2505f5a4e2fffdd Signed-off-by:Krzysztof Karas <krzysztof.karas@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/10818 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com>