aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAtish Patra <[email protected]>2024-04-20 08:17:20 -0700
committerAnup Patel <[email protected]>2024-04-22 11:13:48 +0530
commitc69f9cb0595ff91759b1ff361d19068e16574229 (patch)
tree83761817412bb2aadcab551f5695c40df96d8bc8 /tools/perf/scripts/python/export-to-postgresql.py
parent7dda24bacc05ae4e43b75aab347e4df07e002502 (diff)
drivers/perf: riscv: Use BIT macro for shifting operations
It is a good practice to use BIT() instead of (1 << x). Replace the current usages with BIT(). Take this opportunity to replace few (1UL << x) with BIT() as well for consistency. Reviewed-by: Andrew Jones <[email protected]> Acked-by: Palmer Dabbelt <[email protected]> Signed-off-by: Atish Patra <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Anup Patel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions