From 3cacb3cb763821f668fb95e233630bc51b39bc29 Mon Sep 17 00:00:00 2001 From: Kun Huang Date: Tue, 3 Nov 2015 21:54:09 +0800 Subject: [PATCH] add some notes in oslo-lock script Change-Id: I8008837c9fb28f65b5b0e89e3482318e233e9381 --- scripts/oslo-lock.stp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/oslo-lock.stp b/scripts/oslo-lock.stp index 02ad952..610d0b8 100755 --- a/scripts/oslo-lock.stp +++ b/scripts/oslo-lock.stp @@ -1,8 +1,10 @@ #!/usr/bin/stap +# this script is tested locally only, because community CI has not been set up now global count = 0; global old_count = 0; probe python.function.entry { + # line number here should not be necessary, please see https://bugs.launchpad.net/scalpels/+bug/1512687 if ((funcname == "lock") && isinstr(filename, "oslo_concurrency/lockutils.py") && (lineno == 163)) { count = count + 1; }