diff options
author | Yicong Yang <[email protected]> | 2023-10-24 17:29:54 +0800 |
---|---|---|
committer | Will Deacon <[email protected]> | 2023-10-24 12:30:45 +0100 |
commit | 868f8a709874729998bcad3422124b678b18b755 (patch) | |
tree | 524edb7f54a7cfd666d40e77c3f88010509b2445 /tools/perf/util/trace-event-scripting.c | |
parent | 6d7d51e88e21c0af1ca96a3617afef334bfeffcf (diff) |
drivers/perf: hisi_pcie: Initialize event->cpu only on success
Initialize the event->cpu only on success. To be more reasonable
and keep consistent with other PMUs.
Signed-off-by: Yicong Yang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions