scripts: plot histogram from ftrace data