diff options
author | Quentin Monnet <[email protected]> | 2018-03-01 20:20:11 -0800 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2018-03-02 09:46:41 +0100 |
commit | 668da745af3c29d5742238ef278a1b2055c97e51 (patch) | |
tree | c8e83f9d29604d555bb56e38a8161ee8a6123217 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 416656bbaa57a5be75514498491b7e24c58537c1 (diff) |
tools: bpftool: add support for quotations in batch files
Improve argument parsing from batch input files in order to support
arguments enclosed between single (') or double quotes ("). For example,
this command can now be parsed in batch mode:
bpftool prog dump xlated id 1337 file "/tmp/my file with spaces"
The function responsible for parsing command arguments is copied from
its counterpart in lib/utils.c in iproute2 package.
Signed-off-by: Quentin Monnet <[email protected]>
Acked-by: Jakub Kicinski <[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