diff options
| author | Jiri Olsa <[email protected]> | 2020-02-10 15:32:17 +0100 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2020-02-11 16:41:49 -0300 |
| commit | 7ce66139a99ce57caaf47b64afed5cb6ed02c5ed (patch) | |
| tree | f9e5dcca63ca36259006f0d5dde1f7e67bdf4cd7 /tools/lib/api/debug.c | |
| parent | 4a4eb6154d67f7766cc7eb74e9f1db424073e832 (diff) | |
perf maps: Fix map__clone() for struct kmap
The map__clone() function can be called on kernel maps as well, so it
needs to duplicate the whole kmap data.
Reported-by: Ravi Bangoria <[email protected]>
Signed-off-by: Jiri Olsa <[email protected]>
Tested-by: Ravi Bangoria <[email protected]>
Tested-by: Kim Phillips <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Michael Petlan <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lore.kernel.org/lkml/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/lib/api/debug.c')
0 files changed, 0 insertions, 0 deletions