diff options
author | Athira Rajeev <[email protected]> | 2021-10-18 17:19:47 +0530 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2021-10-25 13:47:42 -0300 |
commit | 637b8b90fe0d10036eb4adfdcb9a592d62fd0112 (patch) | |
tree | 3d24b3516cf93ea1b8288e20f9370494bef0a72c /net/unix/sysctl_net_unix.c | |
parent | 25900ea85ceef35e19234682e7c9dfc8ca2addbe (diff) |
perf powerpc: Refactor the code definition of perf reg extended mask in tools side header file
PERF_REG_PMU_MASK_300 and PERF_REG_PMU_MASK_31 defines the mask value
for extended registers. Current definition of these mask values uses hex
constant and does not use registers by name, making it less readable.
Patch refactor the macro values in perf tools side header file by or'ing
together the actual register value constants.
Suggested-by: Michael Ellerman <[email protected]>
Reviewed-by: Kajol Jain <[email protected]>
Signed-off-by: Athira Jajeev <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Madhavan Srinivasan <[email protected]>
Cc: Nageswara R Sastry <[email protected]>
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions