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
Sharktech又称SK或者鲨鱼机房,是一家主打高防产品的国外商家,成立于2003年,提供的产品包括独立服务器租用、VPS云服务器等,自营机房在美国洛杉矶、丹佛、芝加哥和荷兰阿姆斯特丹等。之前我们经常分享商家提供的独立服务器产品,近期主机商针对云虚拟服务器(CVS)提供优惠码,优惠后XS套餐年付最低仅33.39美元起,支持使用支付宝、PayPal、信用卡等付款方式。下面以XS套餐为例,分享产品配...
稳爱云(www.wenaiyun.com)是创建于2021年的国人IDC商家,主要目前要出售香港VPS、香港独立服务器、美国高防VPS、美国CERA VPS 等目前在售VPS线路有三网CN2、CN2 GIA,该公司旗下产品均采用KVM虚拟化架构。机房采用业内口碑最好香港沙田机房,稳定,好用,数据安全。线路采用三网(电信,联通,移动)回程电信cn2、cn2 gia优质网络,延迟低,速度快。自行封装的...
易探云服务器怎么过户/转让?易探云支持云服务器PUSH功能,该功能可将云服务器过户给指定用户。可带价PUSH,收到PUSH请求的用户在接收云服务器的同时,系统会扣除接收方的款项,同时扣除相关手续费,然后将款项打到发送方的账户下。易探云“PUSH服务器”的这一功能,可以让用户将闲置云服务器转让给更多需要购买的用户!易探云服务器怎么过户/PUSH?1.PUSH双方必须为认证用户:2.买家未接收前,卖家...
sourceforge.jp为你推荐
mathplayer如何学好理科百度关键词价格查询百度推广里怎么查指定的关键字参与竞价的价位呢原代码源代码是什么同ip网站同IP的两个网站,做单向链接,会不会被K掉??125xx.comwww.free.com 是官方网站吗?www.vtigu.com初三了,为什么考试的数学题都那么难,我最多也就135,最后一道选择,填空啊根本没法做,最后几道大题倒www.mywife.ccMywife-No 00357 MANAMI SAITO种子下载地址有么?求好心人给lcoc.top日本Ni-TOP是什么意思?机器蜘蛛求一个美国的科幻电影名!里面有大型的机械蜘蛛。本冈一郎本冈一郎的官网说是日本相扑用的,我们平常的人增肥可以吗?
免费虚拟空间 免费域名申请 免费com域名申请 krypt 美国主机排名 华为云服务 linode日本 500m空间 河南服务器 e蜗牛 ca4249 中国电信测速112 jsp空间 网游服务器 阿里云官方网站 linode支付宝 免费ftp lamp兄弟连 免备案jsp空间 葫芦机 更多