Improved profiling of Chrome for ChromeOS:
1. Added handle SIGPIPE in the gdb script. This prevents gdb from
hanging when a SIGPIPE is received.
2. Removed redundant sleep in profile_cycler.py and moved that to the
command timeout.
3. Made sure all chrome processes are killed and the ui is restarted
between profiler runs.
4. Fixed a bug where the profile directory was being deleted before each
cycler run. It should only be deleted once at the beginning.

PRESUBMIT=passed
R=cmtice,bjanakiraman
DELTA=40  (22 added, 8 deleted, 10 changed)
OCL=58738-p2
RCL=58857-p2
RDATE=2012/03/02 10:53:27


P4 change: 42669941
3 files changed
tree: cb97018184dcdc8df0721e807035c0b1e33c6e9a
  1. .git5_specs/
  2. v14/