util: Move packet trace file read to protolib
authorRadhika Jagtap <radhika.jagtap@ARM.com>
Sun, 10 Aug 2014 09:39:20 +0000 (05:39 -0400)
committerRadhika Jagtap <radhika.jagtap@ARM.com>
Sun, 10 Aug 2014 09:39:20 +0000 (05:39 -0400)
commit2ee47fc8d1e3c6089e3e358603dadca913a4527c
tree06e9fa372ad2e75a38acaca6d6757404f9c2ef56
parentdbdce42b88f9b1f954b1bbb5ae9c707a6a3c1d0c
util: Move packet trace file read to protolib

This patch moves the code for opening an input protobuf packet trace into
a function defined in the protobuf library. This is because the code is
commonly used in decode scripts and is independent of the src protobuf
message.
util/decode_packet_trace.py
util/protolib.py