aboutsummaryrefslogtreecommitdiffstats
path: root/examples/cmd/perf-bench/perf-bench.go
diff options
context:
space:
mode:
authorVladimir Lavor <vlavor@cisco.com>2018-05-02 09:47:44 +0200
committerVladimir Lavor <vlavor@cisco.com>2018-05-02 09:47:44 +0200
commit3da2b73ec5ce77abf796ebeae6dfc149c8d3c698 (patch)
tree3119df3db2136d4f77c38547a6d0bdd549b52960 /examples/cmd/perf-bench/perf-bench.go
parent0456d22f67865977065886ed58778621b21b7ede (diff)
support for shm prefixes
Change-Id: I279653deb9911862d29143269aea5dffbd564478 Signed-off-by: Vladimir Lavor <vlavor@cisco.com>
Diffstat (limited to 'examples/cmd/perf-bench/perf-bench.go')
-rw-r--r--examples/cmd/perf-bench/perf-bench.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/cmd/perf-bench/perf-bench.go b/examples/cmd/perf-bench/perf-bench.go
index ca74df6..f3ff752 100644
--- a/examples/cmd/perf-bench/perf-bench.go
+++ b/examples/cmd/perf-bench/perf-bench.go
@@ -24,8 +24,8 @@ import (
"sync"
"time"
- "github.com/sirupsen/logrus"
"github.com/pkg/profile"
+ "github.com/sirupsen/logrus"
"git.fd.io/govpp.git"
"git.fd.io/govpp.git/api"
@@ -64,7 +64,7 @@ func main() {
core.SetLogger(&logrus.Logger{Level: logrus.ErrorLevel})
// connect to VPP
- conn, err := govpp.Connect()
+ conn, err := govpp.Connect("")
if err != nil {
log.Println("Error:", err)
os.Exit(1)
@@ -159,4 +159,4 @@ func readAsyncReplies(ch *api.Channel, expectedCnt int, wg *sync.WaitGroup) {
return
}
}
-}
+} \ No newline at end of file