summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2020-12-10 22:25:58 +0300
committerThomas Gleixner <tglx@linutronix.de>2020-12-15 18:19:33 +0300
commit6e745db4ddd072c7f67b37d850bc5aaedcf35400 (patch)
treedd484a7f3e41d6225c96ba27fd15d4dbff362195 /tools/perf/scripts/python/export-to-postgresql.py
parent197d237077295793a3e4ea0abcbea106f8b4217c (diff)
downloadlinux-6e745db4ddd072c7f67b37d850bc5aaedcf35400.tar.xz
net/mlx5: Replace irq_to_desc() abuse
No driver has any business with the internals of an interrupt descriptor. Storing a pointer to it just to use yet another helper at the actual usage site to retrieve the affinity mask is creative at best. Just because C does not allow encapsulation does not mean that the kernel has no limits. Retrieve a pointer to the affinity mask itself and use that. It's still using an interface which is usually not for random drivers, but definitely less hideous than the previous hack. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Saeed Mahameed <saeedm@nvidia.com> Link: https://lore.kernel.org/r/20201210194044.769458162@linutronix.de
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions