commit | 68534b9e796819477b0cc985491c9624ae50c5dc | [log] [tgz] |
---|---|---|
author | Yabin Cui <yabinc@google.com> | Mon Oct 19 14:50:54 2020 -0700 |
committer | Yabin Cui <yabinc@google.com> | Mon Oct 19 15:00:35 2020 -0700 |
tree | 52861efb7b89b963b58ddabffb24b90623115123 | |
parent | bc8a4a3be6c779c01555858b641214eec80bad85 [diff] |
simpleperf: add shortcut for creating kprobe events. When using a kprobe event without any arguments, a --kprobe option isn't needed. For example, when "-e kprobes:do_sys_open" is used without --kprobe, a default kprobe event is created at the entry of do_sys_open(). Bug: 160630060 Test: run simpleperf_unit_test. Change-Id: I62f5616c423ecb104d64a425fbd52e38e57e993e