[PATCH v6 6/7] perf record: Re-synthesize tracking events after output switching

2016-04-20 Thread Wang Nan
Tracking events describe kernel and threads. They are generated by reading /proc/kallsyms, /proc/*/maps and /proc/*/task/* during initialization of 'perf record', serialized into event sequences and put at the head of 'perf.data'. In case of output switching, each output file should contain those

[PATCH v6 6/7] perf record: Re-synthesize tracking events after output switching

2016-04-20 Thread Wang Nan
Tracking events describe kernel and threads. They are generated by reading /proc/kallsyms, /proc/*/maps and /proc/*/task/* during initialization of 'perf record', serialized into event sequences and put at the head of 'perf.data'. In case of output switching, each output file should contain those