Skip to content
Peace Lee edited this page Nov 14, 2016 · 81 revisions

Welcome to guider wiki!

  • What is guider?
Are you struggle to improve system performance or to find root cause that makes system abnormal?   
Guider is made to measure system resource usage and to give user hints to improve system performance.   
You can profile resource usage of thread, process, function with this tool.   

Guider pursues three characteristics.
1. easy to use: just run without install or setting
2. measure correct: measure time in ms and size in MB/KB
3. integrate functions: show cpu / memory / disk usage per thread / process / function (user/kernel)
  • How to use
  • Options
[mode]
        [thread]  
    top [top]  
    -y  [system]  
    -f  [function]  
    -F  [file]  

[record|top]  
    -e  [enable_optionsPerMode:bellowCharacters]  
          [top] {t(hread)|d(isk)}  
          [function] {m(em)|b(lock)|h(eap)|p(ipe)}  
          [thread] {m(em)|b(lock)|i(rq)|p(ipe)|r(eset)|g(raph)|f(utex)}  
    -d  [disable_optionsPerMode:bellowCharacters]  
          [function] {c(pu)|u(user)}  
    -s  [save_traceData:dir/file]  
    -S  [sort_output:c(pu)/m(em)/b(lock)/w(fc)]  
    -u  [run_inBackground]  
    -W  [wait_forSignal]  
    -R  [record_repeatedly:interval,count]  
    -b  [set_bufferSize:kb]  
    -D  [trace_threadDependency]  
    -t  [trace_syscall:syscalls]  

[analysis]  
    -o  [save_outputData:dir]  
    -a  [show_allInfo]  
    -i  [set_interval:sec]  
    -p  [show_preemptInfo:tids]  
    -l  [input_addr2linePath:file]  
    -r  [input_targetRootPath:dir]  
    -q  [make_taskchain]

[common]  
    -g  [filter_specificGroup:comms|tids]  
    -A  [set_arch:arm|x86|x64]  
    -c  [set_customEvent:event:filter]  
    -v  [verbose]  
  • Mode

    1. Thread mode guider_main + Interval Info guider_interval + Graph Info guider_graph + IRQ Info guider_irq + Syscall Info guider_syscall + Module Info guider_module + Creation Info guider_creation + Preemption Info guider_preempt + Signal Info guider_signal + Dependency Info guider_dependency

    2. Function mode guider_func_thread + CPU Info guider_func_cpu + Mem Info guider_func_mem + Heap Info

    +  Block Info
        ![guider_func_block](https://cloud.githubusercontent.com/assets/15862689/20256056/7bf12696-aa84-11e6-9ee5-6bed7244f030.jpg)
    
    1. Top mode guider_top

    2. File mode guider_fileprofiler

    3. System mode guider_system

Clone this wiki locally