diff options
author | 2019-12-20 14:25:26 +0530 | |
---|---|---|
committer | 2019-12-20 16:10:39 -0800 | |
commit | 695255882bdf63da240db33d0f2aa9ccca1cbe67 (patch) | |
tree | b0d2e401f806f62d302ac9f359d2090631f808aa /tools/perf/scripts/python/export-to-postgresql.py | |
parent | samples/bpf: xdpsock: Add duration option to specify how long to run (diff) | |
download | linux-dev-695255882bdf63da240db33d0f2aa9ccca1cbe67.tar.xz linux-dev-695255882bdf63da240db33d0f2aa9ccca1cbe67.zip |
samples/bpf: xdpsock: Use common code to handle signal and main exit
Add code to do cleanup for signals and application completion in a unified
fashion. The signal handler sets benckmark_done flag terminating the
threads. The cleanup is called before returning from main() function.
Signed-off-by: Jay Jayatheerthan <jay.jayatheerthan@intel.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20191220085530.4980-3-jay.jayatheerthan@intel.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions