diff options
author | Sean Anderson <[email protected]> | 2024-10-17 11:10:55 -0400 |
---|---|---|
committer | Christoph Hellwig <[email protected]> | 2024-10-17 17:41:29 +0200 |
commit | 78b2770c935fc1434a95cc17613fe31165b02dfe (patch) | |
tree | ee5e742b3c69ee95d628da223cfa799c13bd196d /tools/perf/scripts/python | |
parent | c964ced7726294d40913f2127c3f185a92cb4a41 (diff) |
dma-mapping: fix tracing dma_alloc/free with vmalloc'd memory
Not all virtual addresses have physical addresses, such as if they were
vmalloc'd. Just trace the virtual address instead of trying to trace a
physical address. This aligns with the API, and is good enough to
associate dma_alloc with dma_free.
Fixes: 038eb433dc14 ("dma-mapping: add tracing for dma-mapping API calls")
Reported-by: [email protected]
Closes: https://lore.kernel.org/all/[email protected]/
Signed-off-by: Sean Anderson <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions