summaryrefslogtreecommitdiffstats
path: root/meta/classes/toaster.bbclass
AgeCommit message (Expand)Author
2020-02-02toaster.bbclass: Fix error when toaster is used to monitor a buildMark Hatle
2020-01-11toaster.bbclass: Correct pkgdatadir path in toaster_package_dumpdata()Peter Kjellerstedt
2017-06-12toaster.bbclass: Ignore some dependencies in toaster_buildhistory_dump()Peter Kjellerstedt
2017-06-12toaster.bbclass: Simplify parsing of depends.dotPeter Kjellerstedt
2017-04-11toaster: fix SDK artifact captureDavid Reyna
2017-03-17toaster.bbclass: Correct parsing of installed-package-sizes.txtPeter Kjellerstedt
2017-01-09toaster: prevent use of unset variable BUILDSTATS_BASEJochen Jaegers
2016-12-16meta: remove True option to getVar callsJoshua Lock
2016-09-04toaster: fire TaskArtifacts eventEd Bartosh
2016-07-19toaster.bbclass: only scan files-in-image.txt if it existsElliot Smith
2016-07-19toaster.bbclass: remove directory scan logic for detecting artifactsElliot Smith
2016-06-02classes/lib: Update to use python3 command pipeline decodingRichard Purdie
2016-04-13toaster.bbclass: improve package information collectionJoshua Lock
2016-04-08toaster.bbclass: strip task from the targetEd Bartosh
2016-03-11toaster.bbclass: show packages that were setscened into existence toobrian avery
2016-03-09toaster.bbclass: improve how we gather buildstats for ToasterElliot Smith
2016-02-04toaster.bbclass: reinstate scan for artifacts in the sdk directoryElliot Smith
2016-02-04toaster.bbclass: attach image file scan postfunc to do_image_completeElliot Smith
2016-01-17toaster.bbclass: Separate artifact dump from image file dumpElliot Smith
2015-12-22toaster.bbclass: fix TypeError when parsing build statsElliot Smith
2015-12-18buildstats-summary/toaster: Cope with removal of get_bn()Richard Purdie
2015-12-18toaster: Update for buildstats changesRichard Purdie
2015-07-27toaster.bbclass: Fix ValueErrorEd Bartosh
2015-03-29toaster.bbclass: do not add symbolic links to artifactsAlexandru DAMIAN
2014-12-19toaster.bbclass: trigger event for other image filesAlexandru DAMIAN
2014-11-28toaster.bbclass: use the openembedded-core nameAlexandru DAMIAN
2014-11-06toaster.bbclass: read elapsed time from the stats fileAlexandru DAMIAN
2014-06-03toaster.bbclass: exclude variable dependency on toaster postfuncAlexandru DAMIAN
2014-04-19toaster.bbclass: do not fail on non-existent filesAlexandru DAMIAN
2014-04-11toaster.bbclass: read list of files in imageAlexandru DAMIAN
2014-04-08toaster.bbclass: image file is missing a "/"Cristiana Voicu
2014-03-31toaster.bbclass: the license.manifest is located in DEPLOY_DIRCristiana Voicu
2014-03-25toaster.bbclass: update buildstats event dataAlexandru DAMIAN
2014-03-21toaster.bbclass: read the data needed for license manifest pathCristiana Voicu
2014-01-29toaster.bbclass: save original package nameAlexandru DAMIAN
2013-12-21toaster.bbclass: fix crash on buildstats collectionAlexandru DAMIAN
2013-12-10toaster.bbclass: read package and image informationAlexandru DAMIAN
2013-12-10toaster.bbclass: read build statsAlexandru DAMIAN
2013-12-10toaster.bbclass: read layer informationAlexandru DAMIAN
2013-12-03classes/package: fix FILES_INFO serialisation in pkgdataPaul Eggleton
2013-11-04toaster: add class to dump toaster-tracked dataAlexandru DAMIAN
, stdout=PIPE, stderr=PIPE) output = p.communicate()[0].splitlines() if len(output) > 2: sizes = output[-1].split()[0:4] if verbose: print " %10d %10d %10d %10d\t" % \ (int(sizes[0]), int(sizes[1]), int(sizes[2]), int(sizes[3])), print "%s" % filename[len(os.getcwd()) + 1:] global n_ko_files, ko_text, ko_data, ko_bss, ko_total ko_text += int(sizes[0]) ko_data += int(sizes[1]) ko_bss += int(sizes[2]) ko_total += int(sizes[3]) n_ko_files += 1 def get_vmlinux_totals(): p = Popen("size -t " + vmlinux_file, shell=True, stdout=PIPE, stderr=PIPE) output = p.communicate()[0].splitlines() if len(output) > 2: sizes = output[-1].split()[0:4] if verbose: print " %10d %10d %10d %10d\t" % \ (int(sizes[0]), int(sizes[1]), int(sizes[2]), int(sizes[3])), print "%s" % vmlinux_file[len(os.getcwd()) + 1:] global vmlinux_text, vmlinux_data, vmlinux_bss, vmlinux_total vmlinux_text += int(sizes[0]) vmlinux_data += int(sizes[1]) vmlinux_bss += int(sizes[2]) vmlinux_total += int(sizes[3]) def sum_ko_files(): for ko_file in ko_file_list: add_ko_file(ko_file) def main(): try: opts, args = getopt.getopt(sys.argv[1:], "vh", ["help"]) except getopt.GetoptError as err: print('%s' % str(err)) usage() sys.exit(2) for o, a in opts: if o == '-v': global verbose verbose = True elif o in ('-h', '--help'): usage() sys.exit(0) else: assert False, "unhandled option" collect_object_files() sum_ko_files() get_vmlinux_totals() print "\nTotals:" print "\nvmlinux:" print " text\tdata\t\tbss\t\ttotal" print " %-10d\t%-10d\t%-10d\t%-10d" % \ (vmlinux_text, vmlinux_data, vmlinux_bss, vmlinux_total) print "\nmodules (%d):" % n_ko_files print " text\tdata\t\tbss\t\ttotal" print " %-10d\t%-10d\t%-10d\t%-10d" % \ (ko_text, ko_data, ko_bss, ko_total) print "\nvmlinux + modules:" print " text\tdata\t\tbss\t\ttotal" print " %-10d\t%-10d\t%-10d\t%-10d" % \ (vmlinux_text + ko_text, vmlinux_data + ko_data, \ vmlinux_bss + ko_bss, vmlinux_total + ko_total) if __name__ == "__main__": try: ret = main() except Exception: ret = 1 import traceback traceback.print_exc(5) sys.exit(ret)