ceph/src/tracing
Jason Dillaman 6d5b969d42 librbd: add diff_iterate2 to API
New diff_iterate API supports skipping parent images and reporting
the object extents for an object that has been modified. The latter
will be helpful in providing an optimized diff method that can use
the object map to quickly compute object diffs between snapshots.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-04-12 21:17:32 -04:00
..
.gitignore tracing: automake-ify tracepoint generation 2014-08-21 10:57:27 -07:00
librados.tp librados: add missing tracepoints 2015-02-02 02:46:10 -08:00
librbd.tp librbd: add diff_iterate2 to API 2015-04-12 21:17:32 -04:00
Makefile.am lttng: Fix 'make tag' when configured --without-lttng 2014-09-08 09:16:51 -07:00
objectstore.tp lttng: add int type definitions 2014-12-10 18:48:43 -07:00
oprequest.tp lttng: add int type definitions 2014-12-10 18:48:43 -07:00
osd.tp Merge remote-tracking branch 'gh/master' into wip-watch-notify 2014-12-16 14:02:32 -08:00
pg.tp lttng: add int type definitions 2014-12-10 18:48:43 -07:00
README.md tracing: automake-ify tracepoint generation 2014-08-21 10:57:27 -07:00
tracing-common.h lttng: Fix ceph_ctf_stringp 2014-08-21 10:57:32 -07:00

Installation

The LTTng libraries that ship with Ubuntu 12.04 have been very buggy, and the generated header files using lttng-gen-tp have needed to be fixed just to compile in the Ceph tree. The packages available in Ubuntu 14.04 seem to work alright, and for older versions please install LTTng from the LTTng PPA.

https://launchpad.net/~lttng/+archive/ppa

Then install as normal

apt-get install lttng-tools liblttng-ust-dev

Add/Update Provider

Create tracepoint definition file

Add tracepoint definitions for the provider into a .tp file. Documentation on defining a tracepoint can be found in man lttng-ust. By convention files are named according to the logical sub-system they correspond to (e.g. mutex.tp, pg.tp). Place the .tp file into the src/tracing directory and modify the automake file src/tracing/Makefile.am accordingly.