67eb86e3 | 29-Feb-2024 |
Jim Harris <jim.harris@samsung.com> |
trace_parser: add flag for arguments used for related objects
Some tracepoints have an argument that is a context pointer for some other object type. The trace app already decode this information, s
trace_parser: add flag for arguments used for related objects
Some tracepoints have an argument that is a context pointer for some other object type. The trace app already decode this information, showing the ID for that related object.
Since the ID is already shown, the context pointer itself isn't useful, so add a flag to note those arguments, so we can omit printing the context pointer.
Signed-off-by: Jim Harris <jim.harris@samsung.com> Change-Id: I3f6521ff5594cdc4c635c23a612c8f0d2f3717dd Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/22102 Community-CI: Mellanox Build Bot Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ben Walker <ben@nvidia.com>
show more ...
|
f243f624 | 01-Sep-2021 |
Konrad Sztyber <konrad.sztyber@intel.com> |
lib/trace_parser: update object statistics
Object's statistics (its index and start timestamp) are now tracked and updated in the trace entry object.
This is the final piece of code that had to be
lib/trace_parser: update object statistics
Object's statistics (its index and start timestamp) are now tracked and updated in the trace entry object.
This is the final piece of code that had to be copied from the trace app. The following patch will remove that code from the application and replace it with functions from the trace_parse library.
Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com> Change-Id: I1acaefb5a516bbc59c0549b2f66a5c52368bcd2c Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/9435 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Reviewed-by: Krzysztof Karas <krzysztof.karas@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
show more ...
|
189b0f09 | 14-Sep-2021 |
Konrad Sztyber <konrad.sztyber@intel.com> |
lib/trace_parser: method for retrieving entry count
Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com> Change-Id: If5f1b1bea0d30419be46e704ddd7c2f9556b4627 Reviewed-on: https://review.spdk.io/
lib/trace_parser: method for retrieving entry count
Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com> Change-Id: If5f1b1bea0d30419be46e704ddd7c2f9556b4627 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/9498 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Reviewed-by: Krzysztof Karas <krzysztof.karas@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
show more ...
|
279b7bab | 31-Aug-2021 |
Konrad Sztyber <konrad.sztyber@intel.com> |
lib/trace_parser: method for iterating over entries
Added a definition of a parsed trace entry and a function allowing for iterating over these objects. The difference between a parsed and a regula
lib/trace_parser: method for iterating over entries
Added a definition of a parsed trace entry and a function allowing for iterating over these objects. The difference between a parsed and a regular trace entry is that it includes more information gathered while processing the trace file (e.g. lcore, object statistics) and provides a contigous buffer for trace arguments.
For now, only lcore and the pointer to the actual trace entry are filled. Tracepoint arguments and object statistics will be added in subsequent patches.
Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com> Change-Id: I4d5e30a7abb4860a5ba9db46f64ceae8bd14646f Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/9433 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: Aleksey Marchuk <alexeymar@mellanox.com>
show more ...
|
6727cc38 | 31-Aug-2021 |
Konrad Sztyber <konrad.sztyber@intel.com> |
lib/trace_parser: method for retrieving tsc offset
Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com> Change-Id: I11fc341b4353c01cd933d6692cf97de3a3744a84 Reviewed-on: https://review.spdk.io/g
lib/trace_parser: method for retrieving tsc offset
Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com> Change-Id: I11fc341b4353c01cd933d6692cf97de3a3744a84 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/9432 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: Aleksey Marchuk <alexeymar@mellanox.com>
show more ...
|
4ba77072 | 31-Aug-2021 |
Konrad Sztyber <konrad.sztyber@intel.com> |
lib/trace_parser: populate entries map
The trace file is now parsed and the entries are put in a map, sorted by their timestamps. The code is directly copied from the spdk_trace app, with very litt
lib/trace_parser: populate entries map
The trace file is now parsed and the entries are put in a map, sorted by their timestamps. The code is directly copied from the spdk_trace app, with very little modifications.
Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com> Change-Id: I7929497ffd3079b6974f5423c82a6128db2cee98 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/9431 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: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
show more ...
|
41ba2b30 | 31-Aug-2021 |
Konrad Sztyber <konrad.sztyber@intel.com> |
lib/trace_parser: method for retrieving trace flags
It gives user access to things like the tsc rate and tracepoint definitions.
Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com> Change-Id:
lib/trace_parser: method for retrieving trace flags
It gives user access to things like the tsc rate and tracepoint definitions.
Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com> Change-Id: Ib50126b331faa4508174c7cb707643a3d8db6a01 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/9430 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>
show more ...
|