diff options
author | He Kuang <[email protected]> | 2015-11-24 13:36:08 +0000 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2015-11-26 17:21:24 -0300 |
commit | 43798bf37215fe242e592fd4605d804e2da0781b (patch) | |
tree | 78938a19ac78dbc74c9d507ea3044b29ecb79e1c /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py | |
parent | dcdd184b60c3943fb678dcbaf899a26f845901ad (diff) |
bpf tools: Add helper function for updating bpf maps elements
Add bpf_map_update_elem() helper function which calls the sys_bpf
syscall to update elements in bpf maps. Upcoming patches will use it to
adjust data in map through the perf command line.
Signed-off-by: He Kuang <[email protected]>
Cc: Alexei Starovoitov <[email protected]>
Cc: Masami Hiramatsu <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Wang Nan <[email protected]>
Cc: Zefan Li <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Wang Nan <[email protected]>
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions