diff options
author | Wang Nan <[email protected]> | 2016-04-20 18:59:54 +0000 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2016-04-28 09:58:59 -0300 |
commit | be7b0c9e376e93a00b6c8631e2721e9dc7c6a1fa (patch) | |
tree | 3e506744da6b6198292515a459de22c47b26db4d /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
parent | 0c1d46a8796e8309f1ca693e5cad6f318e4b8159 (diff) |
perf record: Generate tracking events for process forked by perf
With 'perf record --switch-output' without -a, record__synthesize() in
record__switch_output() won't generate tracking events because there's
no thread_map in evlist. Which causes newly created perf.data doesn't
contain map and comm information.
This patch creates a fake thread_map and directly call
perf_event__synthesize_thread_map() for those events.
Signed-off-by: Wang Nan <[email protected]>
Tested-by: Arnaldo Carvalho de Melo <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Masami Hiramatsu <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Zefan Li <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: He Kuang <[email protected]>
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions