diff options
author | Stephane Eranian <eranian@google.com> | 2022-03-22 15:15:05 -0700 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2022-04-05 10:24:36 +0200 |
commit | bfe4daf850f45d92dcd3da477f0b0456620294c3 (patch) | |
tree | ebe7d7fcb6d0d0f4d26fbbf0f46a9859fd46d56d /tools/perf/scripts/python/stackcollapse.py | |
parent | 3123109284176b1532874591f7c81f3837bbdc17 (diff) |
perf/core: Add perf_clear_branch_entry_bitfields() helper
Make it simpler to reset all the info fields on the
perf_branch_entry by adding a helper inline function.
The goal is to centralize the initialization to avoid missing
a field in case more are added.
Signed-off-by: Stephane Eranian <eranian@google.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20220322221517.2510440-2-eranian@google.com
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions