lib/third_party/tracing/extras/importer/linux_perf/ftrace_importer.js
function(ts, pid, comm, prio, fromPid) {
      // The the pids that get passed in to this function are Linux kernel
      // pids, which identify threads.  The rest of trace-viewer refers to
      // these as tids, so the change of nomenclature happens in the following
      // construction of the wakeup object.
      this.wakeups_.push({ts: ts, tid: pid, fromTid: fromPid});
    }
function(ts, pid, comm, prio, fromPid) {
      // The the pids that get passed in to this function are Linux kernel
      // pids, which identify threads.  The rest of trace-viewer refers to
      // these as tids, so the change of nomenclature happens in the following
      // construction of the wakeup object.
      this.wakeups_.push({ts: ts, tid: pid, fromTid: fromPid});
    }
function ( ts , pid , comm , prio , fromPid ) { // The the pids that get passed in to this function are Linux kernel // pids, which identify threads.  The rest of trace-viewer refers to // these as tids, so the change of nomenclature happens in the following // construction of the wakeup object. this . wakeups_ . push ( { ts : ts , tid : pid , fromTid : fromPid } ) ; }
Records the fact that a pid has become runnable. This data will
eventually get used to derive each thread's timeSlices array.
Records the fact that a pid has become runnable . This data will eventually get used to derive each thread s timeSlices array .