Commit 2783a716 authored by Aaron Jacobs's avatar Aaron Jacobs

Renamed the feature.

parent 2948c349
...@@ -25,8 +25,8 @@ import ( ...@@ -25,8 +25,8 @@ import (
"golang.org/x/net/context" "golang.org/x/net/context"
) )
var fPerPIDTracing = flag.Bool( var fTraceByPID = flag.Bool(
"fuse.per_pid_tracing", "fuse.trace_by_pid",
false, false,
"Enable a hacky mode that uses reqtrace to group all ops from each "+ "Enable a hacky mode that uses reqtrace to group all ops from each "+
"individual PID. Not a good idea to use in production; races, bugs, and "+ "individual PID. Not a good idea to use in production; races, bugs, and "+
...@@ -62,7 +62,7 @@ func describeOpType(t reflect.Type) (desc string) { ...@@ -62,7 +62,7 @@ func describeOpType(t reflect.Type) (desc string) {
func (o *commonOp) maybeTraceByPID(in context.Context) (out context.Context) { func (o *commonOp) maybeTraceByPID(in context.Context) (out context.Context) {
// Is there anything to do? // Is there anything to do?
if !*fPerPIDTracing { if !*fTraceByPID {
out = in out = in
return return
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment