Spdk/lib
Krzysztof Karas 42529e9637 trace: allow specifying a subset of a group's tpoints
This patch aims to introduce a change in enabling
tracepoints inside SPDK. Currently every hit tracepoint will
be stored inside an internal buffer, what is inconvenient when
looking for certain information (eg. starting IO to record
some tracepoints, stopping the IO and having the tracepoint
buffer flooded with irrelevant information before copying the
contents connected with IO operations).

The tpoint mask option (-e) has been extended with ':' character.
User may now enter tpoint mask for individual trace points
inside chosen tpoint group.
Example: "-e 0x20:3f", where "0x20" stands for tpoint group,
':' is a separator and "3f" is the tpoint mask.

Change-Id: I2a700aa5a75a6abb409376e8f5c44d5501629877
Signed-off-by: Krzysztof Karas <krzysztof.karas@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/10431
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Mellanox Build Bot
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
2022-06-30 13:32:29 -04:00
..
accel lib/accel: remove batching from the framework and plug-in modules 2022-06-30 13:32:29 -04:00
bdev bdev: Fail nvme passthru command if not supported by bdev 2022-06-30 13:32:28 -04:00
blob lib/blob: do not assume realloc(NULL, 0) returns a not-NULL value 2022-06-30 13:32:29 -04:00
blobfs trace: move all trace definitions to a separate file 2022-06-30 13:32:26 -04:00
conf so_ver: increase all major versions 2021-02-05 14:43:47 +00:00
dma dma: Add infrstructure for push operation 2022-06-30 13:32:26 -04:00
env_dpdk env: remove spdk_pci_get_[first|next]_device 2022-06-30 13:32:29 -04:00
env_ocf spelling: lib 2022-06-30 13:32:28 -04:00
event trace: allow specifying a subset of a group's tpoints 2022-06-30 13:32:29 -04:00
ftl spelling: lib 2022-06-30 13:32:28 -04:00
idxd idxd: Move batch prep functions up in file 2022-06-30 13:32:29 -04:00
init rpc: add method for listing PCI devices 2022-06-30 13:32:29 -04:00
ioat ioat: fix potential double free problem in ioat_channel_start() 2021-06-16 09:00:37 +00:00
iscsi spelling: lib 2022-06-30 13:32:28 -04:00
json json: add spdk_json_write_bytearray 2022-06-30 13:32:29 -04:00
jsonrpc spelling: lib 2022-06-30 13:32:28 -04:00
log log: add an API to return syslog level based on SPDK's log level 2021-08-12 12:57:39 +00:00
lvol spelling: lib 2022-06-30 13:32:28 -04:00
nbd spelling: lib 2022-06-30 13:32:28 -04:00
notify so_ver: increase all major versions 2021-02-05 14:43:47 +00:00
nvme nvme: add spdk_nvme_ctrlr_get_discovery_log_page API 2022-06-30 13:32:29 -04:00
nvmf nvmf/rdma: Check device max_srq_wr when creating SRQ 2022-06-30 13:32:29 -04:00
rdma rdma: Set REMOTE_WRITE permission for iWARP on target side 2022-06-30 13:32:28 -04:00
reduce spelling: lib 2022-06-30 13:32:28 -04:00
rocksdb rocksdb: fix thread name typo 2021-09-03 08:08:20 +00:00
rpc Initial changes. 2022-02-08 15:51:30 -05:00
scsi spelling: lib 2022-06-30 13:32:28 -04:00
sock lib/sock: create common lookup for spdk_sock_group_impl 2022-06-30 13:32:28 -04:00
thread spelling: lib 2022-06-30 13:32:28 -04:00
trace trace: allow specifying a subset of a group's tpoints 2022-06-30 13:32:29 -04:00
trace_parser spelling: lib 2022-06-30 13:32:28 -04:00
ut_mock so_ver: increase all major versions 2021-02-05 14:43:47 +00:00
util util: Add spdk_ioviter for iterating iovecs 2022-06-30 13:32:29 -04:00
vfio_user spelling: lib 2022-06-30 13:32:28 -04:00
vhost spelling: lib 2022-06-30 13:32:28 -04:00
virtio spelling: lib 2022-06-30 13:32:28 -04:00
vmd spelling: lib 2022-06-30 13:32:28 -04:00
Makefile lib/trace_parser: add trace_parser library stubs 2022-06-30 13:32:25 -04:00