Thanks to rnofenko@fb.com for coming up with these changes.
This diff adds support for passing units in the trace size inputs. For example,
it's now possible to specify 64KB as the trace size, instead of the
problematic 65536. This makes the user experience a bit friendlier.
As an example, I was able to trace a program with the following command
process trace start -s 64Kb
and then I saw this printed in the trace information
thread trace dump info thread #1: tid = 469643 Total number of trace items: 179982 Memory usage: Raw trace size: 64 KiB
nit