d919a197d6
This library will provide functions that parse traces recorded by an SPDK application. This includes merging traces from multiple cores, sorting them by their timestamp and constructing trace entries spanning across multiple buffers. All of these tasks are currently implemented in the spdk_trace app, so most of its code will be moved here (this is the reason for using C++). The motivation for extracting this code to a library is to be able to use it from places other than the spdk_trace app, specifically the `scripts/bpf/trace.py` script. The main reason for creating a separate library instead of extending libtrace is to avoid pulling in all of its dependencies. ISA-L is the most problematic, as we only build it as a static library, which makes it impossible to use with dlopen (making it unusable in scripts). Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com> Change-Id: If101ca3425d7404abd51b0da2031358d0be44766 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/9428 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: Jim Harris <james.r.harris@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> |
||
---|---|---|
.. | ||
linux | ||
spdk | ||
spdk_internal | ||
Makefile |