github.com/brownsys/tracing-framework-go@v0.0.0-20161210174012-0542a62412fe/other/cmd/instrument/instrument_helper.go (about) 1 // +build instrument 2 3 package main 4 5 import "local/research/instrument" 6 7 var ( 8 __instrument_func_main bool 9 __instrument_func_processDir bool 10 __instrument_func_funcToEntry bool 11 __instrument_func_parseStmt bool 12 __instrument_func_zeroPos bool 13 __instrument_func_zeroPosHelper bool 14 __instrument_func_nodeString bool 15 ) 16 17 func init() { 18 instrument.RegisterFlag(main, &__instrument_func_main) 19 instrument.RegisterFlag(processDir, &__instrument_func_processDir) 20 instrument.RegisterFlag(funcToEntry, &__instrument_func_funcToEntry) 21 instrument.RegisterFlag(parseStmt, &__instrument_func_parseStmt) 22 instrument.RegisterFlag(zeroPos, &__instrument_func_zeroPos) 23 instrument.RegisterFlag(zeroPosHelper, &__instrument_func_zeroPosHelper) 24 instrument.RegisterFlag(nodeString, &__instrument_func_nodeString) 25 }