22 lines · 385 B · Shell
RawDownload
#!/bin/bash# Perf attribute expectations test# SPDX-License-Identifier: GPL-2.0 err=0 cleanup() {  trap - EXIT TERM INT} trap_cleanup() {  echo "Unexpected signal in ${FUNCNAME[1]}"  cleanup  exit 1}trap trap_cleanup EXIT TERM INT shelldir=$(dirname "$0")perf_path=$(which perf)python "${shelldir}"/lib/attr.py -d "${shelldir}"/attr -v -p "$perf_path"cleanupexit $err

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t