code: func (p *criStatsProvider) getPodLogStats(path string, rootFsInfo *cadvisorapiv2.FsInfo) (*statsapi.FsStats, error) {
  	files, err := p.osInterface.ReadDir(path)
  	if err != nil {
  		return nil, err
  	}
  	result := &statsapi.FsStats{
  		Time:           metav1.NewTime(rootFsInfo.Timestamp),
  		AvailableBytes: &rootFsInfo.Available,
  		CapacityBytes:  &rootFsInfo.Capacity,
  		InodesFree:     rootFsInfo.InodesFree,
  		Inodes:         rootFsInfo.Inodes,
  	}
  	for _, f := range files {
  		if f.IsDir() {
  			continue
  		}
  		// Only include *files* under pod log directory.
  		fpath := filepath.Join(path, f.Name())
  		fstats, err := p.getPathFsStats(fpath, rootFsInfo)
  		if err != nil {
  			return nil, fmt.Errorf("failed to get fsstats for %q: %v", fpath, err)
  		}
  		result.UsedBytes = addUsage(result.UsedBytes, fstats.UsedBytes)
  		result.InodesUsed = addUsage(result.InodesUsed, fstats.InodesUsed)
  		result.Time = maxUpdateTime(&result.Time, &fstats.Time)
  	}
  	return result, nil
  }
docs: // getPodLogStats gets stats for logs under the pod log directory. Container logs usually exist
  // under the container log directory. However, for some container runtimes, e.g. kata, gvisor,
  // they may want to keep some pod level logs, in that case they can put those logs directly under
  // the pod log directory. And kubelet will take those logs into account as part of pod ephemeral
  // storage.