From a2f2f3a0ff10ec157af620d3cefceea8fe738198 Mon Sep 17 00:00:00 2001 From: Vaastav Anand Date: Thu, 31 May 2018 19:34:34 -0700 Subject: [PATCH] CHange files to use capture library located in dinv instead of the ones in GoVector --- capture/inst.go | 2 +- dinvRT/test-asserts/diningPhilosophers/diningphilosopher.go | 2 +- dinvRT/test-asserts/microbenchmark_tests/node.go | 2 +- dinvRT/test-asserts/ricartagrawala/ricartagrawala.go | 2 +- dinvRT/test-asserts/sum/client/client.go | 2 +- dinvRT/test-asserts/sum/server/server.go | 2 +- examples/diningPhil/diningphilosopher.go | 2 +- examples/linear/coeff/coeff.go | 2 +- examples/linear/linn/linn.go | 2 +- examples/ricartagrawala/ricartagrawala.go | 2 +- examples/ring/node.go | 2 +- examples/sum/client/client.go | 2 +- examples/sum/server/server.go | 2 +- instrumenter/instrumenter.go | 2 +- 14 files changed, 14 insertions(+), 14 deletions(-) diff --git a/capture/inst.go b/capture/inst.go index 53f3691..bb1a757 100644 --- a/capture/inst.go +++ b/capture/inst.go @@ -200,7 +200,7 @@ func InstrumentCalls(p *programslicer.ProgramWrapper, pnum, snum int, netConns m }) //if code was added, add the apropriate import if injected { - astutil.AddImport(p.Fset, p.Packages[pnum].Sources[snum].Comments, "github.com/DistributedClocks/GoVector/capture") + astutil.AddImport(p.Fset, p.Packages[pnum].Sources[snum].Comments, "bitbucket.org/bestchai/dinv/capture") } } diff --git a/dinvRT/test-asserts/diningPhilosophers/diningphilosopher.go b/dinvRT/test-asserts/diningPhilosophers/diningphilosopher.go index 042a507..6d0ab45 100644 --- a/dinvRT/test-asserts/diningPhilosophers/diningphilosopher.go +++ b/dinvRT/test-asserts/diningPhilosophers/diningphilosopher.go @@ -4,7 +4,7 @@ import ( "bitbucket.org/bestchai/dinv/dinvRT" "flag" "fmt" - "github.com/arcaneiceman/GoVector/capture" + "bitbucket.org/bestchai/dinv/capture" "math/rand" "net" "os" diff --git a/dinvRT/test-asserts/microbenchmark_tests/node.go b/dinvRT/test-asserts/microbenchmark_tests/node.go index 7b4e952..d0e42d5 100644 --- a/dinvRT/test-asserts/microbenchmark_tests/node.go +++ b/dinvRT/test-asserts/microbenchmark_tests/node.go @@ -6,7 +6,7 @@ import ( "encoding/gob" "flag" "fmt" - "github.com/arcaneiceman/GoVector/capture" + "bitbucket.org/bestchai/dinv/capture" "io" "log" "math/rand" diff --git a/dinvRT/test-asserts/ricartagrawala/ricartagrawala.go b/dinvRT/test-asserts/ricartagrawala/ricartagrawala.go index 71de7b9..88cc774 100644 --- a/dinvRT/test-asserts/ricartagrawala/ricartagrawala.go +++ b/dinvRT/test-asserts/ricartagrawala/ricartagrawala.go @@ -6,7 +6,7 @@ import ( "encoding/gob" "flag" "fmt" - "github.com/arcaneiceman/GoVector/capture" + "bitbucket.org/bestchai/dinv/capture" "io" "log" "math/rand" diff --git a/dinvRT/test-asserts/sum/client/client.go b/dinvRT/test-asserts/sum/client/client.go index 33c7995..89b8b8a 100755 --- a/dinvRT/test-asserts/sum/client/client.go +++ b/dinvRT/test-asserts/sum/client/client.go @@ -4,7 +4,7 @@ import ( "bitbucket.org/bestchai/dinv/dinvRT" "encoding/binary" "fmt" - "github.com/arcaneiceman/GoVector/capture" + "bitbucket.org/bestchai/dinv/capture" "math/rand" "net" "os" diff --git a/dinvRT/test-asserts/sum/server/server.go b/dinvRT/test-asserts/sum/server/server.go index 93ddf0e..40ec34e 100755 --- a/dinvRT/test-asserts/sum/server/server.go +++ b/dinvRT/test-asserts/sum/server/server.go @@ -4,7 +4,7 @@ import ( "bitbucket.org/bestchai/dinv/dinvRT" "encoding/binary" "fmt" - "github.com/arcaneiceman/GoVector/capture" + "bitbucket.org/bestchai/dinv/capture" "net" "os" "time" diff --git a/examples/diningPhil/diningphilosopher.go b/examples/diningPhil/diningphilosopher.go index e16a3c2..3164314 100644 --- a/examples/diningPhil/diningphilosopher.go +++ b/examples/diningPhil/diningphilosopher.go @@ -4,7 +4,7 @@ import ( "bitbucket.org/bestchai/dinv/dinvRT" "flag" "fmt" - "github.com/arcaneiceman/GoVector/capture" + "bitbucket.org/bestchai/dinv/capture" "math/rand" "net" "os" diff --git a/examples/linear/coeff/coeff.go b/examples/linear/coeff/coeff.go index b535308..b912c7b 100755 --- a/examples/linear/coeff/coeff.go +++ b/examples/linear/coeff/coeff.go @@ -7,7 +7,7 @@ import ( "os" "bitbucket.org/bestchai/dinv/dinvRT" - "github.com/arcaneiceman/GoVector/capture" + "bitbucket.org/bestchai/dinv/capture" ) const ( diff --git a/examples/linear/linn/linn.go b/examples/linear/linn/linn.go index 0f0f1f2..2796b7e 100755 --- a/examples/linear/linn/linn.go +++ b/examples/linear/linn/linn.go @@ -6,7 +6,7 @@ import ( "os" "bitbucket.org/bestchai/dinv/dinvRT" - "github.com/arcaneiceman/GoVector/capture" + "bitbucket.org/bestchai/dinv/capture" ) //var debug = false diff --git a/examples/ricartagrawala/ricartagrawala.go b/examples/ricartagrawala/ricartagrawala.go index cc97dcd..6260785 100644 --- a/examples/ricartagrawala/ricartagrawala.go +++ b/examples/ricartagrawala/ricartagrawala.go @@ -6,7 +6,7 @@ import ( "encoding/gob" "flag" "fmt" - "github.com/arcaneiceman/GoVector/capture" + "bitbucket.org/bestchai/dinv/capture" "io" "log" "math/rand" diff --git a/examples/ring/node.go b/examples/ring/node.go index bdc0548..f3f84a0 100644 --- a/examples/ring/node.go +++ b/examples/ring/node.go @@ -5,7 +5,7 @@ import ( "encoding/binary" "flag" "fmt" - "github.com/arcaneiceman/GoVector/capture" + "bitbucket.org/bestchai/dinv/capture" "log" "net" "os" diff --git a/examples/sum/client/client.go b/examples/sum/client/client.go index d374d3b..ffd0fce 100755 --- a/examples/sum/client/client.go +++ b/examples/sum/client/client.go @@ -8,7 +8,7 @@ import ( "os" "bitbucket.org/bestchai/dinv/dinvRT" - "github.com/arcaneiceman/GoVector/capture" + "bitbucket.org/bestchai/dinv/capture" ) const ( diff --git a/examples/sum/server/server.go b/examples/sum/server/server.go index b2f6790..6947917 100755 --- a/examples/sum/server/server.go +++ b/examples/sum/server/server.go @@ -8,7 +8,7 @@ import ( "bitbucket.org/bestchai/dinv/dinvRT" - "github.com/arcaneiceman/GoVector/capture" + "bitbucket.org/bestchai/dinv/capture" ) const addr = ":9090" diff --git a/instrumenter/instrumenter.go b/instrumenter/instrumenter.go index c802d7e..bfa4d19 100755 --- a/instrumenter/instrumenter.go +++ b/instrumenter/instrumenter.go @@ -23,7 +23,7 @@ import ( "strings" "bitbucket.org/bestchai/dinv/programslicer" - "github.com/arcaneiceman/GoVector/capture" + "bitbucket.org/bestchai/dinv/capture" "golang.org/x/tools/go/ast/astutil" )