]> git.proxmox.com Git - mirror_lxcfs.git/blobdiff - bindings.c
(temporarily?) revert the virtualization of btime field in /proc/stat
[mirror_lxcfs.git] / bindings.c
index f3aefa15004338f0718c6c6bdbc1a6ef1ea40800..1442b9a52365dd32ca168b29bbac7dd2a2992ee1 100644 (file)
@@ -3672,10 +3672,7 @@ static int proc_stat_read(char *buf, size_t size, off_t offset,
                        continue;
                if (sscanf(line, "cpu%9[^ ]", cpu_char) != 1) {
                        /* not a ^cpuN line containing a number N, just print it */
-                       if (strncmp(line, "btime", 5) == 0)
-                               l = snprintf(cache, cache_size, "btime %"PRIu64"\n", get_reaper_btime(fc->pid));
-                       else
-                               l = snprintf(cache, cache_size, "%s", line);
+                       l = snprintf(cache, cache_size, "%s", line);
                        if (l < 0) {
                                perror("Error writing to cache");
                                rv = 0;