diff options
author | Wang Nan <[email protected]> | 2015-07-01 02:14:10 +0000 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2015-08-07 10:16:59 -0300 |
commit | 9a208effd1832e50e1f7ea002f400f8b9ca8b1ed (patch) | |
tree | 780e520fe82169c33517c5bdbb0331cea4102b92 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | aa9b1ac33c7979d0d91eff8b70cffc4916f5555c (diff) |
bpf tools: Link all bpf objects onto a list
To allow enumeration of all bpf_objects, keep them in a list (hidden to
caller). bpf_object__for_each_safe() is introduced to do this iteration.
It is safe even user close the object during iteration.
Signed-off-by: Wang Nan <[email protected]>
Acked-by: Alexei Starovoitov <[email protected]>
Cc: Brendan Gregg <[email protected]>
Cc: Daniel Borkmann <[email protected]>
Cc: David Ahern <[email protected]>
Cc: He Kuang <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Kaixu Xia <[email protected]>
Cc: Masami Hiramatsu <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Zefan Li <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions