diff --git a/plugin/trace_viewer/tf_trace_viewer/tf-trace-viewer.html b/plugin/trace_viewer/tf_trace_viewer/tf-trace-viewer.html index 805d2608..2bc718e2 100644 --- a/plugin/trace_viewer/tf_trace_viewer/tf-trace-viewer.html +++ b/plugin/trace_viewer/tf_trace_viewer/tf-trace-viewer.html @@ -1659,9 +1659,12 @@ } this._devices = {}; + const processList = []; for (const pid in this._model.processes) { this._devices[pid] = this._model.processes[pid].name; + processList.push(`${this._model.processes[pid].name} (pid: ${pid})`); } + window.parent.postMessage({'type': 'processes-list','data': processList,}, '*'); }, // Updates the view based on the current model.