diff options
| author | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2026-03-20 16:47:32 +0000 |
|---|---|---|
| committer | Paolo Abeni <pabeni@redhat.com> | 2026-03-24 12:09:17 +0100 |
| commit | 557ccd54ba141650cfd6962296c062089f3c6cd3 (patch) | |
| tree | bb5b9a3c96fdd10ba45b9524a8c7f414d9d5f9a8 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 2e3bfeb1bc0c0a7cd51212ecc6533aca73cf8e2d (diff) | |
net: stmmac: use first_desc for TBS
Rather than freshly getting a pointer for the TBS descriptor (because
we want to access its enhanced fields) convert the existing first_desc
basic descriptor to a pointer to the enhanced descriptor.
Add a comment explaining why it is safe to convert from the basic
descriptor pointer to the enhanced descriptor pointer.
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://patch.msgid.link/E1w3d0W-0000000DfM7-2BMA@rmk-PC.armlinux.org.uk
Tested-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
[pabeni@redhat.com: fixed comment typo]
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
