diff options
| author | Ohad Sharabi <osharabi@habana.ai> | 2022-06-08 09:58:59 +0300 |
|---|---|---|
| committer | Oded Gabbay <ogabbay@kernel.org> | 2022-09-18 13:29:53 +0300 |
| commit | 191a4443c39b278fbb0898590530bef122b26b7e (patch) | |
| tree | 2b43f88d06917119aa138b542706fe2f2b9728fb /lib/mpi/mpi-sub-ui.c | |
| parent | 7b5d13c9cae72b9baac88009401d5518cd86bb0d (diff) | |
habanalabs: define trace events
This patch adds trace events for habanalabs driver to gain all the
benefits such an infrastructure can supply.
The following events were added:
- MMU map/unmap: to be able to track driver's memory allocations
- DMA alloc/free: to track our DMA allocation
the above trace points in conjunction will help us map the device memory
usage as well as to be able to track memory violations.
Signed-off-by: Ohad Sharabi <osharabi@habana.ai>
Acked-by: Oded Gabbay <ogabbay@kernel.org>
Reviewed-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions
