GithubHelp home page GithubHelp logo

systemtap-script's Introduction

systemtap-script

useful systemtap script. just for study.

setup for ubuntu

1.install systemtap $sudo apt-get install systemtap $sudo apt-get install systemtap-runtime

2.install kernel-debug-info use source-list: (1)Install the Linux kernel debug image ----------------------------------------------------------

Add debug source to the sources list of Ubuntu

Create an /etc/apt/sources.list.d/ddebs.list by running the following line at
a terminal:
echo "deb http://ddebs.ubuntu.com $(lsb_release -cs) main restricted universe multiverse" | \
sudo tee -a /etc/apt/sources.list.d/ddebs.list

Stable releases (not alphas and betas) require three more lines adding to the
same file, which is done by the following terminal command:
echo "deb http://ddebs.ubuntu.com $(lsb_release -cs)-updates main restricted universe multiverse
deb http://ddebs.ubuntu.com $(lsb_release -cs)-security main restricted universe multiverse
deb http://ddebs.ubuntu.com $(lsb_release -cs)-proposed main restricted universe multiverse" | \
sudo tee -a /etc/apt/sources.list.d/ddebs.list

Import the debug symbol archive signing key:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 428D7C01

Then run:
sudo apt-get update

Get Linux kernel debug image
sudo apt-get install linux-image-$(uname -r)-dbgsym

--------------------------------------------------------
(2)General ddeb repository configuration
# cat > /etc/apt/sources.list.d/ddebs.list << EOF
deb http://ddebs.ubuntu.com/ precise main restricted universe multiverse
EOF

# apt-key adv --keyserver keyserver.ubuntu.com --recv-keys ECDCAD72428D7C01
# apt-get update

download url: ubuntu kernel-debug-info: http://ddebs.ubuntu.com/pool/main/l/linux/

setup for fedora yum install systemtap kernel-devel debuginfo-install kernel

main pages http://soar-penguin.github.com/systemtap-script/

systemtap-script's People

Contributors

soar-penguin avatar soarpenguin avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.