aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorEduard Zingerman <[email protected]>2023-11-21 04:06:58 +0200
committerAlexei Starovoitov <[email protected]>2023-11-20 18:36:40 -0800
commitcafe2c21508a38cdb3ed22708842e957b2572c3e (patch)
treeb93ff2494a5347ae9e13f76e51dbba0147560cbe /tools/perf/scripts/python/bin/export-to-postgresql-report
parent958465e217dbf5fc6677d42d8827fb3073d86afd (diff)
bpf: widening for callback iterators
Callbacks are similar to open coded iterators, so add imprecise widening logic for callback body processing. This makes callback based loops behave identically to open coded iterators, e.g. allowing to verify programs like below: struct ctx { u32 i; }; int cb(u32 idx, struct ctx* ctx) { ++ctx->i; return 0; } ... struct ctx ctx = { .i = 0 }; bpf_loop(100, cb, &ctx, 0); ... Acked-by: Andrii Nakryiko <[email protected]> Signed-off-by: Eduard Zingerman <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions