commit | 84c55ff866c91d0764e91ad9607f49d597919e06 | [log] [tgz] |
---|---|---|
author | Yabin Cui <yabinc@google.com> | Thu Jul 09 14:14:22 2020 -0700 |
committer | Yabin Cui <yabinc@google.com> | Mon Jul 13 17:09:00 2020 -0700 |
tree | 06c19bc42600fb63859c793b3d5e40faee15fdeb | |
parent | 850371d2733845fdac014ce50b6bc8e741c1af29 [diff] |
simpleperf: fix string operand support in --tp-filter. Kernel < 4.19 doesn't support quotes in string operands, while kernel >= 4.19 requires quotes in string operands. This CL supports both cases in --tp-filter option, and modifies quotes for string operands based on the kernel version. Bug: 160900181 Test: run simpleperf_unit_test. Change-Id: Icede9fde2ae739189a6120c969bdfb6bf5f28456