mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-08-01 00:35:31 +00:00
* Add gin-contrib/pprof dependency * Run pprof server on agent with --profiler flag * Add --profiler flag to cli * Fix error message * Print cpu usage percentage * measure cpu of current pid instead of globaly on the system * Add scripts to plot performance * Plot packetsCount in analysis * Concat to DataFrame * Plot in turbo colorscheme * Make COLORMAP const * Fix rss units * Reduce code repetition by adding function for plotting * Allow grouping based on filenames * Temporary: Marked with comments where to disable code for experiments * Add newline at end of file * Add tap.cpuprofile flag. Change memprofile flag to tap.memprofile * create tapper modes for debugging using env vars * Fix rss plot units (MB instead of bytes) * Remove comment * Add info to plot script * Remove tap.cpumemprofile. Rename tap.memprofile to memprofile * Remove unused import * Remove whitespaces Co-authored-by: M. Mert Yıldıran <mehmet@up9.com> * Remove whitespaces Co-authored-by: M. Mert Yıldıran <mehmet@up9.com> * Remove whitespaces Co-authored-by: M. Mert Yıldıran <mehmet@up9.com> * Remove whitespaces Co-authored-by: M. Mert Yıldıran <mehmet@up9.com> * Remove whitespaces Co-authored-by: M. Mert Yıldıran <mehmet@up9.com> * Remove whitespaces Co-authored-by: M. Mert Yıldıran <mehmet@up9.com> * Rename debug env vars * Create package for debug env vars, read each env var once * Run go mod tidy * Increment MatchedPairs before emitting * Only count cores once * Count virtual and physical cores * Add dbgctl replace in cli * Fix lint: Check return values * Add tap/dbgctl to test-lint make rule * Replace tap/dbgctl in all modules * #run_acceptance_tests * Copy dbgctl module to docker image * Debug/profile tapper benchmark (#1093) * add mizu debug env to avoid all extensions * add readme + run_tapper_benchmark.sh * temporary change branch name * fix readme * fix MIZU_BENCHMARK_CLIENTS_COUNT env * change tap target to tcp stream * track live tcp streams * pr fixes * rename tapperPacketsCount to ignored_packets_count * change mizu tapper to mizu debugg Co-authored-by: David Levanon <dvdlevanon@gmail.com> Co-authored-by: M. Mert Yıldıran <mehmet@up9.com>
51 lines
1.9 KiB
Modula-2
51 lines
1.9 KiB
Modula-2
module github.com/up9inc/mizu/tap
|
|
|
|
go 1.17
|
|
|
|
require (
|
|
github.com/cilium/ebpf v0.8.0
|
|
github.com/go-errors/errors v1.4.2
|
|
github.com/google/gopacket v1.1.19
|
|
github.com/hashicorp/golang-lru v0.5.4
|
|
github.com/shirou/gopsutil v3.21.11+incompatible
|
|
github.com/struCoder/pidusage v0.2.1
|
|
github.com/up9inc/mizu/logger v0.0.0
|
|
github.com/up9inc/mizu/tap/api v0.0.0
|
|
github.com/up9inc/mizu/tap/dbgctl v0.0.0
|
|
github.com/vishvananda/netns v0.0.0-20211101163701-50045581ed74
|
|
k8s.io/api v0.23.3
|
|
)
|
|
|
|
require (
|
|
github.com/go-logr/logr v1.2.2 // indirect
|
|
github.com/go-ole/go-ole v1.2.6 // indirect
|
|
github.com/gogo/protobuf v1.3.2 // indirect
|
|
github.com/google/go-cmp v0.5.7 // indirect
|
|
github.com/google/gofuzz v1.2.0 // indirect
|
|
github.com/google/martian v2.1.0+incompatible // indirect
|
|
github.com/json-iterator/go v1.1.12 // indirect
|
|
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
|
|
github.com/modern-go/reflect2 v1.0.2 // indirect
|
|
github.com/op/go-logging v0.0.0-20160315200505-970db520ece7 // indirect
|
|
github.com/tklauser/go-sysconf v0.3.10 // indirect
|
|
github.com/tklauser/numcpus v0.4.0 // indirect
|
|
github.com/yusufpapurcu/wmi v1.2.2 // indirect
|
|
golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd // indirect
|
|
golang.org/x/sys v0.0.0-20220207234003-57398862261d // indirect
|
|
golang.org/x/text v0.3.7 // indirect
|
|
gopkg.in/inf.v0 v0.9.1 // indirect
|
|
gopkg.in/yaml.v2 v2.4.0 // indirect
|
|
k8s.io/apimachinery v0.23.3 // indirect
|
|
k8s.io/klog/v2 v2.40.1 // indirect
|
|
k8s.io/utils v0.0.0-20220127004650-9b3446523e65 // indirect
|
|
sigs.k8s.io/json v0.0.0-20211208200746-9f7c6b3444d2 // indirect
|
|
sigs.k8s.io/structured-merge-diff/v4 v4.2.1 // indirect
|
|
sigs.k8s.io/yaml v1.3.0 // indirect
|
|
)
|
|
|
|
replace github.com/up9inc/mizu/logger v0.0.0 => ../logger
|
|
|
|
replace github.com/up9inc/mizu/tap/api v0.0.0 => ./api
|
|
|
|
replace github.com/up9inc/mizu/tap/dbgctl v0.0.0 => ./dbgctl
|