Lines Matching refs:dmesg
148 elif arg in ['-o', '-dmesg', '-ftrace', '-func']:
211 dmesg = {} # root data structure
214 dmesgtext = [] # dmesg text file in memory
227 self.dmesg = {
239 list = self.dmesg[phase]['list']
256 list = self.dmesg[p]['list']
280 dc = len(self.dmesg[phase]['list'])
282 self.dmesg[phase]['start']*1000,
283 self.dmesg[phase]['end']*1000, dc))
291 sysvals.vprint('Analyzing the dmesg data (%s)...' % \
295 data.dmesg['kernel']['start'] = data.start = ktime = 0.0
306 lf = Popen('dmesg', stdout=PIPE).stdout
362 data.dmesg['kernel']['end'] = ktime
363 data.dmesg['user']['start'] = ktime
369 data.dmesg['user']['end'] = data.end
383 list = data.dmesg[p]['list']
455 # Create copies of dmesg and/or ftrace for later processing
462 # create the folder and get dmesg
466 call('dmesg >> '+sysvals.dmesgfile, shell=True)
545 list = data.dmesg[p]['list']
556 phase = data.dmesg[p]
568 list = data.dmesg[phase]['list']
625 order = '%.2f' % ((data.dmesg[phase]['order'] * pdelta) + pmargin)
627 data.dmesg[phase]['color'], phase+'_mode', phase[0])
672 phase = data.dmesg[p]
686 # add the dmesg log as a hidden div
841 ' This tool reads in a dmesg log of linux kernel boot and\n'\
845 ' If no specific command is given the tool reads the current dmesg\n'\
850 ' raw dmesg output: <hostname>_boot_dmesg.txt\n'\
857 ' -addlogs Add the dmesg log to the html output\n'\
880 ' -dmesg file Create HTML output using dmesg input (used with -ftrace)\n'\
881 ' -ftrace file Create HTML output using ftrace input (used with -dmesg)\n'\
970 elif(arg == '-dmesg'):
974 doError('No dmesg file supplied', True)
1018 doError('-reboot and -dmesg/-ftrace are incompatible')
1085 doError('dmesg file required')