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
DiyVM是一家低调国人VPS主机商,成立于2009年,提供的产品包括VPS主机和独立服务器租用等,数据中心包括香港沙田、美国洛杉矶、日本大阪等,VPS主机基于XEN架构,均为国内直连线路,主机支持异地备份与自定义镜像,可提供内网IP。最近,商家对香港机房VPS提供5折优惠码,最低2GB内存起优惠后仅需50元/月。下面就以香港机房为例,分享几款VPS主机配置信息。CPU:2cores内存:2GB硬...
profitserver怎么样?profitserver是一家成立于2003的主机商家,是ITC控股的一个部门,主要经营的产品域名、SSL证书、虚拟主机、VPS和独立服务器,机房有俄罗斯、新加坡、荷兰、美国、保加利亚,VPS采用的是KVM虚拟架构,硬盘采用纯SSD,而且最大的优势是不限制流量,大公司运营,机器比较稳定,数据中心众多。此次ProfitServer正在对德国VPS(法兰克福)、西班牙v...
近日CloudCone发布了最新的补货消息,针对此前新年闪购年付便宜VPS云服务器计划方案进行了少量补货,KVM虚拟架构,美国洛杉矶CN2 GT线路,1Gbps带宽,最低3TB流量,仅需14美元/年,有需要国外便宜美国洛杉矶VPS云服务器的朋友可以尝试一下。CloudCone怎么样?CloudCone服务器好不好?CloudCone值不值得购买?CloudCone是一家成立于2017年的美国服务器...
sourceforge.jp为你推荐
蓝瘦香菇被抢注最近玩网络上流传的难受香菇是什么典故mathplayer比较word,TeX,MathML中的数学公式处理方式的异同点,尽量详细哦,分数不是问题,谢谢哈,会加分的。access数据库ACCESS数据库有什么用冯媛甑谁知道怎么找到冯媛甄的具体资料?月神谭求几个个性网名:同ip网站12306怎么那么多同IP网站啊?这么重要的一个网站我感觉应该是超强配置的独立服务器才对啊,求高人指点bbs2.99nets.com西安论坛、西安茶馆网、西安社区、西安bbs 的网址是多少?hao.rising.cn我一打开网页就是瑞星安全网站导航,怎么修改?222cc.com怎样开通网站啊b.faloo.com那有能看完整小说的在线阅读手机网站(我看得都是有删节的,内容勉强连贯)
日本私人vps vps教程 万网免费域名 hostmaster ion bash漏洞 轻博客 360抢票助手 好玩的桌面 网站实时监控 建站代码 国内php空间 个人免费空间 中国电信测网速 免费全能主机 php空间购买 中国电信宽带测速网 web服务器安全 linux使用教程 联通网站 更多