osmith has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-ci/+/41717?usp=email )


Change subject: ansible: jenkins: mount tracefs via fstab
......................................................................

ansible: jenkins: mount tracefs via fstab

Allow using bpftrace inside the jenkins lxc containers by making
/sys/kernel/tracing available through /etc/fstab.

Related: OS#6794
Change-Id: I568e3635fcc33040036fd19e9226b413db0d3ef3
---
M ansible/roles/osmocom-jenkins-slave/tasks/main.yml
1 file changed, 8 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/17/41717/1

diff --git a/ansible/roles/osmocom-jenkins-slave/tasks/main.yml 
b/ansible/roles/osmocom-jenkins-slave/tasks/main.yml
index 46da076..1ddbff9 100644
--- a/ansible/roles/osmocom-jenkins-slave/tasks/main.yml
+++ b/ansible/roles/osmocom-jenkins-slave/tasks/main.yml
@@ -78,3 +78,11 @@
     fstype: tmpfs
     state: mounted
     opts: "uid=1000,gid=1000"
+
+- name: add tracefs to /etc/fstab
+  ansible.posix.mount:
+    boot: true
+    path: /sys/kernel/tracing
+    src: tracefs
+    fstype: tracefs
+    state: present

--
To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/41717?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings?usp=email

Gerrit-MessageType: newchange
Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: I568e3635fcc33040036fd19e9226b413db0d3ef3
Gerrit-Change-Number: 41717
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <[email protected]>

Reply via email to