From 87665bac37c752b681b6fb76e00bde4cdcd8b6ff Mon Sep 17 00:00:00 2001 From: Aleksei Vereshchagin Date: Fri, 6 Apr 2018 14:38:54 +0300 Subject: [PATCH] Update README.md --- README.md | 399 +++++++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 350 insertions(+), 49 deletions(-) diff --git a/README.md b/README.md index 4c05c0c..b1d9335 100644 --- a/README.md +++ b/README.md @@ -1,49 +1,350 @@ -## Tizen Profiler for CoreCLR - -This project provdes profiler facility for CoreCLR. It is an implementation of ICorProfilerCallback3 interface. -Currently tested on ARM, x86-64 and i586 platforms. - -## Prerequisites -In oder to build cross platform CoreCLR on Ubuntu 14.0 one need to follow prerequisites instructions on CoreCLR site: -https://github.com/dotnet/coreclr/blob/master/Documentation/building/linux-instructions.md - -## Build -The profiler loadable module (libcoreprof.so) is built with gbs. - -## Use -In order to obtain sampling information the Lttng (the same version as in coreclr cross rootfs) should be installed on target. - -$ CORECLR_PROFILER={101DA8FE-FDCA-4D0E-9712-7639CDE48EBA} CORECLR_ENABLE_PROFILING=1 CORECLR_PROFILER_PATH=./libcoreprof.so PROF_EXECUTION_TRACE=1 PROF_COLLECT_METHOD=Sampling PROF_LINE_TRACE=1 PROF_TRACE_FILENAME=trace.log ./corerun Program.exe - -### Options -1. PROF_EXECUTION_TRACE=1 – turns tracing on - a. PROF_COLLECT_METHOD= – set the trace mode - i. Instrumentation - trace all ELT events (instrumentation) - ii. Sampling – aggregate ELT events into samples (stack snapshots, sampling) - 1. PROF_SAMPLING_TIMEOUT=