Perfprofd: Update perf_proto_stack

Update the python script. Also clean it up.

Bug: 73175642
Test: manual: PYTHONPATH=$PYTHONPATH:$ANDROID_BUILD_TOP/development/scripts python -u system/extras/perfprofd/scripts/perf_proto_stack.py --syms /storage/perfprofd_symbols/out/target/product/walleye/symbols --skip-kernel-syms --print-samples --print-sym-histogram perf.data.encoded.0
Change-Id: I3d9c1eb0bca8818f53095d1410b5f95a0e93f24d
2 files changed