diff options
| author | John Keeping <[email protected]> | 2019-08-15 10:01:44 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2019-08-16 15:25:23 +0000 |
| commit | ab6cd0e5276e24403751e0b3b8ed807738a8571f (patch) | |
| tree | a34bf3a7e310608cd591db5dc6a1af785b08c1bc /tools/perf/scripts/python/syscall-counts.py | |
| parent | perf report: Add --switch-on/--switch-off events (diff) | |
| download | kernel-ab6cd0e5276e24403751e0b3b8ed807738a8571f.tar.gz kernel-ab6cd0e5276e24403751e0b3b8ed807738a8571f.zip | |
perf map: Use zalloc for map_groups
In the next commit we will add new fields to map_groups and we need
these to be null if no value is assigned. The simplest way to achieve
this is to request zeroed memory from the allocator.
Signed-off-by: John Keeping <[email protected]>
Reviewed-by: Jiri Olsa <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Konstantin Khlebnikov <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: john keeping <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
