code: func (t *BTTracer) Put(snapshot []byte) error {
  	end := bytes.IndexByte(snapshot, 0)
  	if end == -1 {
  		end = len(snapshot)
  	}
  	path := strings.TrimSpace(string(snapshot[:end]))
  
  	return t.putSnapshotFile(path)
  }
docs: // See bcd.Tracer.Put().