aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2017-10-08 21:04:05 -0700
committerDavid S. Miller <[email protected]>2017-10-09 09:51:02 -0700
commitb3f868df3c8904e964d7b257b47d7d90d93375e0 (patch)
tree75712f0fc786c1b5e15786212a27c2e9bdbbb96f /tools/perf/scripts/python/stackcollapse.py
parenta52b35c39ec6f33592df634ef2d1afae23401fdd (diff)
nfp: bpf: use the power of sparse to check we encode registers right
Define a new __bitwise type for software representation of registers. This will allow us to catch incorrect parameter types using sparse. Accessors we define also allow us to return correct enum type and therefore ensure all switches handle all register types. Signed-off-by: Jakub Kicinski <[email protected]> Reviewed-by: Simon Horman <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions