diff options
author | Ian Rogers <[email protected]> | 2024-02-20 23:07:52 -0800 |
---|---|---|
committer | Namhyung Kim <[email protected]> | 2024-02-22 08:56:45 -0800 |
commit | eee41e6b287e2adfefbe3b6fc80c66097c076f89 (patch) | |
tree | fefee92039e8a9f9bb6c9b3ba9b9db177e6ce340 /tools/testing/selftests/bpf/progs/recvmsg_unix_prog.c | |
parent | 659663f0bccce884059985d5e43e066419cda4e2 (diff) |
perf stat: Pass fewer metric arguments
Pass metric_expr and evsel rather than specific variables from the
struct, thereby reducing the number of arguments. This will enable
later fixes.
To reduce the size of the diff, local variables are added to match the
previous parameter names. This isn't done in the case of "name" as
evsel->name is more intention revealing. A whitespace issue is also
addressed.
Signed-off-by: Ian Rogers <[email protected]>
Acked-by: Namhyung Kim <[email protected]>
Cc: K Prateek Nayak <[email protected]>
Cc: Stephane Eranian <[email protected]>
Cc: Kaige Ye <[email protected]>
Cc: Kajol Jain <[email protected]>
Cc: Kan Liang <[email protected]>
Cc: John Garry <[email protected]>
Signed-off-by: Namhyung Kim <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/progs/recvmsg_unix_prog.c')
0 files changed, 0 insertions, 0 deletions