Skip to content

Commit 6f1eac4

Browse files
committed
[cleanup] Add CRORC FIFO shm files
1 parent 5f29017 commit 6f1eac4

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/CommandLineUtilities/ProgramCleanup.cxx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,9 @@ class ProgramCleanup : public Program
5151
std::cout << std::endl;
5252
std::cout << "Execution of this tool will:" << std::endl;
5353
std::cout << "1. Free PDA DMA buffers" << std::endl;
54-
std::cout << "2. Clean all hugepage resources under /var/lib/hugetlbfs/global/pagesize-{2MB, 1GB}/ which match readout* and roc-bench-dma*" << std::endl;
55-
std::cout << "3. Remove and reinsert the uio_pci_dma kernel module" << std::endl;
54+
std::cout << "2. Clean CRORC FIFO shared memory files under /dev/shm which match AliceO2_ROC_*" << std::endl;
55+
std::cout << "3. Clean all hugepage resources under /var/lib/hugetlbfs/global/pagesize-{2MB, 1GB}/ which match readout* and roc-bench-dma*" << std::endl;
56+
std::cout << "4. Remove and reinsert the uio_pci_dma kernel module" << std::endl;
5657
std::cout << std::endl;
5758
std::cout << "In case instances of readout.exe or roc-bench-dma are running, they will fail." << std::endl;
5859
std::cout << std::endl;
@@ -67,6 +68,8 @@ class ProgramCleanup : public Program
6768

6869
Pda::freePdaDmaBuffers();
6970

71+
std::cout << "Removing CRORC FIFO shared memory files" << std::endl;
72+
system("rm /dev/shm/AliceO2_RoC_*");
7073
std::cout << "Removing readout 2MB hugepage mappings" << std::endl;
7174
system("rm /var/lib/hugetlbfs/global/pagesize-2MB/readout*");
7275
std::cout << "Removing readout 1GB hugepage mappings" << std::endl;

0 commit comments

Comments
 (0)