January25,2005CELinuxForumMembersConfidential1LKSTforSHLineoSolutions,IncJanuary25,2005CELinuxForumMembersConfidential2PresentationOverviewLKST(LinuxKernelStateTracer)PortingtoSH4RenesasRTS7751R2D(CELFreferenceplatform)LKSTkernelconfigurationKeyPointofthePortingOutputcomparisonofx86(ReferenceModel)vs.
SHExamplesfortheLKSTOutputDemonstrationVisualizationtechniqueofLKSToutputJanuary25,2005CELinuxForumMembersConfidential3LKSTasDebuggingToolPowerfulandefficientEventtracingfunctionisusefulfortroubleanalysisPortingofMajorTracers(LKST,LTT,…)LTT:Version0.
9.
5asupportsx86,PPCandSHarchitectureLKSTFsupportsx86ContributiontoLinuxImprovementsinNumericalQuantificationAspectPerformanceEvaluation(Plans,examsandanalyseswithVisualization)SupportingPerformanceEvaluation(Portingand/tointegratedenvironments)OurMotivation&ObjectiveJanuary25,2005CELinuxForumMembersConfidential4HardwareRTS7751R2D(SH4)SoftwareLinux2.
6.
8.
1LKST2.
2.
1GCC3.
2.
3CooperativeDevelopmentforThisSystemSystemConceptandHardwareSupportTechnicalAdvisoryforLKSTTechnologiesSystemConstructionSystemEnvironmentsJanuary25,2005CELinuxForumMembersConfidential5LKSTKernel(1/2)SetupLKSTKernelConfigurationEnvironmentslinux-2.
6.
8.
1http://www.
kernel.
orgPatchesforLKST–lkst-2.
2.
1.
tar.
gz–lkstpatchset-2.
2.
1-for-2.
6.
8.
1-2.
tar.
gzJanuary25,2005CELinuxForumMembersConfidential6LKSTKernel(2/2)LKSTKernelConfigurationandPatchApplication:STEPS–Expandlinux-2.
6.
8.
1.
tar.
gz–Expandlkst-2.
2.
1.
tar.
gz–Expandlkstpatchset-2.
2.
1-for-2.
6.
8.
1-2.
tar.
gz–mvlkst-2.
2.
1/patcheslkst-2.
2.
1/patches-2.
6.
9–mvpatches-2.
6.
8.
1lkst-2.
2.
1/patches–makepatchKPRESRC=January25,2005CELinuxForumMembersConfidential7PorttoSHCPU(1)Base:LKSTkerneloni386SpecificPointsAdds#define__DISABLE_LKST_HOOK_arch/sh/boot/compressed/misc.
cLOOPS_PGFAULTAddshook-pointstodo_page_fault()arch/sh/mm/fault.
cAddscpu_khzvariablesinitializationusingtime_init()arch/sh/kernel/time.
cPROCESS_LTHREADGENAddshook-pointstokernel_thread()arch/sh/kernel/process.
cINT_HARDWARE_ENTRYAddshook-pointstodo_IRQ()arch/sh/kernel/irq.
cEventTypeCommentFileNameJanuary25,2005CELinuxForumMembersConfidential8PorttoSHCPU(2)CommentOutforSYSCALL_SYSENTERandSYSCALL_SYSEXITSHPortingCorrespondingtoAtomic_read_and_add()ini386SHPortingCorrespondingtolocal_atomic_read_and_add()ini386include/asm-sh/lkst_etype.
hChangesDefinedValueforLKST_BUFFER_SIZE_MAX(1MByteforDefault)include/asm-sh/lkst.
hSHPortingCorrespondingtois_asm_hook()ini386include/asm-sh/hook_private.
hSHPortingcorresponding_IF_HOOK_ENABLEDini386include/asm-sh/hook.
hEventTypeCommentFileNameJanuary25,2005CELinuxForumMembersConfidential9PorttoSHCPU(3)configASM_HOOKinclude/asm-sh/hook*.
hAddsconfigASM_HOOKarch/sh/KconfigSYSCALL_EXIT_HEADERAddshook-pointstosyscall_exitAddsDEBUG_KERNELAddssource"drivers/lkst/Kconfig"AddsconfigdependsonconfigHOOKDEBUG_KERNELarch/sh/kernel/entry.
SSYSCALL_ENTRY_HEADERAddsexternDecralationforcpu_khzAddshook-pointstosyscall_callinclude/asm-sh/timex.
hSHPortingCorrespondingtolkst_evhandlerprim_mc()ini386include/asm-sh/lkst_private.
hEventTypeCommentFileNameJanuary25,2005CELinuxForumMembersConfidential10PorttoSHCPU(4)OutputExampleforLKSTJanuary25,2005CELinuxForumMembersConfidential11PorttoSHCPU(5)OutputExampleofLKSTJanuary25,2005CELinuxForumMembersConfidential12PorttoSHCPU(6)PortingwasSmooth&Quick–BecomeAvailable…about1month–Evaluation,Comparisonwithx86,VisualizingTool…another1monthà1MonthPortingtoSHEvaluationà1MonthJanuary25,2005CELinuxForumMembersConfidential13DemonstrationDevelopmentofVisualizationToolforOutputResults–Fromhuge&complexoutputlogtextToBIOS-likeDisplay–ImplementedonTargetBoardOutputLogcanbecheckedrightthereonthetargetboard.
January25,2005CELinuxForumMembersConfidential14VisualizationToolOnRTS7751R2D(SH4)LKSTVisualizationToolLKSTComputationLKSTLogFileLKSTKernelVisualizingEngineLCDfontbitmapframebufferBlockDiagramJanuary25,2005CELinuxForumMembersConfidential15VisualDemoVideodemoisavailableJanuary25,2005CELinuxForumMembersConfidential16SummaryThroughLKSTporting,wefound;High&smoothportabilityPossiblefutureapproach:UsageasnewvisualizingtoolScopesinthefuturePortothermajor/usefultracersStackinganalysisWeContributetoimprovequalityofLinuxinitsperformancefromthenumericalquantificationviewpoint.
OurchallengeHookpointstothesystemcallsandexceptionprocessingJanuary25,2005CELinuxForumMembersConfidential17ThankYou!
ATTENTIONATTENTIONCorrespondingDemonstrationJan.
2517:00Jan.
2517:00--18:3018:30
飞讯云官网“飞讯云”是湖北飞讯网络有限公司旗下的云计算服务品牌,专注为个人开发者用户、中小型、大型企业用户提供一站式核心网络云端部署服务,促使用户云端部署化简为零,轻松快捷运用云计算。飞讯云是国内为数不多具有ISP/IDC双资质的专业云计算服务商,同时持有系统软件著作权证书、CNNIC地址分配联盟成员证书,通过了ISO27001信息安全管理体系国际认证、ISO9001质量保证体系国际认证。 《中华...
RAKsmart 商家这几年还是在做事情的,虽然他们家顺带做的VPS主机并不是主营业务,毕竟当下的基础云服务器竞争过于激烈,他们家主营业务的独立服务器。包括在去年开始有新增多个数据中心独立服务器,包括有10G带宽的不限流量的独立服务器。当然,如果有需要便宜VPS主机的他们家也是有的,比如有最低月付1.99美元的美国VPS主机,而且可选安装Windows系统。这里商家有提供下面六款六月份的活动便宜V...
tmhhost怎么样?tmhhost正在搞暑假大促销活动,全部是高端线路VPS,现在直接季付8折优惠,活动截止时间是8月31日。可选机房及线路有美国洛杉矶cn2 gia+200G高防、洛杉矶三网CN2 GIA、洛杉矶CERA机房CN2 GIA,日本软银(100M带宽)、香港BGP直连200M带宽、香港三网CN2 GIA、韩国双向CN2。点击进入:tmhhost官方网站地址tmhhost优惠码:Tm...
sourceforge.jp为你推荐
地图应用用哪个地图导航最好最准老虎数码我想买个一千左右的数码相机!最好低于一千五!再给我说一下像素是多少?18comic.fun黑色禁药http://www.lovecomic.cn/attachment/Fid_18/18_4_00d3b0cb502ea74.jpg这幅画名字叫什么?22zizi.com福利彩双色球22号开奖号m.kan84.net电视剧海派甜心全集海派甜心在线观看海派甜心全集高清dvd快播迅雷下载javbibitreebibi是什么牌子的ww.66bobo.com这个www.中国应急救援网.com查询证件是真是假?sodu.tw台湾的可以看小说的网站www.147.qqq.com谁有147清晰的视频?学习学习henhenlu.com谁有大片地址呀 麻烦告诉我 谢谢啦 O会给你打满分的
虚拟主机提供商 西安服务器租用 免费国际域名 plesk ion winhost 分销主机 网站保姆 什么是服务器托管 国外免费asp空间 多线空间 yundun 贵阳电信测速 测试网速命令 存储服务器 湖南铁通 塔式服务器 美国主机 美国代理服务器 hosting 更多