func WithPID(pid int64) OpFunc {
	return func(op *EntryOp) { op.PID = pid }
}
WithPID to filter entries by PIDs.
package inspect
import (
	"fmt"
	"strings"
	"github.com/gyuho/linux-inspect/top"
)
type EntryOp struct {
	ProgramMatchFunc func(string) bool
	program          string
	PID      int64
	TopLimit int
	TCP        bool
	TCP6       bool
	LocalPort  int64
	RemotePort int64
	TopExecPath string
	TopStream   *top.Stream
	DiskDevice       string
	NetworkInterface string
	ExtraPath        string
}
type OpFunc func(*EntryOp)
func WithProgramMatch(matchFunc func(string) bool) OpFunc {
	return func(op *EntryOp) { op.ProgramMatchFunc = matchFunc }
}
func WithProgram(name string) OpFunc {
	return func(op *EntryOp) {
		op.ProgramMatchFunc = func(commandName string) bool {
			return strings.HasSuffix(commandName, name)
		}
		op.program = name
	}
}