diff options
| author | Stephane Eranian <[email protected]> | 2022-03-22 15:15:05 -0700 |
|---|---|---|
| committer | Peter Zijlstra <[email protected]> | 2022-04-05 10:24:36 +0200 |
| commit | bfe4daf850f45d92dcd3da477f0b0456620294c3 (patch) | |
| tree | ebe7d7fcb6d0d0f4d26fbbf0f46a9859fd46d56d /scripts/gdb/linux/config.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 <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gdb/linux/config.py')
0 files changed, 0 insertions, 0 deletions