]> git.baikalelectronics.ru Git - kernel.git/commit
perf test bpf: Use designated struct field initializers
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 2 Jan 2018 18:18:07 +0000 (15:18 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 8 Jan 2018 14:11:56 +0000 (11:11 -0300)
commit75f7d0a7f4ed18dcbe3af3550bca635c5d235aed
tree772ef27c63bafec9a2fd9eccd1331cd0c1f16eaa
parentd8757ff9d2a9cc3ff34160f05f77a6c8c5ecf882
perf test bpf: Use designated struct field initializers

To follow standard practice in the kernel sources, documenting the
initialization better and helping quickly finding the value for some
field in a struct with many entries.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: https://lkml.kernel.org/n/tip-syn3hz9hz7ukxlxbx5x6hv20@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/tests/bpf.c