http://sourceware.org/systemtap/
debuginfo 入れないと動かない
@mmitou さんより https://gist.github.com/3433352
sudo stap watch_exec.stp -c ./exec
| #-*- coding:utf-8 -*- | |
| import traceback | |
| class Base(object): | |
| def test(self): | |
| print('called') |
| #include <iostream> | |
| template <typename T> | |
| class Operator | |
| { | |
| public: | |
| template <T left, T right> |
| diff -r 040c63f8dec8 src/sphinxjp/themecore/__init__.py | |
| --- a/src/sphinxjp/themecore/__init__.py Sat Jul 09 23:25:39 2011 +0900 | |
| +++ b/src/sphinxjp/themecore/__init__.py Fri May 18 09:05:10 2012 +0900 | |
| @@ -24,7 +24,12 @@ | |
| theme_paths = [] | |
| for plugin in pkg_resources.iter_entry_points('sphinx_themes'): | |
| - m = plugin.load() | |
| + try: | |
| + m = plugin.load() |
| #-*- coding:utf-8 -*- | |
| import time | |
| import datetime | |
| from mercurial import localrepo, match, ui as uimod | |
| def load_repository(path): |
| #-*- coding:utf-8 -*- | |
| u''' | |
| 関数合成みたいな何か | |
| ''' | |
| class Composable(object): | |
| u''' | |
| 合成可能 | |
| ''' |
| Calling Convention についての stackoverflow | |
| http://stackoverflow.com/questions/2535989/what-are-the-calling-conventions-for-unix-linux-system-calls-on-x86-64 | |
| int 2E/sysenter/syscall考察 | |
| http://www.marbacka.net/asm64/arkiv/int2e_sysenter_syscall.html | |
| Introduction to UNIX assembly programming | |
| http://asm.sourceforge.net/intro/hello.html | |
| 2012/06/08 第17回 IT基礎技術勉強会 メモ |
| #-*- coding:utf-8 -*- | |
| import contextlib | |
| def gencon(): | |
| u''' | |
| ふつうの contextmanager | |
| ''' | |
| print 'enter' |
| #-*- coding:utf-8 -*- | |
| import sys | |
| import os | |
| import subprocess | |
| from fabric import api | |
| api.env.hosts = ['hostname'] |
| [buildout] | |
| parts = env ipython sphinx nose pylint epydoc supervisor | |
| develop = . | |
| pkg-name = tornadotest | |
| [env] | |
| recipe = zc.recipe.egg |
http://sourceware.org/systemtap/
debuginfo 入れないと動かない
@mmitou さんより https://gist.github.com/3433352
sudo stap watch_exec.stp -c ./exec