aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stat-cpi.py
diff options
context:
space:
mode:
authorQuentin Monnet <[email protected]>2019-05-10 15:51:22 +0100
committerDaniel Borkmann <[email protected]>2019-05-13 01:12:45 +0200
commit748c7c821aca5e32fab5676193365fc2705af366 (patch)
tree0b5a0a9f2d49865172d02691e162ceca6802fa6b /tools/perf/scripts/python/stat-cpi.py
parent9858381253acad69a4538a448eb9aa674c4f70d6 (diff)
bpf: fix script for generating man page on BPF helpers
The script broke on parsing function prototype for bpf_strtoul(). This is because the last argument for the function is a pointer to an "unsigned long". The current version of the script only accepts "const" and "struct", but not "unsigned", at the beginning of argument types made of several words. One solution could be to add "unsigned" to the list, but the issue could come up again in the future (what about "long int"?). It turns out we do not need to have such restrictions on the words: so let's simply accept any series of words instead. Reported-by: Yonghong Song <[email protected]> Signed-off-by: Quentin Monnet <[email protected]> Acked-by: Jakub Kicinski <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions