diff options
author | Jakub Kicinski <[email protected]> | 2018-07-25 19:53:34 -0700 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2018-07-27 07:14:35 +0200 |
commit | ab01f4ac5faf6a0ea532fa65cf6b1c9b2019e49b (patch) | |
tree | 912509196852693d40307bf7a3e6a1c6443040a9 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 0958762748e4cfeb19d881aa8d3fe5ba8b5bc50b (diff) |
nfp: bpf: remember maps by ID
Record perf maps by map ID, not raw kernel pointer. This helps
with debug messages, because printing pointers to logs is frowned
upon, and makes debug easier for the users, as map ID is something
they should be more familiar with. Note that perf maps are offload
neutral, therefore IDs won't be orphaned.
While at it use a rate limited print helper for the error message.
Reported-by: Kees Cook <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Reviewed-by: Dirk van der Merwe <[email protected]>
Reviewed-by: Quentin Monnet <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions