diff options
author | Tony Nguyen <[email protected]> | 2018-05-22 11:51:46 -0600 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2018-05-22 10:51:46 -0700 |
commit | ba863d0be4cbfbea938b10e49fb6ff459ac9ec20 (patch) | |
tree | 3d48bc91284779ea78158728d19dd36cd8ca2f3a /tests/zfs-tests/include/commands.cfg | |
parent | a430cef9cd6cbff7d9827b37c1cb322aaa1bf9dc (diff) |
Profiling for perf tests
Stack profiling is quite useful and Linux ZFS test suite does not
current collect that data.
Linux perf is a common tool for this purpose though the perf record
data file can be quite large. With this change, Linux ZFS perf tests
capture perf record data if perf is installed on the system and
PERF_DO_PROFILING environment variable is set.
Reviewed by: John Wren Kennedy <[email protected]>
Reviewed by: Matthew Ahrens <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
External-issue: LX-971
Closes #7549
Diffstat (limited to 'tests/zfs-tests/include/commands.cfg')
-rw-r--r-- | tests/zfs-tests/include/commands.cfg | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/zfs-tests/include/commands.cfg b/tests/zfs-tests/include/commands.cfg index 2a6c3b13d..50eb6bd6b 100644 --- a/tests/zfs-tests/include/commands.cfg +++ b/tests/zfs-tests/include/commands.cfg @@ -84,6 +84,7 @@ export SYSTEM_FILES='arp openssl parted pax + perf pgrep ping pkill |