| Index: tracing/tracing/extras/importer/linux_perf/sched_parser.html
|
| diff --git a/tracing/tracing/extras/importer/linux_perf/sched_parser.html b/tracing/tracing/extras/importer/linux_perf/sched_parser.html
|
| index b3fa3788160b191313ade5502ab021a28c39c5a5..83f682bf08bd776df3a447d1ce45b95a1f4128ec 100644
|
| --- a/tracing/tracing/extras/importer/linux_perf/sched_parser.html
|
| +++ b/tracing/tracing/extras/importer/linux_perf/sched_parser.html
|
| @@ -68,6 +68,14 @@ tr.exportTo('tr.e.importer.linux_perf', function() {
|
| var nextPid = parseInt(event[6]);
|
| var nextPrio = parseInt(event[7]);
|
|
|
| + if (eventBase.tgid !== undefined) {
|
| + var process = this.importer.model_.getOrCreateProcess(eventBase.tgid);
|
| + if (!process.getThread(pid)) {
|
| + var thread = process.getOrCreateThread(pid);
|
| + thread.name = eventBase.threadName;
|
| + }
|
| + }
|
| +
|
| var nextThread = this.importer.threadsByLinuxPid[nextPid];
|
| var nextName;
|
| if (nextThread)
|
| @@ -147,4 +155,3 @@ tr.exportTo('tr.e.importer.linux_perf', function() {
|
| };
|
| });
|
| </script>
|
| -
|
|
|