Application Tracing on Virtualized Firefox OS Platforms

碩士 === 國立臺灣大學 === 資訊工程學研究所 === 102 === On a modern mobile device, the performance of a complex application may depend on a combination of several factors including operating system events, I/O devices and the application itself. Profiling and program analysis tools can help developers observe the be...

Full description

Bibliographic Details
Main Authors: Sheng-Lung Liu, 劉昇龍
Other Authors: Shih-Hao Hung
Format: Others
Language:en_US
Published: 2014
Online Access:http://ndltd.ncl.edu.tw/handle/05468867562627913826
id ndltd-TW-102NTU05392047
record_format oai_dc
spelling ndltd-TW-102NTU053920472016-03-09T04:24:06Z http://ndltd.ncl.edu.tw/handle/05468867562627913826 Application Tracing on Virtualized Firefox OS Platforms 在虛擬化的Firefox OS平台之應用程式追蹤 Sheng-Lung Liu 劉昇龍 碩士 國立臺灣大學 資訊工程學研究所 102 On a modern mobile device, the performance of a complex application may depend on a combination of several factors including operating system events, I/O devices and the application itself. Profiling and program analysis tools can help developers observe the behavior of an application. However, doing a system-wide execution profile is difficult for traditional profiling tools as it requires an integrated analysis of both kernel space and user space activities. The complexity of program analysis is even higher if application execution involves middleware like JavaScript engine or virtual machines. In this thesis, we describe an innovative static instrumentation and dynamic trigger method, called Smart Event Tracer(SET) Annotation, which is based on our previous work VPA. SET Annotation enables the users not only collect a complete trace of system activities and performance data but also collect the user-defined events with a little instrumentation overhead. User can insert SET Annotation into C/C++ program which is a popular programming language of developing middleware for JavaScript applications to get more profiling data. We integrate the SET Annotation framework into the Firefox OS emulator to collect JavaScript functions information for profiling web-applications. Comparing to the Firefox OS build-in profiler, our framework can monitor application behavior more realistically and provide more information. The experimental results show that the instrusiveness with SET Annotation is very light weight and much smaller than a general way. Shih-Hao Hung 洪士灝 2014 學位論文 ; thesis 31 en_US
collection NDLTD
language en_US
format Others
sources NDLTD
description 碩士 === 國立臺灣大學 === 資訊工程學研究所 === 102 === On a modern mobile device, the performance of a complex application may depend on a combination of several factors including operating system events, I/O devices and the application itself. Profiling and program analysis tools can help developers observe the behavior of an application. However, doing a system-wide execution profile is difficult for traditional profiling tools as it requires an integrated analysis of both kernel space and user space activities. The complexity of program analysis is even higher if application execution involves middleware like JavaScript engine or virtual machines. In this thesis, we describe an innovative static instrumentation and dynamic trigger method, called Smart Event Tracer(SET) Annotation, which is based on our previous work VPA. SET Annotation enables the users not only collect a complete trace of system activities and performance data but also collect the user-defined events with a little instrumentation overhead. User can insert SET Annotation into C/C++ program which is a popular programming language of developing middleware for JavaScript applications to get more profiling data. We integrate the SET Annotation framework into the Firefox OS emulator to collect JavaScript functions information for profiling web-applications. Comparing to the Firefox OS build-in profiler, our framework can monitor application behavior more realistically and provide more information. The experimental results show that the instrusiveness with SET Annotation is very light weight and much smaller than a general way.
author2 Shih-Hao Hung
author_facet Shih-Hao Hung
Sheng-Lung Liu
劉昇龍
author Sheng-Lung Liu
劉昇龍
spellingShingle Sheng-Lung Liu
劉昇龍
Application Tracing on Virtualized Firefox OS Platforms
author_sort Sheng-Lung Liu
title Application Tracing on Virtualized Firefox OS Platforms
title_short Application Tracing on Virtualized Firefox OS Platforms
title_full Application Tracing on Virtualized Firefox OS Platforms
title_fullStr Application Tracing on Virtualized Firefox OS Platforms
title_full_unstemmed Application Tracing on Virtualized Firefox OS Platforms
title_sort application tracing on virtualized firefox os platforms
publishDate 2014
url http://ndltd.ncl.edu.tw/handle/05468867562627913826
work_keys_str_mv AT shenglungliu applicationtracingonvirtualizedfirefoxosplatforms
AT liúshēnglóng applicationtracingonvirtualizedfirefoxosplatforms
AT shenglungliu zàixūnǐhuàdefirefoxospíngtáizhīyīngyòngchéngshìzhuīzōng
AT liúshēnglóng zàixūnǐhuàdefirefoxospíngtáizhīyīngyòngchéngshìzhuīzōng
_version_ 1718200288665403392