aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorPaul Chaignon <[email protected]>2019-12-13 20:10:37 +0100
committerAlexei Starovoitov <[email protected]>2019-12-15 09:03:18 -0800
commit99f9863a0c45f4e87cb99593015090fdc9f44398 (patch)
tree2f81f80c00f4927221ed3ffe7ca1da7162079902 /tools/perf/scripts/python/bin/export-to-postgresql-report
parenta7d22ca2a483d6c69c0791954447464297315ffa (diff)
bpftool: Match maps by name
This patch implements lookup by name for maps and changes the behavior of lookups by tag to be consistent with prog subcommands. Similarly to program subcommands, the show and dump commands will return all maps with the given name (or tag), whereas other commands will error out if several maps have the same name (resp. tag). When a map has BTF info, it is dumped in JSON with available BTF info. This patch requires that all matched maps have BTF info before switching the output format to JSON. Signed-off-by: Paul Chaignon <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Link: https://lore.kernel.org/bpf/8de1c9f273860b3ea1680502928f4da2336b853e.1576263640.git.paul.chaignon@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions