Skip to content

Comments

coreos-base/misc-files: add back BCC tools#2900

Merged
tormath1 merged 2 commits intomainfrom
tormath1/bpf-tools
May 12, 2025
Merged

coreos-base/misc-files: add back BCC tools#2900
tormath1 merged 2 commits intomainfrom
tormath1/bpf-tools

Conversation

@tormath1
Copy link
Contributor

@tormath1 tormath1 commented May 12, 2025

This file was not sourced because it does not have '.bash' or '.sh'
suffix.

Testing done

SSH into latest stable release:

core@localhost ~ $ alias
alias diff='diff --color=auto'
alias dir='dir --color=auto'
alias grep='grep --color=auto'
alias ls='ls --color=auto'
alias vdir='vdir --color=auto

Hot-fix:

core@localhost ~ $ sudo mv /etc/bash/bashrc.d/99-flatcar-bcc /etc/bash/bashrc.d/99-flatcar-bcc.bash

SSH back:

core@localhost ~ $ alias
alias diff='diff --color=auto'
alias dir='dir --color=auto'
alias grep='grep --color=auto'
alias iovisor-biolatency='docker run --rm -it -v /lib/modules:/lib/modules -v /sys/kernel/debug:/sys/kernel/debug -v /sys/fs/cgroup:/sys/fs/cgroup -v /sys/fs/bpf:/sys/fs/bpf --privileged --net host --pid host quay.io/iovisor/bcc /usr/share/bcc/tools/biolatency'
alias iovisor-tcpaccept='docker run --rm -it -v /lib/modules:/lib/modules -v /sys/kernel/debug:/sys/kernel/debug -v /sys/fs/cgroup:/sys/fs/cgroup -v /sys/fs/bpf:/sys/fs/bpf --privileged --net host --pid host quay.io/iovisor/bcc /usr/share/bcc/tools/tcpaccept'
alias iovisor-tcpconnect='docker run --rm -it -v /lib/modules:/lib/modules -v /sys/kernel/debug:/sys/kernel/debug -v /sys/fs/cgroup:/sys/fs/cgroup -v /sys/fs/bpf:/sys/fs/bpf --privileged --net host --pid host quay.io/iovisor/bcc /usr/share/bcc/tools/tcpconnect'
alias iovisor-tcpretrans='docker run --rm -it -v /lib/modules:/lib/modules -v /sys/kernel/debug:/sys/kernel/debug -v /sys/fs/cgroup:/sys/fs/cgroup -v /sys/fs/bpf:/sys/fs/bpf --privileged --net host --pid host quay.io/iovisor/bcc /usr/share/bcc/tools/tcpretrans'
alias ls='ls --color=auto'
alias vdir='vdir --color=auto'

tormath1 added 2 commits May 12, 2025 16:05
This file was not sourced because it does not have '.bash' or '.sh'
suffix.

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
@tormath1 tormath1 force-pushed the tormath1/bpf-tools branch from 43fa1ef to 89a01dd Compare May 12, 2025 14:05
@tormath1 tormath1 marked this pull request as ready for review May 12, 2025 14:05
@tormath1 tormath1 requested a review from a team May 12, 2025 14:06
@tormath1 tormath1 merged commit 15fd9f1 into main May 12, 2025
2 of 4 checks passed
@github-project-automation github-project-automation bot moved this from ✅ Testing / in Review to Implemented in Flatcar tactical, release planning, and roadmap May 12, 2025
@tormath1 tormath1 deleted the tormath1/bpf-tools branch May 12, 2025 15:27
@tormath1
Copy link
Contributor Author

Cherry-picked to:

  • flatcar-4284
  • flatcar-4230
  • flatcar-4152
  • flatcar-4081

@github-actions
Copy link

Build action triggered: https://github.com/flatcar/scripts/actions/runs/14976529943

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants