SHA256
1
0
forked from pool/atop
Files
atop/atop-makefile.patch
Malcolm Lewis 18dc18d10a - Update to 2.11.0:
* Cgroups (version 2) support.
    Show the hierarchical structure of cgroups and the related metrics
    with key/option 'G', and define the cgroup depth with the keys/options
    2 till 7. Key/option 8 also shows the processes per cgroup level,
    except the kernel processes in the root cgroup. Key/option 9 shows
    the related processes per cgroup level including the kernel processes
    in the root cgroup. With key/option 'C' the output is sorted on
    CPU consumption (default), with key/option 'M' on memory consumption,
    and with key/option 'D' (requires root privileges) on disk utilization.
    Note: The collection of cgroup information per process is not supported any more.
  * Twin mode: live measurement with review option.
    In twin mode atop spawns into a lower level process that gathers
    the counters and writes them to a temporary raw file, and an upper level
    process that reads the counters from the temporary raw file and presents them to
    the user.
    The reading of the upper level process keeps in pace with the written samples
    of the lower level process for live measurements. However, when pressing the
    'r' (reset to measurement begin), the 'b' (branch to time stamp),
    or the 'T' (previous sample), the upper level process implicitly
    pauses with the possibility to review previous samples.
    The 'z' (explicit pause) can also be used to pause the live measurement.
    When pressing the 'z' again (continue after pause) viewing of the
    live measurement will be continued.
  * Various corrections related to JSON output.
  * Improved gathering of current CPU frequency.
  * Support more than 500 CPUs.
  * The format of the raw file is incompatible with previous versions.
    Raw files from previous versions can be converted to the new layout
    with the atopconvert command.

OBS-URL: https://build.opensuse.org/package/show/utilities/atop?expand=0&rev=25
2024-07-29 11:34:18 +00:00

14 lines
780 B
Diff

Index: atop-2.11.0/Makefile
===================================================================
--- atop-2.11.0.orig/Makefile
+++ atop-2.11.0/Makefile
@@ -21,7 +21,7 @@ PMPATH2 = /usr/lib64/pm-utils/sleep.d
PMPATHD = /usr/lib/systemd/system-sleep
PKG_CONFIG ?= pkg-config
-CFLAGS += -O2 -I. -Wall $(shell $(PKG_CONFIG) --cflags glib-2.0) -Wno-stringop-truncation -Wmissing-prototypes -Wmissing-declarations -Wformat-security # -DNOPERFEVENT # -DHTTPSTATS
+CFLAGS += $(OPTFLAGS) -I. -Wall $(shell $(PKG_CONFIG) --cflags glib-2.0) -Wno-stringop-truncation -Wmissing-prototypes -Wmissing-declarations -Wformat-security # -DNOPERFEVENT # -DHTTPSTATS
LDFLAGS += $(shell $(PKG_CONFIG) --libs glib-2.0)
OBJMOD0 = version.o
OBJMOD1 = various.o deviate.o procdbase.o