#! /bin/bash # # Simple test to gather data on where gnome-terminal spends time # This is compilicated by the terminal server model of gnome-terminal. # Using oprofile to get an overall view of what is happening on the system # This is only going to work with kernel that have oprofile support # (Red Hat SMP kernels) OPCONTROL=/usr/bin/opcontrol RESULTS_FILE=cattime $OPCONTROL --deinit $OPCONTROL --reset $OPCONTROL --setup --no-vmlinux --separate=library $OPCONTROL --start /usr/bin/time -o $RESULTS_FILE /bin/cat /home/wcohen/jarg422.txt $OPCONTROL --dump $OPCONTROL --shutdown #Need to do analysis after running the test.