diff options
author | Pavel Kirienko <pavel.kirienko@gmail.com> | 2015-01-17 18:32:29 +0300 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2015-01-21 14:54:24 +0100 |
commit | 885077a1c3cfa9980001e8dce76615e1f7552788 (patch) | |
tree | 01a83f114cc2ea3c2f46224727c22f2f472bbe73 /Debug | |
parent | 569c3b7d37f4be5c9a635fe3e4633ecebbe8f9b5 (diff) | |
download | px4-firmware-885077a1c3cfa9980001e8dce76615e1f7552788.tar.gz px4-firmware-885077a1c3cfa9980001e8dce76615e1f7552788.tar.bz2 px4-firmware-885077a1c3cfa9980001e8dce76615e1f7552788.zip |
Profiler: folder fix - more special cases for operator<< and operator>>
Diffstat (limited to 'Debug')
-rwxr-xr-x | Debug/poor-mans-profiler.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Debug/poor-mans-profiler.sh b/Debug/poor-mans-profiler.sh index d907d8749..ab06a1b66 100755 --- a/Debug/poor-mans-profiler.sh +++ b/Debug/poor-mans-profiler.sh @@ -144,9 +144,9 @@ def split_first_part_with_parens(line): if ch == '\\': continue # special cases - if out.endswith('operator>') or out.endswith('operator->'): # gotta love c++ + if out.endswith('operator>') or out.endswith('operator>>') or out.endswith('operator->'): # gotta love c++ braces['<>'] += 1 - if out.endswith('operator<'): + if out.endswith('operator<') or out.endswith('operator<<'): braces['<>'] -= 1 # switching quotes if ch in QUOTES: |