samples/bpf: syscall_tp_user: Rename num_progs into nr_tests
authorJinghao Jia <jinghao@linux.ibm.com>
Sun, 17 Sep 2023 21:42:19 +0000 (16:42 -0500)
committerAlexei Starovoitov <ast@kernel.org>
Thu, 21 Sep 2023 21:32:47 +0000 (14:32 -0700)
commit0ee352fe0d28015cab161b04d202fa3231c0ba3b
treee976333605a557811b7b203f21971b8708805919
parentcf67d28de348f109251a9045a472a39724e2b4fa
samples/bpf: syscall_tp_user: Rename num_progs into nr_tests

The variable name num_progs causes confusion because that variable
really controls the number of rounds the test should be executed.

Rename num_progs into nr_tests for the sake of clarity.

Signed-off-by: Jinghao Jia <jinghao@linux.ibm.com>
Signed-off-by: Ruowen Qin <ruowenq2@illinois.edu>
Signed-off-by: Jinghao Jia <jinghao7@illinois.edu>
Link: https://lore.kernel.org/r/20230917214220.637721-3-jinghao7@illinois.edu
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
samples/bpf/syscall_tp_user.c