perf: Emit COMM records for existing processes
authorBarret Rhoden <brho@cs.berkeley.edu>
Wed, 25 May 2016 18:28:45 +0000 (14:28 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Thu, 16 Jun 2016 15:48:38 +0000 (11:48 -0400)
commitc2f350e19de5f8eefad533f93d290f9c0ee862bb
tree1ee91e766edc77d8b09db4bd6d59aa5227ee5754
parent87c2d86502225dc4b866bda1bebb6605f64def2b
perf: Emit COMM records for existing processes

We were emitting COMMs for new processes and MMAPs for old processes, but
not COMMs for old processes.  This meant that samples for existing
processes (e.g. during a sleep 10) would only have the PID, but not the
name of the process.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/src/profiler.c