diff options
author | Ian Rogers <irogers@google.com> | 2021-03-10 02:49:45 +0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2021-03-10 15:20:59 +0300 |
commit | 2a76f6de07906f0bb5f2a13fb02845db1695cc29 (patch) | |
tree | 9900b58e9f8740e5848ce15ae4dea5638f36f42a /tools/perf/util/thread-stack.h | |
parent | 49f2675f5b4d5d0af22c963f9f6152abb1bb15aa (diff) | |
download | linux-2a76f6de07906f0bb5f2a13fb02845db1695cc29.tar.xz |
perf synthetic events: Avoid write of uninitialized memory when generating PERF_RECORD_MMAP* records
Account for alignment bytes in the zero-ing memset.
Fixes: 1a853e36871b533c ("perf record: Allow specifying a pid to record")
Signed-off-by: Ian Rogers <irogers@google.com>
Acked-by: Jiri Olsa <jolsa@redhat.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lore.kernel.org/lkml/20210309234945.419254-1-irogers@google.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/thread-stack.h')
0 files changed, 0 insertions, 0 deletions