simpleperf: Add --user-buffer-size in record cmd

When user buffer isn't big enough, we see a high percentage
of cut samples (samples with only 1K stack data). This can
result in a high percentage of samples with incomplete callchain.

So add --user-buffer-size option to let users adjust buffer
size based on the situation.

Bug: 265123009
Test: run simpleperf_unit_test
Change-Id: Iafdea6624243a4b6707b0e759841b7d227d4535e
4 files changed