podman/hack
Valentin Rothberg 3ad5827b2d hack/podmansnoop
Add a script to measure the execution times of podman, crun, run and
conmon.  It's a trimmed down version of the exitsnoop tool and intended
to guide us in future performance optimizations.

The below output was generated when running

`podman run --net=host docker.io/library/alpine:latest true`

```
podman (snoop) $ sudo ./hack/podmansnoop
PCOMM            PID     PPID    TID     AGE(ms)
conmon           51580   51569   51580   1.67
conmon           51583   51569   51583   3.53
crun             51591   51590   51591   18.28
crun             51593   51569   51593   2.48
conmon           51606   51594   51606   0.85
crun             51608   51594   51608   2.50
podman           51594   51590   51594   176.27
conmon           51590   1950    51590   214.78
podman           51569   40964   51569   431.36
```

In the future, it would be helpful to add the arguments of the commands.
`execsnoop` can reveal them quite nicely but I did not manage to merge
the two scripts due to time constraints.

Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
2022-10-28 15:51:53 +02:00
..
podman-registry-go Fix stutters 2022-09-10 07:52:00 -04:00
apparmor_tag.sh Use bash binary from env instead of /bin/bash for scripts 2020-08-17 10:42:23 +02:00
bats Cleanup: fix problems reported by shell lint 2022-09-15 20:10:34 -06:00
branch_commits.rb Add script for identifying commits in release branches 2021-05-17 16:40:35 -04:00
btrfs_installed_tag.sh Use CPP, CC and flags in dep check scripts 2020-11-06 10:44:27 +01:00
btrfs_tag.sh Use CPP, CC and flags in dep check scripts 2020-11-06 10:44:27 +01:00
buildah-vendor-treadmill Buildah treadmill script: various fixes 2022-09-12 08:38:31 -06:00
check_root.sh Cleanup: fix problems reported by shell lint 2022-09-15 20:10:34 -06:00
get_ci_vm.sh Cirrus: Support EC2 instances in hack/get_ci_vm.sh 2022-08-03 14:25:09 -04:00
golangci-lint.sh enable linter for pkg/machine/e2e 2022-07-21 18:04:10 +02:00
install_catatonit.sh cirrus: force-install catatonit 2021-11-15 12:53:25 +01:00
install_golangci.sh Add swagger install + allow version updates in CI 2022-10-14 08:18:52 -04:00
install_swagger.sh Add swagger install + allow version updates in CI 2022-10-14 08:18:52 -04:00
libdm_tag.sh Use CPP, CC and flags in dep check scripts 2020-11-06 10:44:27 +01:00
libsubid_tag.sh Fix libsubid detection 2022-09-23 09:58:39 +01:00
make-and-check-size Fix size-check to display more context 2022-04-21 14:07:20 -04:00
man-page-checker Cleanup: fix problems reported by shell lint 2022-09-15 20:10:34 -06:00
markdown-preprocess markdown-preprocess: cross-reference where opts are used 2022-10-20 10:57:51 -06:00
markdown-preprocess-review Man pages: refactor common options: cert-dir 2022-08-22 05:52:20 -06:00
markdown-preprocess.t markdown-preprocess: almost complete OO rewrite 2022-10-13 15:56:52 -06:00
parse-localbenchmarks [CI:DOCS] Benchmarks: new tool for parsing results 2022-05-11 11:44:17 -06:00
podman-commands.sh Add shell completion with cobra 2020-11-12 11:38:31 +01:00
podman-registry Update the registry server we test against from 2.6 to 2.8 2022-07-30 17:24:31 +02:00
podman-socat rename --cni-config-dir to --network-config-dir 2022-01-18 19:28:25 +01:00
podmansnoop hack/podmansnoop 2022-10-28 15:51:53 +02:00
podmanv2-retry Use bash binary from env instead of /bin/bash for scripts 2020-08-17 10:42:23 +02:00
release.sh Remove changelog.txt from the repository 2021-09-07 10:53:26 -04:00
selinux_tag.sh Use bash binary from env instead of /bin/bash for scripts 2020-08-17 10:42:23 +02:00
swagger-check switch from "kube/play" endpoint to "play/kube" endpoint. 2022-08-02 12:09:59 +01:00
systemd_tag.sh Use CPP, CC and flags in dep check scripts 2020-11-06 10:44:27 +01:00
tree_status.sh hack/tree_status.sh: print diff at the end 2022-10-14 09:39:37 +02:00
xref-helpmsgs-manpages man page xref: verify page title 2022-09-26 06:19:15 -06:00