diff options
| author | Zhengchao Shao <shaozhengchao@huawei.com> | 2022-04-19 19:47:46 +0800 |
|---|---|---|
| committer | Andrii Nakryiko <andrii@kernel.org> | 2022-04-20 14:58:29 -0700 |
| commit | db69264f983a5890fe8ba20ed4c20dfd4b687615 (patch) | |
| tree | 91408288accf24e0ae2dc5a90eda6764db7d47ce /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | selftests/bpf: Add test for skb_load_bytes (diff) | |
| download | linux-db69264f983a5890fe8ba20ed4c20dfd4b687615.tar.gz linux-db69264f983a5890fe8ba20ed4c20dfd4b687615.zip | |
samples/bpf: Reduce the sampling interval in xdp1_user
If interval is 2, and sum - prev[key] = 1, the result = 0. This will
mislead the tester that the port has no traffic right now. So reduce the
sampling interval to 1.
Signed-off-by: Zhengchao Shao <shaozhengchao@huawei.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20220419114746.291613-1-shaozhengchao@huawei.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
