qr

fistfulofbytes

trace 9p


by Sevki
2 Aug 2020
[pdf and ps]

How to trace ufs and harvey....

get the tracer enabled version of ufs from https://github.com/sevki/harvey-go/tree/trace

(there is also a PR for this https://github.com/Harvey-OS/go/pull/16 but that isn't important right now)

git clone --branch trace git@github.com:sevki/harvey-go.git ufstraced
cd ufstraced
go build -o ufs ./cmd/ufs
cp ufs $HARVEY/util/ufs

start jaeger

docker run -d -p 6831:6831/udp -p 16686:16686 jaegertracing/all-in-one:latest

start ufs with

-trace -debug 1

something like

$HARVEY/util/ufs -root=$HARVEY -trace -debug 1 &

go to 0.0.0.0:16686/