Linux Strace tool user guide

Size: px
Start display at page:

Download "Linux Strace tool user guide"

Transcription

1 Linux Strace tool user guide

2 Reversion Record Date Rev Change Description Author V0.1 Initial Zhang Yongchang 1 / 9

3 catalog 1 PURPOSE TERMINOLOGY ENVIRONMENT HARDWARE PLATFORM SOFTWARE PLATFORM INSTALL GUIDE DOWNLOAD THE STRACE ENVIRONMENT PREPARED COMPILE STRACE USE GUIDE SIMPLE EXAMPLE Trace system call Trace signal STATISTICAL SYSTEM CALL OTHER OPTIONS DESCRIPTION TRACE A EXIST PROCESS / 9

4 Figure index Figure 1 trace system call...6 Figure 2 trace signal (1)...7 Figure 3 trace signal (2)...8 Figure 4 statistical system call / 9

5 1 Purpose This guide help user install the strace on ARM, and show how to use Strace to intercept and record the system calls. 2 Terminology strace: strace is a diagnostic, debugging and instructional user space utility for Linux. It is used to monitor and tamper with interactions between processes and the Linux kernel, which include system calls, signal deliveries, and changes of process state. The operation of strace is made possible by the kernel feature known as ptrace. 3 Environment 3.1 Hardware Platform SOC: Rockchip RK3399 GPU: Mali T864 (800MHz) CPU: Dual-core Cortex-A72 up to 2.0GHz (real frequency is 1.8GHz) Quad-core Cortex-A53 up to 1.5GHz (real frequency is 1.4GHz) 3.2 Software Platform OS: Ubuntu (32bit) 4 Install Guide 4.1 Download the strace wget tar -xvf strace-4.19.tar.xz cd ~/ mkdir -p build-starce To assume the code directory: strace source code:~/strace-4.19 strace build:~/build-strace 4 / 9

6 4.2 Environment Prepared sudo apt-get install flex bison libelf-dev libaudit-dev libdw-dev libunwind-dev python-dev sudo apt-get install libnuma-dev libunwind8 libunwind8-dev sudo apt-get install libslang2 libslang2-dev sudo apt-get install binutils-multiarch-dev elfutils libiberty-dev sudo apt-get install gcc-arm-linux-gnueabihf 4.3 Compile Strace cd ~/build-strace CC=arm-linux-gnueabihf-gcc LD=arm-linux-gnueabifh-ld RANLIB=arm-linux-gnueabihf-ranlib../strace- 4.19/configure --host=arm-linux --target=arm-linux --prefix=/usr/ make j4 sudo make install If your system is 64bit, you should specific --target=aarch64-linux, --host=aarch64-linux. 5 Use Guide 5.1 Simple example Create a test file test.c: #include <stdio.h> int main() { } int num = 0; printf( Please input number: ); scanf( %d, &num); printf( %09d\n, num); return 0; Compile test: 5 / 9

7 gcc o test test.c Trace system call From the output we can know: Figure 1 trace system call 1. The system calls the exec to start a new process, then to prepare the environment. 2. Pause at "read (0,", and wait for input the number. 6 / 9

8 3. Input the number 99, the writer function output \n to the screen. 4. Call exit_group() to complete the entire process Trace signal Figure 2 trace signal (1) Now, we don t input anything, it block at the read function. Start a new terminal: killall test And you can see the strace output: 7 / 9

9 Figure 3 trace signal (2) The test process receives the SIFTERM signal, it will be terminated. 5.2 Statistical system call Strace can count times, calls and errors for the system call, and report a summary. 5.3 Other Options description Please read Strace command manual Figure 4 statistical system call man strace 5.4 Trace a exist process Attach to the process with the process ID pid and begin tracing. The trace may be terminated at any time by a keyboard interrupt signal (CTRL-C). Strace will respond by detaching itself from the traced process(es) leaving it (them) to continue running. Multiple -p options can be used to attach to many processes in addition to command (which is optional if at least one -p option is given). -p "`pidof PROG`" syntax is supported. 8 / 9

10 strace p pid 9 / 9

Kernel perf tool user guide

Kernel perf tool user guide Kernel perf tool user guide 2017-10-16 Reversion Record Date Rev Change Description Author 2017-10-16 V0.1 Inital Zhang Yongchang 1 / 10 catalog 1 PURPOSE...4 2 TERMINOLOGY...4 3 ENVIRONMENT...4 3.1 HARDWARE

More information

Rover Documentation Tracing with Perf, Conversion to CTF, and analysis with TraceCompass

Rover Documentation Tracing with Perf, Conversion to CTF, and analysis with TraceCompass Rover Documentation Tracing with Perf, Conversion to CTF, and analysis with TraceCompass Version Implementation Supervision & revision June 7, 207 Mustafa O zceliko rs Robert Ho ttger mozcelikors@gmail.com

More information

TensorFlow-HRT. User Manual

TensorFlow-HRT. User Manual TensorFlow-HRT User Manual 2017-12-25 Reversion Record Date Rev Change Description Author 2017-12-25 0.1.0 Initial Yuming Cheng Yu Wang 2018-02-08 0.1.1 Add Alexnet test Yuming Cheng 1 / 12 catalog 1 PURPOSE...3

More information

MAGPIE Installation Guide (version 1.0)

MAGPIE Installation Guide (version 1.0) MAGPIE Installation Guide (version 1.0) June 2017 Authors: Sophiane Senni, Pierre-Yves Péneau, Abdoulaye Gamatié 1 Contents 1 About this guide 3 2 Framework installation 4 2.1 Dependencies...................................

More information

Zephyr Kernel Installation & Setup Manual

Zephyr Kernel Installation & Setup Manual Zephyr Kernel Installation & Setup Manual Zephyr kernel is a small footprint Single address space OS, i.e, it combines application specific code with a custom kernel to create a monolithic image that gets

More information

Fosdem perf status on ARM and ARM64

Fosdem perf status on ARM and ARM64 Fosdem 2015 perf status on ARM and ARM64 jean.pihet@newoldbits.com 1 Contents Introduction Scope of the presentation Supported tools Call stack unwinding General Methods Corner cases ARM and ARM64 support

More information

Final Step #7. Memory mapping For Sunday 15/05 23h59

Final Step #7. Memory mapping For Sunday 15/05 23h59 Final Step #7 Memory mapping For Sunday 15/05 23h59 Remove the packet content print in the rx_handler rx_handler shall not print the first X bytes of the packet anymore nor any per-packet message This

More information

Creating a system call in Linux. Tushar B. Kute,

Creating a system call in Linux. Tushar B. Kute, Creating a system call in Linux Tushar B. Kute, http://tusharkute.com x86 Protection Rings Privileged instructions Can be executed only When current privileged Level (CPL) is 0 Operating system kernel

More information

PERF performance-counter for Odroid XU3/XU4

PERF performance-counter for Odroid XU3/XU4 2017/12/07 21:49 1/6 PERF performance-counter for Odroid XU3/XU4 PERF performance-counter for Odroid XU3/XU4 Linux hardware performance measurement using counters, trace-points, software performance counters,

More information

Lab2 - Bootloader. Conventions. Department of Computer Science and Information Engineering National Taiwan University

Lab2 - Bootloader. Conventions. Department of Computer Science and Information Engineering National Taiwan University Lab2 - Bootloader 1 / 20 Cross-compile U-Boot. Connect to Raspberry Pi via an USB-TTL cable. Boot Raspberry Pi via U-Boot. 2 / 20 Host Machine OS: Windows Target Machine Raspberry Pi (2 or 3) Build Machine

More information

Introduction to Linux. Woo-Yeong Jeong Computer Systems Laboratory Sungkyunkwan University

Introduction to Linux. Woo-Yeong Jeong Computer Systems Laboratory Sungkyunkwan University Introduction to Linux Woo-Yeong Jeong (wooyeong@csl.skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu What is Linux? A Unix-like operating system of a computer What is an

More information

WES 237A Project Part 1 Guide

WES 237A Project Part 1 Guide WES 237A Project Part 1 Guide A. Environment Setup Guide Goals The purpose of this document is to prepare your development machine for the project by: 1. Installing any missing, required tools 2. Setting

More information

Cubieboard4 Linux Sdk Guide TF BOOT & TF WRITE EMMC. Website: Support:

Cubieboard4 Linux Sdk Guide TF BOOT & TF WRITE EMMC. Website:  Support: Cubieboard4 Linux Sdk Guide TF BOOT & TF WRITE EMMC Website:http://cubieboard.org/ Support: support@cubietech.com Version Author Modification Check V-0.1-20141226 A.K Init version V-1.0-20150113 A.K Release

More information

Build Ubuntu System on Rockchip Sapphire Excavator Board

Build Ubuntu System on Rockchip Sapphire Excavator Board Build Ubuntu System on Rockchip Sapphire Excavator Board 2017-10-10 Reversion Record Date Rev Change Description Author Guohuijiang 2017-10-10 V0.10 Init draft Zhangyangchang 2017-10-13 V0.20 Release Haibing

More information

Embedded System Design

Embedded System Design Embedded System Design Term Project Porting(v1.04) Jaeyong Chung SoC Laboratory Incheon National University Porting The reason why you install an OS on your embedded system is not only to do multi-tasking

More information

1. Install a Virtual Machine Download Ubuntu Create a New Virtual Machine Seamless Operation between Windows an Linux...

1. Install a Virtual Machine Download Ubuntu Create a New Virtual Machine Seamless Operation between Windows an Linux... Introduction APPLICATION NOTE The purpose of this document is to explain how to create a Virtual Machine on a Windows PC such that a Linux environment can be created in order to build a Linux kernel and

More information

Introduction to Linux

Introduction to Linux Introduction to Linux Prof. Jin-Soo Kim( jinsookim@skku.edu) TA - Dong-Yun Lee (dylee@csl.skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu What is Linux? A Unix-like operating

More information

NanoPi K2. Introduction. Hardware Spec

NanoPi K2. Introduction. Hardware Spec NanoPi K2 wiki.friendlyarm.com/wiki/index.php/nanopi_k2 Introduction FriendlyElec's NanoPi K2 uses Amlogic's 64-bit quad-core A53 S905 SoC. This SoC has an internal Mali450 GPU. S905's dynamic frequency

More information

OSELAS.Support OSELAS.Training OSELAS.Development OSELAS.Services

OSELAS.Support OSELAS.Training OSELAS.Development OSELAS.Services OSELAS.Support OSELAS.Training OSELAS.Development OSELAS.Services Application Note Building OSELAS.Toolchains() Before we can start building our first userland we need a cross toolchain. On Linux, toolchains

More information

Embedded Systems Programming

Embedded Systems Programming Embedded Systems Programming OS Linux - Toolchain Iwona Kochańska Gdansk University of Technology Embedded software Toolchain compiler and tools for hardwaredependent software developement Bootloader initializes

More information

Development Environment Embedded Linux Primer Ch 1&2

Development Environment Embedded Linux Primer Ch 1&2 Development Environment Embedded Linux Primer Ch 1&2 Topics 1) Systems: Host and Target 2) Host setup 3) Host-Target communication CMPT 433 Slides #3 Dr. B. Fraser 18-05-05 2 18-05-05 1 Host & Target Host

More information

Saint Louis University. Intro to Linux and C. CSCI 2400/ ECE 3217: Computer Architecture. Instructors: David Ferry

Saint Louis University. Intro to Linux and C. CSCI 2400/ ECE 3217: Computer Architecture. Instructors: David Ferry Intro to Linux and C CSCI 2400/ ECE 3217: Computer Architecture Instructors: David Ferry 1 Overview Linux C Hello program in C Compiling 2 History of Linux Way back in the day: Bell Labs Unix Widely available

More information

Multicore Programming Handout 1: Installing GCC Cilk Plus

Multicore Programming Handout 1: Installing GCC Cilk Plus Multicore Programming Handout 1: Installing GCC Cilk Plus Leo Ferres Department of Computer Science Universidad de Concepción Email: lferres@inf.udec.cl February 19, 2013 1 Introduction For our lab work,

More information

Lecture 1. A. Sahu and S. V. Rao. Indian Institute of Technology Guwahati

Lecture 1. A. Sahu and S. V. Rao. Indian Institute of Technology Guwahati Lecture 1 Introduction to Computing A. Sahu and S. V. Rao Dept of Comp. Sc. & Engg. Indian Institute of Technology Guwahati 1 Outline Computer System Problem Solving and Flow Chart Linux Command ls, mkdir,

More information

Arm cross development tools

Arm cross development tools Arm cross development tools slide 1 the GNU C compiler, binutils and glibc can be configured to target the arm series of microprocessors Raspberry Pi uses an arm11 processor processor runs at 700Mhz cross

More information

AMCAT Automata Coding Sample Questions And Answers

AMCAT Automata Coding Sample Questions And Answers 1) Find the syntax error in the below code without modifying the logic. #include int main() float x = 1.1; switch (x) case 1: printf( Choice is 1 ); default: printf( Invalid choice ); return

More information

COMP s1 Lecture 1

COMP s1 Lecture 1 COMP1511 18s1 Lecture 1 1 Numbers In, Numbers Out Andrew Bennett more printf variables scanf 2 Before we begin introduce yourself to the person sitting next to you why did

More information

Introduction to Linux

Introduction to Linux Introduction to Linux Prof. Jin-Soo Kim( jinsookim@skku.edu) TA - Kisik Jeong (kisik@csl.skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu What is Linux? A Unix-like operating

More information

Freescale Semiconductor gcc linaro toolchain, Rev

Freescale Semiconductor gcc linaro toolchain, Rev ABOUT GCC LINARO 4.6.2 MULTILIB TOOLCHAIN 1 What s new... 2 2 What s inside... 2 3 How to use... 3 3.1 gcc... 3 3.2 Application debug tools... 5 4 Appendix... 6 4.1 Toolchain test result... 6 4.1.1 Test

More information

Cross Compiling. Real Time Operating Systems and Middleware. Luca Abeni

Cross Compiling. Real Time Operating Systems and Middleware. Luca Abeni Cross Compiling Real Time Operating Systems and Middleware Luca Abeni luca.abeni@unitn.it The Kernel Kernel OS component interacting with hardware Runs in privileged mode (Kernel Space KS) User Level Kernel

More information

Linux Everywhere. A look at Linux outside the world of desktops. CIS 191 Spring 2012 Guest Lecture by Philip Peng

Linux Everywhere. A look at Linux outside the world of desktops. CIS 191 Spring 2012 Guest Lecture by Philip Peng Linux Everywhere A look at Linux outside the world of desktops CIS 191 Spring 2012 Guest Lecture by Philip Peng Lecture Outline 1. Introduction 2. Different Platforms 3. Reasons for Linux 4. Cross-compiling

More information

The code in src/wf_example illustrates the use of WFI or WFE calls that put the calling ARM core into clock gating mode to save power.

The code in src/wf_example illustrates the use of WFI or WFE calls that put the calling ARM core into clock gating mode to save power. Introduction The code in src/wf_example illustrates the use of WFI or WFE calls that put the calling ARM core into clock gating mode to save power. This project makes use of the "Sparrow" baremetal/amp

More information

Lab11 - Bare Metal Programming. Department of Computer Science and Information Engineering National Taiwan University

Lab11 - Bare Metal Programming. Department of Computer Science and Information Engineering National Taiwan University Lab11 - Bare Metal Programming 1 / 16 Understand the process of OS development Write a minimal kernel for RPi 2 2 / 16 Host System Windows Build System Ubuntu 15.10 (or above) 64-bit Target System Raspberry

More information

W4118: interrupt and system call. Junfeng Yang

W4118: interrupt and system call. Junfeng Yang W4118: interrupt and system call Junfeng Yang Outline Motivation for protection Interrupt System call 2 Need for protection Kernel privileged, cannot trust user processes User processes may be malicious

More information

Lab6 GDB debugging. Conventions. Department of Computer Science and Information Engineering National Taiwan University

Lab6 GDB debugging. Conventions. Department of Computer Science and Information Engineering National Taiwan University Lab6 GDB debugging 1 / 15 Learn how to perform source-level debugging with GDB. 2 / 15 Host Machine OS: Windows Target Machine Raspberry Pi (2 or 3) Build Machine A computer with a SD card slot OS: Ubuntu

More information

Embedded Linux. A Tour inside ARM's Kernel

Embedded Linux. A Tour inside ARM's Kernel Embedded Linux A Tour inside ARM's Kernel Contents 1. Shell basics 2. Introduction to Embedded Linux 3. Kernel Programming for Module / Driver Installation 4. Module / Device Driver in RPi 5. Cross Compiling

More information

Quick Start Guide for BeagleBone. Table of Contents. by Brian Fraser Last update: Sept 24, 2017

Quick Start Guide for BeagleBone. Table of Contents. by Brian Fraser Last update: Sept 24, 2017 Quick Start Guide for BeagleBone by Brian Fraser Last update: Sept 24, 2017 This document guides the user through: 1. Installing Ubuntu in a virtual machine. 2. Connecting to the target using serial port

More information

TEMU installation and user manual

TEMU installation and user manual TEMU installation and user manual BitBlaze Team Nov 5th, 2009: Release 1.0 and Ubuntu 9.04 Contents 1 Introduction 1 2 Installation 1 3 Configuring a new VM 2 4 Setting up TEMU network 4 5 Taking traces

More information

Operating System Labs. Yuanbin Wu

Operating System Labs. Yuanbin Wu Operating System Labs Yuanbin Wu cs@ecnu Operating System Labs Introduction to Unix (*nix) Course Overview Operating System Labs Introduction to Unix (*nix) Course Overview Unix / *nix What An familiy

More information

Lex & Yacc (GNU distribution - flex & bison) Jeonghwan Park

Lex & Yacc (GNU distribution - flex & bison) Jeonghwan Park Lex & Yacc (GNU distribution - flex & bison) Jeonghwan Park Prerequisite Ubuntu Version 14.04 or over Virtual machine for Windows user or native OS flex bison gcc Version 4.7 or over Install in Ubuntu

More information

Tool installation for PMC-MC-X2/X4 with P2020 series processor

Tool installation for PMC-MC-X2/X4 with P2020 series processor DYNAMIC ENGINEERING 150 DuBois, Suite C Santa Cruz, CA 95060 (831) 457-8891 Fax (831) 457-4793 http://www.dyneng.com sales@dyneng.com Est. 1988 Tool installation for PMC-MC-X2/X4 with P2020 series processor

More information

How to cross compile with LLVM based tools. Peter Smith, Linaro

How to cross compile with LLVM based tools. Peter Smith, Linaro How to cross compile with LLVM based tools Peter Smith, Linaro Introduction and assumptions What we are covering Today About me What is cross compilation? How does cross compilation work with Clang and

More information

Operating System System Call & Debugging Technique

Operating System System Call & Debugging Technique 1 Operating System System Call & Debugging Technique 진주영 jjysienna@gmail.com System Call 2 A way for user-space programs to interact with the kernel System Call enables application programs in user-mode

More information

3/13/2012. ESc101: Introduction to Computers and Programming Languages

3/13/2012. ESc101: Introduction to Computers and Programming Languages ESc101: Introduction to Computers and Programming Languages Instructor: Krithika Venkataramani Semester 2, 2011-2012 The content of these slides is taken from previous course lectures of Prof. R. K. Ghosh,

More information

Operating System Labs. Yuanbin Wu

Operating System Labs. Yuanbin Wu Operating System Labs Yuanbin Wu cs@ecnu Operating System Labs Introduction to Unix (*nix) Course Overview Operating System Labs Introduction to Unix (*nix) Course Overview Unix / *nix What A family of

More information

E. Annex. Rules and conventions used for the project. v The µkos package

E. Annex. Rules and conventions used for the project. v The µkos package v 13.28 E.1. Rules and conventions used for the project E. Annex In order to have and to maintain a coherency along all the µkos project, the following rules for writing software have been used. NULL =

More information

Programming and Data Structure Laboratory (CS13002)

Programming and Data Structure Laboratory (CS13002) Programming and Data Structure Laboratory (CS13002) Dr. Sudeshna Sarkar Dr. Indranil Sengupta Dept. of Computer Science & Engg., IIT Kharagpur 1 Some Rules to be Followed Attendance is mandatory. Regular

More information

Install and Configure wxwidgets on Ubuntu

Install and Configure wxwidgets on Ubuntu Install and Configure wxwidgets on Ubuntu Ronald Mak Department of Computer Engineering Department of Computer Science January 12, 2019 Introduction wxwidgets is a C++ library that allows you to develop

More information

DEVELOPMENT GUIDE VAB-630. Linux BSP v

DEVELOPMENT GUIDE VAB-630. Linux BSP v DEVELOPMENT GUIDE VAB-630 Linux BSP v1.0.1 100-09182017-114400 Copyright Copyright 2017 VIA Technologies Incorporated. All rights reserved. No part of this document may be reproduced, transmitted, transcribed,

More information

Introduction to gem5. Nizamudheen Ahmed Texas Instruments

Introduction to gem5. Nizamudheen Ahmed Texas Instruments Introduction to gem5 Nizamudheen Ahmed Texas Instruments 1 Introduction A full-system computer architecture simulator Open source tool focused on architectural modeling BSD license Encompasses system-level

More information

EECS Software Tools. Lab 2 Tutorial: Introduction to UNIX/Linux. Tilemachos Pechlivanoglou

EECS Software Tools. Lab 2 Tutorial: Introduction to UNIX/Linux. Tilemachos Pechlivanoglou EECS 2031 - Software Tools Lab 2 Tutorial: Introduction to UNIX/Linux Tilemachos Pechlivanoglou (tipech@eecs.yorku.ca) Sep 22 & 25, 2017 Material marked with will be in your exams Sep 22 & 25, 2017 Introduction

More information

Porting Linux to a New Architecture

Porting Linux to a New Architecture Embedded Linux Conference Europe 2014 Porting Linux to a New Architecture Marta Rybczyńska October 15, 2014 Different Types of Porting New board New processor from existing family New architecture 2 New

More information

Operating Systems. System calls. Guillaume Salagnac. Fall Insa-Lyon IST Semester

Operating Systems. System calls. Guillaume Salagnac. Fall Insa-Lyon IST Semester Operating Systems System calls Guillaume Salagnac Insa-Lyon IST Semester Fall 2018 2/36 Previously on IST-OPS Application 1 Application 2 OS Kernel Hardware The CPU implements the Von Neumann cycle executes

More information

2 Setting up the RDMA Framework for Development

2 Setting up the RDMA Framework for Development Spring Term 2015 ADVANCED COMPUTER NETWORKS Project P1: Introduction to RDMA Programming Assigned on: 16 April 2015 Due by: 29 April 2015, 23:59 1 Introduction The goal of this project is to give an introduction

More information

Building Tizen Development Environment

Building Tizen Development Environment Building Tizen Development Environment Minsoo Ryu Real-Time Computing and Communications Lab. Hanyang University msryu@hanyang.ac.kr Tizen 2.3 Development Environment Target hardware device Tizen Reference

More information

Raspberry Pi Introduction

Raspberry Pi Introduction ECE 1160/2160 Embedded Systems Design Raspberry Pi Introduction Wei Gao ECE 1160/2160 Embedded Systems Design 1 Raspberry Pi Classic embedded computer Single board computer Size of a credit card ECE 1160/2160

More information

Porting Linux to a New Architecture

Porting Linux to a New Architecture Embedded Linux Conference 2014 Porting Linux to a New Architecture Marta Rybczyńska May 1 st, 2014 Different Types of Porting New board New processor from existing family New architecture 2010-2014 Kalray

More information

The distcc Utility for Remote Compiling

The distcc Utility for Remote Compiling The distcc Utility for Remote Compiling Fall 2017 Department of Mechanical Engineering, CSAIL MIT, Cambridge MA 02139 1 The distcc Utility for Remote Compiling 1 1.1 Raspberry Pi Setup.........................................

More information

ROC-RK3328-CC Product Specifications

ROC-RK3328-CC Product Specifications ROC-RK3328-CC Product Specifications Author T-chip Intelligent Technology Co.,Ltd. Version V1.0 Date 2018-06-23 Version Date Updated content V1.0 2018-06-23 Original version - 1 - Directory 1. Product

More information

Molecular Forecaster Inc. Forecaster 1.2 Server Installation Guide

Molecular Forecaster Inc. Forecaster 1.2 Server Installation Guide Molecular Forecaster Inc. Forecaster 1.2 Server Installation Guide 13 June 2014 CONTENTS Windows... 4 Linux... 4 Installation Procedures... 4 Windows Installation... 4 Linux portable Installation... 5

More information

Linux. For BCT RE2G2. User Guide. Document Reference: BCTRE2G2 Linux User Guide. Document Issue: Associated SDK release: 1.

Linux. For BCT RE2G2. User Guide. Document Reference: BCTRE2G2 Linux User Guide. Document Issue: Associated SDK release: 1. Linux For BCT RE2G2 User Guide Document Reference: BCTRE2G2 Linux User Guide Document Issue: 1.05 Associated SDK release: 1.04 Author: D Robinson Contents Introduction... 3 Environment Setup... 3 Required

More information

CPE 101. Overview. Programming vs. Cooking. Key Definitions/Concepts B-1

CPE 101. Overview. Programming vs. Cooking. Key Definitions/Concepts B-1 CPE 101 Lecture 2: Problems, Algorithms, and Programs (Slides adapted from a UW course, copyrighted and used by permission) Overview High-level survey Problems, algorithms, and programs Problem solving

More information

1. Overview Prebuilt GDB from Linaro Toolchain Build GDB using Buildroot (Optional) Build GDB from Source (Optional)...

1. Overview Prebuilt GDB from Linaro Toolchain Build GDB using Buildroot (Optional) Build GDB from Source (Optional)... Introduction APPLICATION NOTE EU_00xxx Rev.1.20 The purpose of this document is to explain how to build GDB from source and debug u-boot and the Linux kernel with a Segger J-Link as the JTAG interface.

More information

Setting up PostgreSQL

Setting up PostgreSQL Setting up PostgreSQL 1 Introduction to PostgreSQL PostgreSQL is an object-relational database management system based on POSTGRES, which was developed at the University of California at Berkeley. PostgreSQL

More information

To Install and Run NCS6

To Install and Run NCS6 To Install and Run NCS6 -Instructions using Linux OS Required Packages: Install before running NCS6 cuda ( CUDA 4.0 ) Use the link below as reference for CUDA installation: http://sn0v.wordpress.com/2012/05/11/installing-cuda-on-ubuntu-12-04/

More information

Linux ftrace, , Android Systrace. Android [2][3]. Linux ftrace. Linux. Intel VTune[6] perf timechart[7]. ,, GPU Intel. .

Linux ftrace, , Android Systrace. Android [2][3]. Linux ftrace. Linux. Intel VTune[6] perf timechart[7]. ,, GPU Intel. . Linux ftrace 1 1 1 Dominic Hillenbrand 1 1 1,.,,.,., Linux ftrace., Intel Xeon X7560, ARMv7 equake, art, mpeg2enc OS., 1 Intel Xeon 1.07[us], ARM 4.44[us]., Linux, ftrace, 1...,.,,,., [1].,.,. 1 Waseda

More information

Introduction to Pintos. Jin-Soo Kim Computer Systems Laboratory Sungkyunkwan University

Introduction to Pintos. Jin-Soo Kim Computer Systems Laboratory Sungkyunkwan University Introduction to Pintos Jin-Soo Kim (jinsookim@skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu Welcome to Pintos! What is Pintos? An instructional operating system Developed

More information

An introduction of operating system project. Seo Bon Keun

An introduction of operating system project. Seo Bon Keun An introduction of operating system project Seo Bon Keun Content Linux introduction Running Linux Developing Kernel Useful Tools Project 0 Project Policy 2 /24 Operating system What is an operating system?

More information

TrinityCore Documentation

TrinityCore Documentation TrinityCore Documentation Release TrinityCore Developers February 21, 2016 Contents 1 Compiling TrinityCore 3 1.1 Requirements............................................... 3 1.2 Build Environment............................................

More information

TUTORIAL: Quickstart with freediameter

TUTORIAL: Quickstart with freediameter 38 TUTORIAL: Quickstart with freediameter How to compile and run freediameter in a simple testbed. Tutorial: Creating a fd testbed 39 Goal : create a simple testbed Two nodes: one client, one server Run

More information

pcduino V3B XC4350 User Manual

pcduino V3B XC4350 User Manual pcduino V3B XC4350 User Manual 1 User Manual Contents Board Overview...2 System Features...3 Single-Board Computer Configuration......3 Pin Assignments...4 Single-Board Computer Setup...6 Required Hardware...6

More information

Fall 2015 COMP Operating Systems. Lab #3

Fall 2015 COMP Operating Systems. Lab #3 Fall 2015 COMP 3511 Operating Systems Lab #3 Outline n Operating System Debugging, Generation and System Boot n Review Questions n Process Control n UNIX fork() and Examples on fork() n exec family: execute

More information

Idea6410 Ubuntu User Manual V 0.19

Idea6410 Ubuntu User Manual V 0.19 V 0.19 Version: Ubuntu-9.04_v0.19 Linux PC environment: Ubuntu-9.04 1 1. Install Cross-compile 1.1 Open Linux-ubuntu_v0.19\cross_compile\ folder, and copy Arm-none-lunux-gnueabi-arm-2008q3-72-for-linux.tar.bz2

More information

Loops / Repetition Statements. There are three loop constructs in C. Example 2: Grade of several students. Example 1: Fixing Bad Keyboard Input

Loops / Repetition Statements. There are three loop constructs in C. Example 2: Grade of several students. Example 1: Fixing Bad Keyboard Input Loops / Repetition Statements Repetition s allow us to execute a multiple times Often they are referred to as loops C has three kinds of repetition s: the while loop the for loop the do loop The programmer

More information

CS4023 Week04 Lab Exercise

CS4023 Week04 Lab Exercise CS4023 Week04 Lab Exercise Lab Objective: We will use this lab to log in to our Linux accounts and to look at some simple programs that perform a few elementary system calls. By the end of the lab we will

More information

Introduction to Pintos

Introduction to Pintos Introduction to Pintos Prof. Jin-Soo Kim ( jinsookim@skku.edu) TAs Jong-Sung Lee (leitia@csl.skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu Welcome to Pintos! What is

More information

DEVELOPMENT GUIDE AMOS-820. Linux BSP v

DEVELOPMENT GUIDE AMOS-820. Linux BSP v DEVELOPMENT GUIDE AMOS-820 Linux BSP v4.1.1 1.00-05242017-134700 Copyright Copyright 2017 VIA Technologies Incorporated. All rights reserved. No part of this document may be reproduced, transmitted, transcribed,

More information

Operating System. Hanyang University. Hyunmin Yoon Operating System Hanyang University

Operating System. Hanyang University. Hyunmin Yoon Operating System Hanyang University Hyunmin Yoon (fulcanelli86@gmail.com) 2 ubuntu Linux Download https://www.ubuntu.com/download/desktop http://gofile.me/3qiyp/pj6fzmojf 2 3 VMware Workstation Player (optional) Download https://www.vmware.com/products/workstation-player/workstation-player-evaluation.html

More information

Functions. Arash Rafiey. September 26, 2017

Functions. Arash Rafiey. September 26, 2017 September 26, 2017 are the basic building blocks of a C program. are the basic building blocks of a C program. A function can be defined as a set of instructions to perform a specific task. are the basic

More information

How to install the UpScale SDK compilation framework for the Kalray MPPA Workstation

How to install the UpScale SDK compilation framework for the Kalray MPPA Workstation How to install the UpScale SDK compilation framework for the Kalray MPPA Workstation On a Linux machine v1.0, January 2017 SCORDINO, Claudio ROYUELA, Sara QUIÑONES, Eduardo Table of contents Requirements...

More information

POSTouch Open Source Driver (OSE) Installation Guide

POSTouch Open Source Driver (OSE) Installation Guide POSTouch Open Source Driver (OSE) Installation Guide 2012/5/4 1. Confirm right driver before start OSE driver version x-window version request V1.0.0.7 before v1.10 V1.0.0.8 v1.10 or above If you are running

More information

GNU-AVR Building the GNU AVR Toolchain for Mac OS X and Linux

GNU-AVR Building the GNU AVR Toolchain for Mac OS X and Linux GNU-AVR Building the GNU AVR Toolchain for Mac OS X and Linux BDMICRO http://www.bdmicro.com/ Brian S. Dean bsd@bdmicro.com April 24, 2007 Copyright (c) 2005 BDMICRO All Rights Reserved. GNU-AVR April

More information

Lab00: Software Environment Setup

Lab00: Software Environment Setup Lab00: Software Environment Setup Michele Svanera February 22, 2016 Contents 1 What you need 1 2 How to 2 3 Guide 2 3.1 Creating the VM......................................... 2 3.1.1 Customizing.......................................

More information

polymaker Documentation

polymaker Documentation polymaker Documentation Release 1.0.0 Tymofiy Lukinov December 18, 2014 Contents 1 General information 3 1.1 Program description........................................... 3 1.2 Examples.................................................

More information

Section 1: Tools. Contents CS162. January 19, Make More details about Make Git Commands to know... 3

Section 1: Tools. Contents CS162. January 19, Make More details about Make Git Commands to know... 3 CS162 January 19, 2017 Contents 1 Make 2 1.1 More details about Make.................................... 2 2 Git 3 2.1 Commands to know....................................... 3 3 GDB: The GNU Debugger

More information

Cross-compilation with Buildroot

Cross-compilation with Buildroot Instituto Superior de Engenharia do Porto Mestrado em Engenharia Eletrotécnica e de Computadores Arquitetura de Computadores Cross-compilation with Buildroot Introduction Buildroot is a tool that can be

More information

P6: Trial Build of a ROM Nikhil George. 1. Introduction. Overview of the build task. Cite the build/ wiki articles you read.

P6: Trial Build of a ROM Nikhil George. 1. Introduction. Overview of the build task. Cite the build/ wiki articles you read. P6: Trial Build of a ROM Nikhil George 1. Introduction. Overview of the build task. Cite the build/ wiki articles you read. Installation of required packages sudo apt-get install git gnupg flex bison gperf

More information

User Manual for ZTE Corporation s Data Card under Linux System

User Manual for ZTE Corporation s Data Card under Linux System MC2718 Module User Manual for ZTE Corporation s Data Card under Linux System Version: V1.0 ZTE Corporation Copyright Statement Copyright 2010 by ZTE Corporation All rights reserved. The user manual is

More information

Programs. Program: Set of commands stored in a file Stored on disk Starting a program creates a process static Process: Program loaded in RAM dynamic

Programs. Program: Set of commands stored in a file Stored on disk Starting a program creates a process static Process: Program loaded in RAM dynamic Programs Program: Set of commands stored in a file Stored on disk Starting a program creates a process static Process: Program loaded in RAM dynamic Types of Processes 1. User process: Process started

More information

CENG393 Computer Networks Labwork 1

CENG393 Computer Networks Labwork 1 CENG393 Computer Networks Labwork 1 Linux is the common name given to a large family of operating systems. All Linux-based operating systems are essentially a large set of computer software that are bound

More information

Advanced Computer Architecture SimpleScalar installation on Ubuntu 11.04

Advanced Computer Architecture SimpleScalar installation on Ubuntu 11.04 Advanced Computer Architecture SimpleScalar installation on Ubuntu 11.04 The following text describes the procedure of installation of Simple Scalar on Linux distro Ubuntu. It was tested on Ubuntu 11.04

More information

Lecture 1 OS Introduction. Bo 2018, Spring

Lecture 1 OS Introduction. Bo 2018, Spring Lecture 1 OS Introduction Bo Tang @ 2018, Spring Our Roadmap What is an OS? What does an OS do? OS basics What is a process? What is a shell? What is a system call? OS components 2 What is an OS Special

More information

Dell IoT Gateway 5500 Edge MicroServer Setup Guide

Dell IoT Gateway 5500 Edge MicroServer Setup Guide Dell IoT Gateway 5500 Edge MicroServer Setup Guide Version [1.0] Software Change Log... 2 Introduction... 2 About the Dell IoT Gateway 5500... 2 Installation... 3 Initial Setup... 3 Download Prerequisite

More information

Playing with Linux CGROUP

Playing with Linux CGROUP EECS 750 Homework #2 Playing with Linux CGROUP In this homework, you will learn to interact with Linux s CGROUP (control group). You should submit three files: hw2-1.png, hw2-2.png, hw2-3.png You need

More information

Raspberry Pi Kernel Install. By: Daniel Rizko

Raspberry Pi Kernel Install. By: Daniel Rizko Raspberry Pi Kernel Install By: Daniel Rizko Introduction In this presentation I will be demonstrating three things. 1. Building a cross compiler from scratch using crosstool-ng for Raspberry Pi hardware.

More information

Cross-compiling Linux Kernels on x86_64: A tutorial on How to Get Started

Cross-compiling Linux Kernels on x86_64: A tutorial on How to Get Started Cross-compiling Linux Kernels on x86_64: A tutorial on How to Get Started Shuah Khan Senior Linux Kernel Developer Open Source Group Samsung Research America (Silicon Valley) shuah.kh@samsung.com Agenda

More information

EE516: Embedded Software Project 1. Setting Up Environment for Projects

EE516: Embedded Software Project 1. Setting Up Environment for Projects EE516: Embedded Software Project 1. Setting Up Environment for Projects By Dong Jae Shin 2015. 09. 01. Contents Introduction to Projects of EE516 Tasks Setting Up Environment Virtual Machine Environment

More information

CS 220: Introduction to Parallel Computing. Beginning C. Lecture 2

CS 220: Introduction to Parallel Computing. Beginning C. Lecture 2 CS 220: Introduction to Parallel Computing Beginning C Lecture 2 Today s Schedule More C Background Differences: C vs Java/Python The C Compiler HW0 8/25/17 CS 220: Parallel Computing 2 Today s Schedule

More information

VirtualSense User Guide 1

VirtualSense User Guide 1 VirtualSense User Guide 1 Environment Installation University of Urbino & NeuNet Revision 1.0 May 16, 2013 This guide applies to VirtualSense hardware platform 1.1.0. Contents 1 Introduction 4 2 General

More information

Introduction to Linux

Introduction to Linux Introduction to Linux Prof. Jin-Soo Kim( jinsookim@skku.edu) TA Sanghoon Han(sanghoon.han@csl.skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu Announcement (1) Please come

More information