diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2020-05-28 17:19:17 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2020-05-29 16:50:29 -0300 |
commit | a9e8c1f85696057e35fc316af3ae7aa00ddb7522 (patch) | |
tree | 422943bc92653cb8a8f6f1dfc952116c35b054d5 /Documentation/bpf | |
parent | db6b8cc8912a8c7688429b711292e7a923556776 (diff) |
perf trace: Use zalloc() to make sure all fields are zeroed in the syscalltbl constructor
In the past this wasn't needed as the libaudit based code would use just
one field, and the alternative constructor would fill in all the fields,
but now that even when using the libaudit based method we need the other
fields, switch to zalloc() to make sure the other fields are zeroed at
instantiation time.
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'Documentation/bpf')
0 files changed, 0 insertions, 0 deletions