aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorJakub Kicinski <jakub.kicinski@netronome.com>2017-12-27 21:39:04 -0500
committerDaniel Borkmann <daniel@iogearbox.net>2017-12-31 10:12:22 -0500
commit9a18eedb145d080d542766af1d7513ebfccd1604 (patch)
tree088372c4392d04fc95231543f338c8a1cc73cb9b /tools/perf/scripts/python/call-graph-from-sql.py
parente0d3974ac77b0d581b92affe5851fc40ad2f42a4 (diff)
bpf: offload: don't use prog->aux->offload as boolean
We currently use aux->offload to indicate that program is bound to a specific device. This forces us to keep the offload structure around even after the device is gone. Add a bool member to struct bpf_prog_aux to indicate if offload was requested. Suggested-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com> Acked-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions