https://github.com/mozilla/gecko-dev
Raw File
Tip revision: 643f37b68305d90ecfa148f81db63891c30e4620 authored by Fabrice Desré on 23 February 2015, 18:13:02 UTC
Bug 1135737 - Disable addons on b2g 2.2 r=me a=me
Tip revision: 643f37b
collect_b2g_uss_data.sh
#!/bin/sh

if [ $# -ne 2 ]
then
    echo "Usage: `basename $0` <app title> <output_file.csv>"
    exit 1
fi

while true
do
    sample=`adb shell b2g-procrank | grep "^${1}" | awk '{ print $6 }' | sed 's/.$//'`
    echo "$sample"
    echo "$sample" >> "$2"
    sleep 1
done

back to top