Changeset b813f53 for tools/perf


Ignore:
Timestamp:
Jun 26, 2020, 5:08:10 PM (5 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
9bbbc8e
Parents:
359d12d
Message:

Improvement of handling of \r processing halts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified tools/perf/process_halts.sh

    r359d12d rb813f53  
    2828fi
    2929# split the wanted and unwanted output
    30 awk "/^Processor|^PH:[0-9]+ - [0-9]+ [0-9]+/ {print \$0 > \"$tmpfile\"; next}{print \$0; fflush()}"
     30awk "BEGIN{RS = \"[\n\r]\"}/^Processor|^PH:[0-9]+ - [0-9]+ [0-9]+/ {print \$0 > \"$tmpfile\"; next}{print \$0; fflush()}"
    3131
    3232# pass the data to the python scirpt
Note: See TracChangeset for help on using the changeset viewer.