From: compudj Date: Wed, 4 Oct 2006 21:18:10 +0000 (+0000) Subject: update lock X-Git-Tag: v0.12.20~1311 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=c3a5e413b7f0aa9c4ff79d872d7ceca21ddb9737;p=lttv.git update lock git-svn-id: http://ltt.polymtl.ca/svn@2178 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/ltt-control/configure.in b/ltt-control/configure.in index b61ced4a..0546c049 100644 --- a/ltt-control/configure.in +++ b/ltt-control/configure.in @@ -23,7 +23,7 @@ AC_PREREQ(2.57) AC_INIT(FULL-PACKAGE-NAME, VERSION, BUG-REPORT-ADDRESS) #AC_WITH_LTDL # not needed ? -AM_INIT_AUTOMAKE(ltt-control,0.26-04102006) +AM_INIT_AUTOMAKE(ltt-control,0.27-04102006) AM_CONFIG_HEADER(config.h) AM_PROG_LIBTOOL diff --git a/ltt-control/facilities/locking.xml b/ltt-control/facilities/locking.xml index d4ed9226..d4ee266b 100644 --- a/ltt-control/facilities/locking.xml +++ b/ltt-control/facilities/locking.xml @@ -1,64 +1,40 @@ The locking facility instruments the kernel locking. - - Takes a spinlock - Spinlock address - - - - Tries a spinlock - Spinlock address - - - Get a spinlock - Spinlock address + + Enable IRQs + Instruction address - - Releases a spinlock - Spinlock address + + Disable IRQs + Instruction address - - Disable IRQ, saving state - - Instruction pointer where the irq_save is located. - - - - Saved IRQ state. - - + + Enable SoftIRQs + Instruction address - - Disable IRQ, saving state - - Instruction pointer where the irq_restore is located. - - - - Restored IRQ state. - - + + Disable SoftIRQs + Instruction address - - Disable IRQ - - Instruction pointer where the irq_disable is located. - - + + Acquire lock + Instruction address + Lock subclass + Lock address + Trylock ? - - Disable IRQ - - Instruction pointer where the irq_enable is located. - - + + Release lock + Instruction address + Lock address + Nested release ?