mirror of
https://github.com/aristocratos/btop.git
synced 2024-09-29 22:51:35 +02:00
Remove forgotten debug logger calls
This commit is contained in:
parent
fbba6b69d3
commit
a88671b68f
@ -949,7 +949,6 @@ namespace Mem {
|
|||||||
break;
|
break;
|
||||||
//? Set ZFS stat filepath
|
//? Set ZFS stat filepath
|
||||||
} else if (fs::exists("/proc/spl/kstat/zfs/" + devname + "/io", ec) and access(string("/proc/spl/kstat/zfs/" + devname + "/io").c_str(), R_OK) == 0) {
|
} else if (fs::exists("/proc/spl/kstat/zfs/" + devname + "/io", ec) and access(string("/proc/spl/kstat/zfs/" + devname + "/io").c_str(), R_OK) == 0) {
|
||||||
Logger::warning("Adding ZFS stat path for " + (string)dev);
|
|
||||||
disks.at(mountpoint).stat = "/proc/spl/kstat/zfs/" + devname + "/io";
|
disks.at(mountpoint).stat = "/proc/spl/kstat/zfs/" + devname + "/io";
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -1025,7 +1024,6 @@ namespace Mem {
|
|||||||
disk_ios++;
|
disk_ios++;
|
||||||
for (int i = 0; i < 18; i++) { diskread >> std::ws; diskread.ignore(SSmax, ' '); }
|
for (int i = 0; i < 18; i++) { diskread >> std::ws; diskread.ignore(SSmax, ' '); }
|
||||||
diskread >> sectors_read; // nbytes read
|
diskread >> sectors_read; // nbytes read
|
||||||
Logger::warning("ZFS device " + (string)disk.name + " read bytes: " + to_string(sectors_read));
|
|
||||||
if (disk.io_read.empty())
|
if (disk.io_read.empty())
|
||||||
disk.io_read.push_back(0);
|
disk.io_read.push_back(0);
|
||||||
else
|
else
|
||||||
@ -1034,7 +1032,6 @@ namespace Mem {
|
|||||||
while (cmp_greater(disk.io_read.size(), width * 2)) disk.io_read.pop_front();
|
while (cmp_greater(disk.io_read.size(), width * 2)) disk.io_read.pop_front();
|
||||||
|
|
||||||
diskread >> sectors_write; // nbytes written
|
diskread >> sectors_write; // nbytes written
|
||||||
Logger::warning("ZFS device " + (string)disk.name + " write bytes: " + to_string(sectors_write));
|
|
||||||
if (disk.io_write.empty())
|
if (disk.io_write.empty())
|
||||||
disk.io_write.push_back(0);
|
disk.io_write.push_back(0);
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user