Helping Developers Help You. Tom Caputi

Size: px
Start display at page:

Download "Helping Developers Help You. Tom Caputi"

Transcription

1 Helping Developers Help You Tom Caputi

2 The ZFS Code Base 2

3 The ZFS on Linux* Code Base: Statistics Source code 641 files lines of code ZFS Test suite (not including ztest) 1327 files lines of script Contributors 3435 git commits 239 People 15 Sponsor Companies of the 2017 Developer Summit * Not counting Illumos, FreeBSD, OSX code bases! 3

4 4

5 5

6 Mistakes Happen! We re sorry. We are trying our best No one person knows the entire code base Please help us make ZFS better for everyone 6

7 The ZoL Git Repository 7

8 What is Github? git is a source code version control software Helps to keep track of code contributions Developers can work simultaneously on different issues Github is a website built around git Acts as the central truth of what ZFS on Linux is Issue tracking and comment threads Release management Hooks for running automated tests Easy(ish) user interface to manage the project 8

9 9

10 ZFS repo: SPL repo: 10

11 Latest commit: contribution 11

12 Source code (including the last commit that touched that file / directory) 12

13 Commit log 13

14 14

15 Title and description 15

16 Authors and contributors 16

17 Diff: list of code changes made in this commit 17

18 Commit hash: unique identifier for this commit 18

19 19

20 Issues / Feature requests submitted by users 20

21 21

22 Reporting Issues and Debugging Basics 2 2

23 Search for existing issues Step 1: Check to make sure your issue hasn t already been filed Read through the ticket to make sure it matches your symptoms If the ticket is closed, read the comments for workarounds / solutions If the ticket is open, skip Step 2 23

24 Create a new issue ticket Step 2: If you don t find an issue like yours open a new ticket 24

25 Create a new issue ticket Step 3: Provide any debugging info you may have. If you think that the problem involves a certain feature, you tag the developer of that feature to get their attention 25

26 Providing Debugging Information: The Basics System information ZFS Version: cat /sys/module/zfs/version Kernel version: uname -r Operating System Distribution CPU architecture: (almost always x86_64) ZFS Configuration Pool layout: zpool status <pool> List of relevant datasets: zfs list Properties of affected datasets: zfs get all <dataset> 26

27 Identifying Problems: Crashes and Deadlocks Crashes Task never completes Commands can t be killed System may become completely unresponsive Stack trace appears in dmesg Deadlocks Very similar to a crash (commands never complete, can t be killed) System still responsive on other consoles Stack traces may appear in dmesg after 5 minutes or so 27

28 28

29 Stack trace: shows where in the code the problem occurred * include a few lines above the trace 29

30 Identifying Problems: Other Issues Performance Issues Task eventually completes, but takes too much time / system resources Commands can be killed Warnings may be printed in dmesg (probably not) Be sure to provide statistics about what isn t performing well Other Issues Errors: ZFS returns errors when commands are used properly Non-intuitive behavior: ZFS does not function reasonably UI problems: commands / docs are inaccurate or unclear 30

31 Providing Debugging Information: Extended Steps to Reproduce THE MOST HELPFUL INFO YOU CAN PROVIDE Drastically reduces time to fix Allows developer to work on a fix without waiting for you to reply Most other debug info isn t important if you have this Sequence of commands that trigger the issue If the issue is intermittent, provide approximate reproduction rate Information on ZFS workload If you can t reproduce the info provide info about ZFS usage Kinds of files stored, zfs commands being run, etc 31

32 Providing Debugging Information: Extended Recompiling with --enable-debug and --enable-debuginfo ZFS has a compilation option that includes added sanity checks Turns on ASSERTs Turns on extra debugging by default Forces debug symbols to be compiled into the binaries Try this if: You are proficient at compiling your own source code Your issue is causing your system to panic You want to ensure that you are providing as much info as possible 32

33 Providing Debugging Information: Situational ZFS debug message log Does not require debug build echo 1 > /sys/module/zfs/parameters/zfs_dbgmsg_enable echo 0xffffffde > /sys/module/zfs/parameters/zfs_flags cat /proc/spl/kstat/zfs/dbgmsg Line Number from stack trace Requires debug build Allows you to convert a stack trace to a line of code (See next slide) 33

34 34

35 Some stack traces will include a RIP: gdb -batch -ex \ 'list *(multilist_sublist_remove+0x10)' \ $(modinfo zfs grep filename awk '{ print $2 }') 35

36 Issue Examples 3 6

37 Issue Examples Hard Issues Easy Issues

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

Git & Github Fundamental by Rajesh Kumar.

Git & Github Fundamental by Rajesh Kumar. Git & Github Fundamental by Rajesh Kumar About me Rajesh Kumar DevOps Architect @RajeshKumarIN www.rajeshkumar.xyz www.scmgalaxy.com 2 What is git Manage your source code versions Who should use Git Anyone

More information

Overview. 1. Install git and create a Github account 2. What is git? 3. How does git work? 4. What is GitHub? 5. Quick example using git and GitHub

Overview. 1. Install git and create a Github account 2. What is git? 3. How does git work? 4. What is GitHub? 5. Quick example using git and GitHub Git 101: Overview 1. Install git and create a Github account 2. What is git? 3. How does git work? 4. What is GitHub? 5. Quick example using git and GitHub Github icon 1 Install git and a create GitHub

More information

CSE 374 Programming Concepts & Tools. Brandon Myers Winter 2015 Lecture 11 gdb and Debugging (Thanks to Hal Perkins)

CSE 374 Programming Concepts & Tools. Brandon Myers Winter 2015 Lecture 11 gdb and Debugging (Thanks to Hal Perkins) CSE 374 Programming Concepts & Tools Brandon Myers Winter 2015 Lecture 11 gdb and Debugging (Thanks to Hal Perkins) Hacker tool of the week (tags) Problem: I want to find the definition of a function or

More information

CSE 15L Winter Midterm :) Review

CSE 15L Winter Midterm :) Review CSE 15L Winter 2015 Midterm :) Review Makefiles Makefiles - The Overview Questions you should be able to answer What is the point of a Makefile Why don t we just compile it again? Why don t we just use

More information

CESSDA Expert Seminar 13 & 14 September 2016 Prague, Czech Republic

CESSDA Expert Seminar 13 & 14 September 2016 Prague, Czech Republic CESSDA Expert Seminar 13 & 14 September 2016 Prague, Czech Republic - basics Matthäus Zloch GESIS Outline for this session Git introduction and some theory Git command basics (plus some little advanced)

More information

System Architecture 2008/09 Programming Assignment 3. 2 Overview on System/161 Memory Management Hardware

System Architecture 2008/09 Programming Assignment 3. 2 Overview on System/161 Memory Management Hardware University of Karlsruhe System Architecture Group Gerd Liefländer Teaching Assistant: Philipp Kupferschmied System Architecture 2008/09 Programming Assignment 3 Submission Deadlines: 23.01.2009, 12:00h

More information

Intro to Segmentation Fault Handling in Linux. By Khanh Ngo-Duy

Intro to Segmentation Fault Handling in Linux. By Khanh Ngo-Duy Intro to Segmentation Fault Handling in Linux By Khanh Ngo-Duy Khanhnd@elarion.com Seminar What is Segmentation Fault (Segfault) Examples and Screenshots Tips to get Segfault information What is Segmentation

More information

Debugging Kernel without Debugger

Debugging Kernel without Debugger Debugging Kernel without Debugger Masami Hiramatsu Software Platform Research Dept. Yokohama Research Lab. Hitachi Ltd., 1 Who am I? Masami Hiramatsu Researcher in Hitachi

More information

How to version control like a pro: a roadmap to your reproducible & collaborative research

How to version control like a pro: a roadmap to your reproducible & collaborative research How to version control like a pro: a roadmap to your reproducible & collaborative research The material in this tutorial is inspired by & adapted from the Software Carpentry lesson on version control &

More information

Maintaining an Out-of-Tree Driver and an Upstream Driver Simultaneously (with minimal pain)

Maintaining an Out-of-Tree Driver and an Upstream Driver Simultaneously (with minimal pain) Maintaining an Out-of-Tree Driver and an Upstream Driver Simultaneously (with minimal pain) Catherine Sullivan Intel LinuxCon 2015 Me Intel ND Linux Ethernet drivers 40G product line A little 10G Network

More information

CSE 4/521 Introduction to Operating Systems

CSE 4/521 Introduction to Operating Systems CSE 4/521 Introduction to Operating Systems Lecture 3 Operating Systems Structures (Operating-System Services, User and Operating-System Interface, System Calls, Types of System Calls, System Programs,

More information

Version control system (VCS)

Version control system (VCS) Version control system (VCS) Remember that you are required to keep a process-log-book of the whole development solutions with just one commit or with incomplete process-log-book (where it is not possible

More information

SECTION 2: HW3 Setup.

SECTION 2: HW3 Setup. SECTION 2: HW3 Setup cse331-staff@cs.washington.edu slides borrowed and adapted from Alex Mariakis,CSE 390a,Justin Bare, Deric Pang, Erin Peach, Vinod Rathnam LINKS TO DETAILED SETUP AND USAGE INSTRUCTIONS

More information

Software Development I

Software Development I 6.148 Software Development I Two things How to write code for web apps. How to collaborate and keep track of your work. A text editor A text editor A text editor Anything that you re used to using Even

More information

CSE 374 Programming Concepts & Tools

CSE 374 Programming Concepts & Tools CSE 374 Programming Concepts & Tools Hal Perkins Fall 2017 Lecture 11 gdb and Debugging 1 Administrivia HW4 out now, due next Thursday, Oct. 26, 11 pm: C code and libraries. Some tools: gdb (debugger)

More information

Common Git Commands. Git Crash Course. Teon Banek April 7, Teon Banek (TakeLab) Common Git Commands TakeLab 1 / 18

Common Git Commands. Git Crash Course. Teon Banek April 7, Teon Banek (TakeLab) Common Git Commands TakeLab 1 / 18 Common Git Commands Git Crash Course Teon Banek theongugl@gmail.com April 7, 2016 Teon Banek (TakeLab) Common Git Commands TakeLab 1 / 18 Outline 1 Introduction About Git Setup 2 Basic Usage Trees Branches

More information

Firmware Test Suite (fwts) Alex Hung BIOS Engineer, Hardware Enablement

Firmware Test Suite (fwts) Alex Hung BIOS Engineer, Hardware Enablement Firmware Test Suite (fwts) Alex Hung BIOS Engineer, Hardware Enablement Agenda Firmware Test Suite (fwts) Introduction to fwts Installation and Source Code Release Schedule Firmware

More information

Exercise Session 6 Computer Architecture and Systems Programming

Exercise Session 6 Computer Architecture and Systems Programming Systems Group Department of Computer Science ETH Zürich Exercise Session 6 Computer Architecture and Systems Programming Herbstsemester 2016 Agenda GDB Outlook on assignment 6 GDB The GNU Debugger 3 Debugging..

More information

Topics covered. Introduction to Git Git workflows Git key concepts Hands on session Branching models. Git 2

Topics covered. Introduction to Git Git workflows Git key concepts Hands on session Branching models. Git 2 Git Git 1 Topics covered Introduction to Git Git workflows Git key concepts Hands on session Branching models Git 2 Introduction to Git Git 3 Version control systems The source files of a project changes

More information

CISC 7310X. C03: Process. Hui Chen Department of Computer & Information Science CUNY Brooklyn College. 2/15/2018 CUNY Brooklyn College

CISC 7310X. C03: Process. Hui Chen Department of Computer & Information Science CUNY Brooklyn College. 2/15/2018 CUNY Brooklyn College CISC 7310X C03: Process Hui Chen Department of Computer & Information Science CUNY Brooklyn College 2/15/2018 CUNY Brooklyn College 1 Recap & Issues Topics Tools of the trade SCM (e.g., Git), Virtualization

More information

CSE 391 Lecture 9. Version control with Git

CSE 391 Lecture 9. Version control with Git CSE 391 Lecture 9 Version control with Git slides created by Ruth Anderson & Marty Stepp, images from http://git-scm.com/book/en/ http://www.cs.washington.edu/391/ 1 Problems Working Alone Ever done one

More information

Geant4 on Azure using Docker containers

Geant4 on Azure using Docker containers http://www.geant4.org Geant4 on Azure using Docker containers Andrea Dotti (adotti@slac.stanford.edu) ; SD/EPP/Computing 1 Outlook Motivation/overview Docker + G4 Azure + G4 Conclusions 2 Motivation/overview

More information

ag.el Documentation Release 0.45 Wilfred Hughes

ag.el Documentation Release 0.45 Wilfred Hughes ag.el Documentation Release 0.45 Wilfred Hughes Feb 25, 2018 Contents 1 Installation 3 1.1 Operating System............................................ 3 1.2 Emacs..................................................

More information

2 Initialize a git repository on your machine, add a README file, commit and push

2 Initialize a git repository on your machine, add a README file, commit and push BioHPC Git Training Demo Script First, ensure that git is installed on your machine, and you have configured an ssh key. See the main slides for instructions. To follow this demo script open a terminal

More information

Section 1: Tools. Kaifei Chen, Luca Zuccarini. January 23, Make Motivation How... 2

Section 1: Tools. Kaifei Chen, Luca Zuccarini. January 23, Make Motivation How... 2 Kaifei Chen, Luca Zuccarini January 23, 2015 Contents 1 Make 2 1.1 Motivation............................................ 2 1.2 How................................................ 2 2 Git 2 2.1 Learn by

More information

Package Management with EUPS: A Crash Course

Package Management with EUPS: A Crash Course Package Management with EUPS: A Crash Course Mario Jurić LSST Data Management Project Scien?st SLAC DM Stack Working Mee?ng 10-12 December, 2012 1 Topics Covered What is EUPS and its role in DM Package

More information

Debugging and Version control

Debugging and Version control Debugging and Version control 15 213 / 18 213: Introduc2on to Computer Systems 12 th Recita2on, Nov. 14, 2011 Slides by: Lin Xiao(lxiao) 1 Today Debugging with GDB and core file A

More information

SECTION 1: CODE REASONING + VERSION CONTROL

SECTION 1: CODE REASONING + VERSION CONTROL SECTION 1: CODE + OUTLINE Introductions Code Reasoning Forward Reasoning Backward Reasoning Weaker vs. Stronger statements Version control CSE 331 Spring 2018 slides borrowed and adapted from Alex Mariakis

More information

SECTION 1: CODE REASONING + VERSION CONTROL

SECTION 1: CODE REASONING + VERSION CONTROL SECTION 1: CODE + OUTLINE Introductions Code Reasoning Forward Reasoning Backward Reasoning Weaker vs. Stronger statements Version control CSE 331 Summer 2018 slides borrowed and adapted from Alex Mariakis

More information

vrealize Code Stream Trigger for Git

vrealize Code Stream Trigger for Git vrealize Code Stream 2.3 This document supports the version of each product listed and supports all subsequent versions until the document is replaced by a new edition. To check for more recent editions

More information

Software Project (Lecture 4): Git & Github

Software Project (Lecture 4): Git & Github Software Project (Lecture 4): Git & Github Wouter Swierstra, Atze Dijkstra Feb 2016 Wouter Swierstra, Atze Dijkstra Software Project (Lecture 4): Git & Github Feb 2016 1 / 45 Wouter Swierstra, Atze Dijkstra

More information

New Contributor Tutorial and Best Practices

New Contributor Tutorial and Best Practices New Contributor Tutorial and Best Practices Vicențiu Ciorbaru Software Engineer @ MariaDB Foundation * 2018 MariaDB Foundation * Goal of this session Most attendees here are highly experienced devs Let's

More information

Revision Control. How can 4. Slides #4 CMPT 276 Dr. B. Fraser. Local Topology Simplified. Git Basics. Revision Control:

Revision Control. How can 4. Slides #4 CMPT 276 Dr. B. Fraser. Local Topology Simplified. Git Basics. Revision Control: How can 4 (or 4000) developers work on a product at once? Revision Control Revision Control Revision Control: Also called version control, source control, software configuration management. Motivation:

More information

DEBUGGING ON FERMI PREPARING A DEBUGGABLE APPLICATION GDB. GDB on front-end nodes

DEBUGGING ON FERMI PREPARING A DEBUGGABLE APPLICATION GDB. GDB on front-end nodes DEBUGGING ON FERMI Debugging your application on a system based on a BG/Q architecture like FERMI could be an hard task due to the following problems: the core files generated by a crashing job on FERMI

More information

Make Your Own Linux Module CS 444/544

Make Your Own Linux Module CS 444/544 Make Your Own Linux Module CS 444/544 Lab Preparation: Running VM! Download the image using - wget http://cslabs.clarkson.edu/oslab/syscall_lab.vdi! Applications -> Accessories-> VirtualBox! In Virtual

More information

SECTION 2: Loop Reasoning & HW3 Setup

SECTION 2: Loop Reasoning & HW3 Setup SECTION 2: Loop Reasoning & HW3 Setup cse331-staff@cs.washington.edu Review: Reasoning about loops What is a loop invariant? An assertion that always holds at the top of a loop Why do we need invariants?

More information

Introduction to Supercomputing

Introduction to Supercomputing Introduction to Supercomputing TMA4280 Introduction to UNIX environment and tools 0.1 Getting started with the environment and the bash shell interpreter Desktop computers are usually operated from a graphical

More information

CS354 gdb Tutorial Written by Chris Feilbach

CS354 gdb Tutorial Written by Chris Feilbach CS354 gdb Tutorial Written by Chris Feilbach Purpose This tutorial aims to show you the basics of using gdb to debug C programs. gdb is the GNU debugger, and is provided on systems that

More information

SECTION 2: Loop Reasoning & HW3 Setup

SECTION 2: Loop Reasoning & HW3 Setup SECTION 2: Loop Reasoning & HW3 Setup cse331-staff@cs.washington.edu slides borrowed and adapted from CSE 331 Winter 2018, CSE 391, and many more Review: Reasoning about loops What is a loop invariant?

More information

Tutorial: Getting Started with Git. Introduction to version control Benefits of using Git Basic commands Workflow

Tutorial: Getting Started with Git. Introduction to version control Benefits of using Git Basic commands Workflow Tutorial: Getting Started with Git Introduction to version control Benefits of using Git Basic commands Workflow http://xkcd.com/1597/ 2 Tutorial Objectives Fundamentals of how git works Everything you

More information

Debugging and Profiling

Debugging and Profiling Debugging and Profiling Dr. Axel Kohlmeyer Senior Scientific Computing Expert Information and Telecommunication Section The Abdus Salam International Centre for Theoretical Physics http://sites.google.com/site/akohlmey/

More information

Laboratorio di Programmazione. Prof. Marco Bertini

Laboratorio di Programmazione. Prof. Marco Bertini Laboratorio di Programmazione Prof. Marco Bertini marco.bertini@unifi.it http://www.micc.unifi.it/bertini/ Code versioning: techniques and tools Software versions All software has multiple versions: Each

More information

Darcs what, why and how. Ganesh Sittampalam London HUG, 24 th April 2013

Darcs what, why and how. Ganesh Sittampalam London HUG, 24 th April 2013 Darcs what, why and how Ganesh Sittampalam London HUG, 24 th April 2013 So what is it? A distributed version control system like git, mercurial, etc and unlike svn, cvs, etc Based on patches as first-class

More information

Lab 4: Shell Scripting

Lab 4: Shell Scripting Lab 4: Shell Scripting Nathan Jarus June 12, 2017 Introduction This lab will give you some experience writing shell scripts. You will need to sign in to https://git.mst.edu and git clone the repository

More information

Lecture 3: Processing Language Data, Git/GitHub. LING 1340/2340: Data Science for Linguists Na-Rae Han

Lecture 3: Processing Language Data, Git/GitHub. LING 1340/2340: Data Science for Linguists Na-Rae Han Lecture 3: Processing Language Data, Git/GitHub LING 1340/2340: Data Science for Linguists Na-Rae Han Objectives What do linguistic data look like? Homework 1: What did you process? How does collaborating

More information

Git: (Distributed) Version Control

Git: (Distributed) Version Control Git: (Distributed) Version Control Computer Science and Engineering College of Engineering The Ohio State University Lecture 6 The Need for Version Control Track evolution of a software artifact Development

More information

Intel Parallel Studio XE 2017 Composer Edition BETA C++ - Debug Solutions Release Notes

Intel Parallel Studio XE 2017 Composer Edition BETA C++ - Debug Solutions Release Notes Developer Zone Intel Parallel Studio XE 2017 Composer Edition BETA C++ - Debug Solutions Release Notes Submitted by Georg Z. (Intel) on August 5, 2016 This page provides the current Release Notes for the

More information

Git Introduction CS 400. February 11, 2018

Git Introduction CS 400. February 11, 2018 Git Introduction CS 400 February 11, 2018 1 Introduction Git is one of the most popular version control system. It is a mature, actively maintained open source project originally developed in 2005 by Linus

More information

Software Revision Control for MASS. Git Basics, Best Practices

Software Revision Control for MASS. Git Basics, Best Practices Software Revision Control for MASS Git Basics, Best Practices Matthew Sell, CSSE Student MASS Research Participant, February 2014 What is revision control? The obligatory Wikipedia definition: revision

More information

T A B L E O F C O N T E N T S

T A B L E O F C O N T E N T S Linux driver - Binary rpm/source rpm user guide and known limitation T A B L E O F C O N T E N T S 1. OVERVIEW... 2 2. DRIVER COMPILATION STEPS... 2 3. OS SUPPORT MATRIX... 2 4. RELEASE CONTENTS... 5 5.

More information

USPAS Simulation of Beam and Plasma Systems Steven M. Lund, Jean-Luc Vay, Remi Lehe, Daniel Winklehner and David L. Bruhwiler Lecture: Software Version Control Instructor: David L. Bruhwiler Contributors:

More information

Poulpe Documentation. Release Edouard Klein

Poulpe Documentation. Release Edouard Klein Poulpe Documentation Release 0.0.5 Edouard Klein Jul 18, 2017 Contents 1 Poulpe 1 1.1 Features.................................................. 1 2 Usage 3 3 Installation 5 4 Contributing 7 4.1 Types

More information

Version (Source Code) Control SWEN-250

Version (Source Code) Control SWEN-250 Version (Source Code) Control SWEN-250 Overview Motivation why is version control useful? Key concepts Variations on the basic theme Example version control systems 1/10/2019 (c) 2013 RIT Dept. of Software

More information

README for X11R7.5. The X.Org Foundation 1. October 2009

README for X11R7.5. The X.Org Foundation 1. October 2009 The X.Org Foundation 1 October 2009 X11R7.5 is an Open Source version of the X Window System that supports many UNIX and UNIX-like operating systems (such as Linux, FreeBSD, NetBSD, OpenBSD, and Solaris)

More information

T A B L E O F C O N T E N T S

T A B L E O F C O N T E N T S Linux driver - Binary rpm/source rpm user guide and known limitation T A B L E O F C O N T E N T S 1. OVERVIEW... 2 2. DRIVER COMPILATION STEPS... 2 3. OS SUPPORT MATRIX... 2 4. RELEASE CONTENTS... 5 5.

More information

This program is designed to help you generate and send bug reports (and thank-you notes) about perl5 and the modules which ship with it.

This program is designed to help you generate and send bug reports (and thank-you notes) about perl5 and the modules which ship with it. NAME perlbug - how to submit bug reports on Perl SYNOPSIS perlbug perlbug [ -v ] [ -a address ] [ -s subject ] [ -b body -f inputfile ] [ -F outputfile ] [ -r returnaddress ] [ -e editor ] [ -c adminaddress

More information

Version control with Git.

Version control with Git. 1 Version control with Git http://git-scm.com/book/en/ Basic Intro to Git We will: Discuss how Git differs from Subversion Discuss the basic Git model Pull/clone files from a repository on github Edit

More information

SECTION 1: CODE REASONING + VERSION CONTROL + ECLIPSE

SECTION 1: CODE REASONING + VERSION CONTROL + ECLIPSE SECTION 1: CODE REASONING + VERSION CONTROL + ECLIPSE cse331-staff@cs.washington.edu slides borrowed and adapted from Alex Mariakis and CSE 390a OUTLINE Introductions Code Reasoning Version control IDEs

More information

Scientific Software Development with Eclipse

Scientific Software Development with Eclipse Scientific Software Development with Eclipse A Best Practices for HPC Developers Webinar Gregory R. Watson ORNL is managed by UT-Battelle for the US Department of Energy Contents Downloading and Installing

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

Chapter 3. Revision Control

Chapter 3. Revision Control Chapter 3 Revision Control We begin our journey into software engineering before we write a single line of code. Revision control systems (RCSes) such as Subversion or CVS are astoundingly useful for single-developer

More information

New features in and around the FreeBSD portstree

New features in and around the FreeBSD portstree New features in and around the FreeBSD portstree Beat Gätzi beat@freebsd.org University of Applied Sciences, Vienna, Austria May 5, 2012 common problem when working with packages Install an additional

More information

Today s presentation. Git gdb Project 1

Today s presentation. Git gdb Project 1 CS3214: Project 1 Today s presentation Git gdb Project 1 Project 1 Due Monday, February 20 at 11:59 PM Office hours are on course website Check Piazza for updates Git Version Control System Keep snapshots

More information

Lecture 6 Remotes. Sign in on the attendance sheet!

Lecture 6 Remotes. Sign in on the attendance sheet! Lecture 6 Remotes Sign in on the attendance sheet! Midterm Review Everyone did great! What We ve Learned So Far Creating and cloning repositories git init, git clone Linear commit histories and diffs git

More information

Arch Linux Grub You Need To Load The Kernel First

Arch Linux Grub You Need To Load The Kernel First Arch Linux Grub You Need To Load The Kernel First Preface. A bootloader is the first software program that runs when a computer starts. It is responsible for loading and transferring control to the Linux

More information

Game Server Manager Documentation

Game Server Manager Documentation Game Server Manager Documentation Release 0.1.1+0.gc111f9c.dirty Christopher Bailey Dec 16, 2017 Contents 1 Game Server Manager 3 1.1 Requirements............................................... 3 1.2

More information

A Practical Introduction to git

A Practical Introduction to git 1 / 59 A Practical Introduction to git Emanuele Olivetti 1 Rike-Benjamin Schuppner 2 1 NeuroInformatics Laboratory (NILab) Bruno Kessler Foundation (FBK), Trento, Italy Center for Mind and Brain Sciences

More information

CS 520: VCS and Git. Intermediate Topics Ben Kushigian

CS 520: VCS and Git. Intermediate Topics Ben Kushigian CS 520: VCS and Git Intermediate Topics Ben Kushigian https://people.cs.umass.edu/~rjust/courses/2017fall/cs520/2017_09_19.zip Our Goal Our Goal (Overture) Overview the basics of Git w/ an eye towards

More information

Red Hat Enterprise Linux 8.0 Beta

Red Hat Enterprise Linux 8.0 Beta Red Hat Enterprise Linux 8.0 Beta Developing applications in RHEL 8 An introduction to application development tools in Red Hat Enterprise Linux 8.0 Beta Last Updated: 2018-11-21 Red Hat Enterprise Linux

More information

Having Fun with Social Coding. Sean Handley. February 25, 2010

Having Fun with Social Coding. Sean Handley. February 25, 2010 Having Fun with Social Coding February 25, 2010 What is Github? GitHub is to collaborative coding, what Facebook is to social networking 1 It serves as a web front-end to open source projects by allowing

More information

Revision Control. An Introduction Using Git 1/15

Revision Control. An Introduction Using Git 1/15 Revision Control An Introduction Using Git 1/15 Overview 1. What is revision control? 2. 30,000 foot view 3. Software - git and gitk 4. Setting up your own repository on onyx 2/15 What is version control?

More information

Memory Management 9th Week

Memory Management 9th Week Department of Electrical Engineering and Information Technology Faculty of Engineering Universitas Gadjah Mada, Indonesia Operating System - TIF 206 Memory Management 9th Week Sunu Wibirama Copyright 2011

More information

Git for Version Control

Git for Version Control Git for Version Control These slides are heavily based on slides created by Ruth Anderson for CSE 390a. Thanks, Ruth! images taken from http://git-scm.com/book/en/ http://www.cs.washington.edu/403/ About

More information

Kivy Designer Documentation

Kivy Designer Documentation Kivy Designer Documentation Release 0.9 Kivy October 02, 2016 Contents 1 Installation 3 1.1 Prerequisites............................................... 3 1.2 Installation................................................

More information

Chat Channels Via Kafka (with Grading Notes)

Chat Channels Via Kafka (with Grading Notes) SE424: Distributed Systems Assignment 2 Semester 1 5778 Due: 10 Jan 2017 Chat Channels Via Kafka (with Grading Notes) In this assignment, we ll take the work from the previous assignment on channelized

More information

Managing PKI Deployments. WhiteRabbitSecurity

Managing PKI Deployments. WhiteRabbitSecurity Managing PKI Deployments Overview Business requirements Automated CI/CD process overview Demo VM (with Vagrant) (directory layout, usage) Modifying the configuration Deployment in test environment Marking

More information

We d like to hear your suggestions for improving our indexes. Send to

We d like to hear your suggestions for improving our indexes. Send  to Index [ ] (brackets) wildcard, 12 { } (curly braces) in variables, 41 ( ) (parentheses) in variables, 41 += (append) operator, 45 * (asterisk) wildcard, 12 $% automatic variable, 16 $+ automatic variable,

More information

CLOSE ENCOUNTERS OF THE UPSTREAM RESOURCE

CLOSE ENCOUNTERS OF THE UPSTREAM RESOURCE CLOSE ENCOUNTERS OF THE UPSTREAM RESOURCE HISAO MUNAKATA RENESAS SOLUTIONS CORP hisao.munakata.vt(at)renesas.com who am I Work for Renesas (semiconductor provider) Over 15 years real embedded Linux business

More information

The State of Kernel Debugging Technology. Jason Wessel - Product Architect for WR Linux Core Runtime - Kernel.org KDB/KGDB Maintainer

The State of Kernel Debugging Technology. Jason Wessel - Product Architect for WR Linux Core Runtime - Kernel.org KDB/KGDB Maintainer The State of Kernel Debugging Technology Jason Wessel - Product Architect for WR Linux Core Runtime - Kernel.org KDB/KGDB Maintainer August 12 th, 2010 Agenda Brief history of kernel.org kernel debuggers

More information

Release Notes McAfee Application Control 6.1.0

Release Notes McAfee Application Control 6.1.0 Release Notes McAfee Application Control 6.1.0 About this document New features Known issues Resolved issues Installation instructions Find product documentation About this document Thank you for choosing

More information

Debugging with gdb and valgrind

Debugging with gdb and valgrind Debugging with gdb and valgrind Dr. Axel Kohlmeyer Associate Dean for Scientific Computing, CST Associate Director, Institute for Computational Science Assistant Vice President for High-Performance Computing

More information

Jackson Marusarz Software Technical Consulting Engineer

Jackson Marusarz Software Technical Consulting Engineer Jackson Marusarz Software Technical Consulting Engineer What Will Be Covered Overview Memory/Thread analysis New Features Deep dive into debugger integrations Demo Call to action 2 Analysis Tools for Diagnosis

More information

chatterbot-weather Documentation

chatterbot-weather Documentation chatterbot-weather Documentation Release 0.1.1 Gunther Cox Nov 23, 2018 Contents 1 chatterbot-weather 3 1.1 Installation................................................ 3 1.2 Example.................................................

More information

GitLab-CI for FPGA development at LHCb 21/11/2018 CERN ELECTRONICS USERS GROUP - GITLAB CI FOR FPGAS 1

GitLab-CI for FPGA development at LHCb 21/11/2018 CERN ELECTRONICS USERS GROUP - GITLAB CI FOR FPGAS 1 GitLab-CI for FPGA development at LHCb 21/11/2018 CERN ELECTRONICS USERS GROUP - GITLAB CI FOR FPGAS 1 The EP/LBC (Online) group 21/11/2018 CERN ELECTRONICS USERS GROUP - GITLAB CI FOR FPGAS 2 GitLab-CI

More information

OPERATING SYSTEMS ASSIGNMENT 2 SIGNALS, USER LEVEL THREADS AND SYNCHRONIZATION

OPERATING SYSTEMS ASSIGNMENT 2 SIGNALS, USER LEVEL THREADS AND SYNCHRONIZATION OPERATING SYSTEMS ASSIGNMENT 2 SIGNALS, USER LEVEL THREADS AND SYNCHRONIZATION Responsible TAs: Vadim Levit & Benny Lutati Introduction In this assignment we will extend xv6 to support a simple signal

More information

Mantis STIX Importer Documentation

Mantis STIX Importer Documentation Mantis STIX Importer Documentation Release 0.2.0 Siemens February 27, 2014 Contents 1 Mantis STIX Importer 3 1.1 Documentation.............................................. 3 1.2 Quickstart................................................

More information

Version control CSE 403

Version control CSE 403 Version control CSE 403 Goals of a version control system Keep a history of your work Explain the purpose of each change Checkpoint specific versions (known good state) Recover specific state (fix bugs,

More information

Contribute To Linux Mainline

Contribute To Linux Mainline Contribute To Linux Mainline Wu Zhangjin / Falcon wuzhangjin@gmail.com Tiny Lab 泰晓实验室 http://tinylab.org June 3, 2013 Outline 1 About Linux Kernel Development 2 Upstream your source code 3 Reference 4

More information

git and the virtue of version control ECE /2/2015

git and the virtue of version control ECE /2/2015 git and the virtue of version control ECE 18-545 9/2/2015 Version Control What is it? A tool for collaborative editing A tool for keeping an edit history A tool for managing edit versions For the code

More information

Using git to download and update BOUT++

Using git to download and update BOUT++ ER Meeting 14th Sept 2015 1/28 Using git to download and update BOUT++ Peter Hill ER Meeting 14th Sept 2015 2/28 Outline What is git? Getting git Basic git usage Getting BOUT++ Compiling BOUT++ Running

More information

Working in Teams CS 520 Theory and Practice of Software Engineering Fall 2018

Working in Teams CS 520 Theory and Practice of Software Engineering Fall 2018 Working in Teams CS 520 Theory and Practice of Software Engineering Fall 2018 Version Control September 18, 2018 Thursday (September 20) First in-class exercise On using git (today is a prelude with useful

More information

TEGRA LINUX DRIVER PACKAGE (R15.BETA)

TEGRA LINUX DRIVER PACKAGE (R15.BETA) TEGRA LINUX DRIVER PACKAGE (R15.BETA) RN_05071-R15 April 13, 2012 Advance Information Subject to Change Release Notes RN_05071-R15 TABLE OF CONTENTS 1.0 ABOUT THIS RELEASE... 4 1.1 What s New... 4 1.2

More information

Lab 1: Space Invaders. The Introduction

Lab 1: Space Invaders. The Introduction Lab 1: Space Invaders The Introduction Welcome to Lab! Feel free to get started until we start talking! The lab document is located on course website: https://users.wpi.edu/~sjarvis/ece2049_smj/ Be sure

More information

Project 1. Fast correction

Project 1. Fast correction Project 1 Fast correction Project #1 waitpid vs wait WEXITSTATUS Memory leaks! fflush after the >, before the fork Why? Because the children and the parent can run in any order When piping a list of commands

More information

*nix Crash Course. Presented by: Virginia Tech Linux / Unix Users Group VTLUUG

*nix Crash Course. Presented by: Virginia Tech Linux / Unix Users Group VTLUUG *nix Crash Course Presented by: Virginia Tech Linux / Unix Users Group VTLUUG Ubuntu LiveCD No information on your hard-drive will be modified. Gives you a working Linux system without having to install

More information

Linux FastBoot. Reducing Embedded Linux Boot Times. Embedded World Conference 2012

Linux FastBoot. Reducing Embedded Linux Boot Times. Embedded World Conference 2012 Linux FastBoot Reducing Embedded Linux Boot Times Embedded World Conference 2012 Michael Röder Future Electronics Deutschland GmbH Detlev Zundel DENX Software Engineering GmbH Agenda Optimization Basics

More information

Andrew Gabriel Cucumber Technology Ltd 17 th June 2015

Andrew Gabriel Cucumber Technology Ltd 17 th June 2015 Andrew Gabriel Cucumber Technology Ltd andrew@cucumber.me.uk 17 th June 2015 What is ZFS? New file system developed by Sun Microsystems, starcng development in 2001, open sourced 2005, released 2006. Built-

More information

An Introduction to Subversion

An Introduction to Subversion 1 An Introduction to Subversion Flavio Stanchi August 15, 2017 2 Table of Contents 1. Introduction What is Subversion? How to get Subversion? 2. Concepts Centralized version control Repository structure

More information

How Not to Write a Block

How Not to Write a Block How Not to Write a Block Tom Rondeau (tom@trondeau.com) 2015-08-24 Introduction Review concepts of working through building a block. When errors happen, what to do about it. Explore some common problems.

More information