{"title":"Logging method for high execution frequency paths of Linux kernel","authors":"K. K. Jha","doi":"10.1109/IC3.2015.7346728","DOIUrl":null,"url":null,"abstract":"Understanding Operating System behavior is very critical for any embedded designer to make informed design decision. We present a new logging method which can capture the high granular details of the kernel activity. It reduces the logging latency by 95-97% & logging memory usage by 70% compared to conventional “printk”. We utilize the string literal pool of the Linux kernel to reconstruct the log offline, and store only the parameter values passed to a printk function, instead of current method putting the log as string after printk formatting.","PeriodicalId":217950,"journal":{"name":"2015 Eighth International Conference on Contemporary Computing (IC3)","volume":"41 1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2015-08-20","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2015 Eighth International Conference on Contemporary Computing (IC3)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/IC3.2015.7346728","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
Understanding Operating System behavior is very critical for any embedded designer to make informed design decision. We present a new logging method which can capture the high granular details of the kernel activity. It reduces the logging latency by 95-97% & logging memory usage by 70% compared to conventional “printk”. We utilize the string literal pool of the Linux kernel to reconstruct the log offline, and store only the parameter values passed to a printk function, instead of current method putting the log as string after printk formatting.