diff options
| author | Feras Daoud <ferasda@mellanox.com> | 2018-02-06 18:45:57 +0300 |
|---|---|---|
| committer | Saeed Mahameed <saeedm@mellanox.com> | 2018-07-24 01:01:11 +0300 |
| commit | 48967ffdeb210266423be11f395c5dc26d3e4eda (patch) | |
| tree | 7a279622bd3720be9d7608dd5da4a9ae59cb39fb /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | f53aaa31cce7b543e407da7e97690a700206f7b9 (diff) | |
| download | linux-48967ffdeb210266423be11f395c5dc26d3e4eda.tar.xz | |
net/mlx5: FW tracer, create trace buffer and copy strings database
For each PF do the following:
1- Allocate memory for the tracer strings database and read the
strings from the FW to the SW. These strings will be used later for
parsing traces.
2- Allocate and dma map tracer buffers.
Traces that will be written into the buffer will be parsed as a group
of one or more traces, referred to as trace message. The trace message
represents a C-like printf string.
First trace of a message holds the pointer to the correct string in
strings database. The following traces holds the variables of the
message.
Signed-off-by: Feras Daoud <ferasda@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
