xrmx / bootchart

merge of bootchart-collector and pybootchartgui
GNU General Public License v2.0
233 stars 88 forks source link

Just a minor fix for a problem I encountered while using the tool. #44

Closed dkruger closed 11 years ago

dkruger commented 11 years ago

This fixes a rare IndexError exception when 'times' is empty due to an incomplete entry in proc_stat.log.

xrmx commented 11 years ago

Thanks for the patch, does this simpler one works for you? http://paste.debian.net/246202/ Also can you upload somewhere the tarball that breaks pybootchartgui please?

dkruger commented 11 years ago

Yes sir, the simpler one works fine. The offending tarball is here: https://docs.google.com/file/d/0B3oxGQDjlpyQYTN6MHdzLTlaT2s/edit?usp=sharing Thanks for looking at this.

xrmx commented 11 years ago

Applied, thanks!