OSDN Git Service

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)
commit13cb2d0f513cf35bf74484a392f745f9e9c5a3f2
tree772ef27c63bafec9a2fd9eccd1331cd0c1f16eaa
parent6703c9771d83ebe092b0d49cb0609a3f9d8b4ff7
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