diff options
| author | Anju T Sudhakar <[email protected]> | 2017-12-11 11:28:37 +0530 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2018-01-19 23:04:44 +1100 |
| commit | 8b4e6deaff7822c76c94336c40f8d1f244c6f6ed (patch) | |
| tree | ecf21a363309204ca76d5a41fa16c6fdc8f4ce36 /tools/perf/scripts/python | |
| parent | ed8e443feee2bde8539f865092289eeaf0681c3f (diff) | |
powerpc/perf: Pass struct imc_events as a parameter to imc_parse_event()
Remove the allocation of struct imc_events from imc_parse_event().
Instead pass imc_events as a parameter to imc_parse_event(), which is
a pointer to a slot in the array allocated in
update_events_in_group().
Reported-by: Dan Carpenter ("powerpc/perf: Fix a sizeof() typo so we allocate less memory")
Suggested-by: Michael Ellerman <[email protected]>
Signed-off-by: Anju T Sudhakar <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions