summaryrefslogtreecommitdiffstats
path: root/Makefile.am
AgeCommit message (Collapse)Author
2020-08-21configure: add option --enable-werrorChristian Göttsche
Adds the compiler flag -Werror to fail on warnings. Useful for CI runs.
2020-08-20Merge branch 'hishamhm-pull-920'3.0.0rc1Nathan Scott
2020-08-20Merge branch 'hishamhm-pull-1009'Nathan Scott
2020-08-20Merge branch 'hishamhm-pull-890'Nathan Scott
2020-06-11Fix use of '-rdynamic'Jorge Pereira
The option should be informed to the linker.
2019-09-03Support for ZFS Compressed ARC statisticsRoss Williams
2019-07-07ZFS arcstats for SolarisRoss Williams
2019-07-07Refactor common OpenZFS sysctl accessRoss Williams
Darwin and FreeBSD export zfs kstats through the same APIs, so moving functions into a common file.
2019-07-07ZFS arcstats for Darwin (macOS / OS X)Ross Williams
2019-07-07ZFS arcstats for LinuxRoss Williams
If no pools are imported (ARC size == 0) or the ZFS module is not in the kernel (/proc/spl/kstat/zfs/arcstats does not exist), then the Meter reports "Unavailable".
2019-07-07Support ZFS ARC stats on FreeBSDRoss Williams
New meter displays same ARC stats as FreeBSD top(1). Can be extended to other platforms that support ZFS. Pulling kstat.zfs.misc.arcstats.c_max as the meter total, so the meter has a meaningful value to work up to. The Text meter displays, first, the maximum ARC size (Meter.total), then second, the total ARC used, using the difference between Meter.maxItems and Meter.curItems to "hide" the used value from the Bar and Graph drawing functions by using an index in Meter.values[] that is beyond curItems - 1, but less than maxItems - 1.
2018-05-22Disable 'make dist' when pkg.m4 is unused in configureExplorer09
This would prevent a careless future package maintainer from creating a release tarball with a defective configure script. :) Also, add a warning in the autogen.sh phase if pkg.m4 is unused. Signed-off-by: Kang-Che Sung <explorer09@gmail.com>
2018-03-26New makefile targets to rebuild and clean htop headers.Explorer09
`make htop-headers` will regenerate all '.h' headers in htop source for all platforms. `make clean-htop-headers` will delete all generated htop headers. Because of the introduction of these two targets, I slightly changed the style of platform-specific portions of makefile rules. Please comment if you accept such a style, or need me to revert to old style. Signed-off-by: Kang-Che Sung <explorer09@gmail.com>
2018-03-16Use AM_CFLAGS and AM_LDFLAGS in Makefile.am (#760)Kang-Che Sung (宋岡哲)
This reduces generated Makefile.in size by 74%. (217319 bytes -> 56326 bytes) Automake considers that <prog>_CFLAGS and <prog>_LDFLAGS are program-specific build rules, and when such are specified, Automake will generate additional code just to avoid the "generic" and package-wide AM_CFLAGS or AM_LDFLAGS. (Especially for <prog>_CFLAGS, Automake will rename generated object files to become "prog-foo.o" and such, and it's _a lot_ of code to achieve this in Makefile.) There's no reason for htop to rename intermediate object files. It's better to make things simpler. Signed-off-by: Kang-Che Sung <explorer09@gmail.com>
2018-03-02Import Solaris support (#741)gmbroome
This commit adds support for Solaris, squashed from PR #741: Summary of additions: * Initial setup of Solaris platform directory * Add Solaris platform into autoconf template * Uptime and load averages * Add dependency on libkstat * Basic process listing * Zone name display * CPU detection * Per-process memory and CPU usage parsed correctly * Uses sysconf to discover number of CPUs, instead of more complex libkstat code * Simple memory display working * Reduce repetitive calls to the PAGE_SIZE macro when reading memory info * Add Project, Contract, Task, and Pool into process properties * Use system major()/minor() implementations and remove extraneous definition of mkdev() * Get the STARTTIME column working properly, using the Linux implementation as a guide
2017-04-21Enh: Add support for backtrace using execinfoDiederik de Groot
2017-04-19Initial addition of dragonflybsd (based on FreeBSD)Diederik de Groot
2016-02-19Force -lgcov harder when running `make coverage`.Hisham
Shouldn't be needed, but I had to make this tweak to make this work again.
2016-02-02Check for failure in allocations.Hisham
2016-01-12refactor *Screen classes, add InfoScreen superclassHisham Muhammad
2015-12-02'e' displays environment of current processMichael Klein
- uses sysctl(KERN_PROCARGS2) on *BSD - doesn't work on Linux yet
2015-09-18(Very) initial working OpenBSD portMichael McConville
2015-08-19Added darwin with working battery meterDavid Hunt
2015-08-19Rename String to StringUtils.David Hunt
Fixes building on case-insensitive filesystems where String.h gets confused with <string.h>. From d734dacea0a10d0465dad4e95b3421511e7da112 Mon Sep 17 00:00:00 2001 From: David Hunt <dhunt@iolanthe.attlocal.net> Date: Sat, 11 Jul 2015 20:56:31 -0500 Subject: [PATCH 1/8] Rename String to StringUtils
2015-03-25Add coverage testing rulesHisham Muhammad
2015-03-16Get FreeBSD tree to compile again with latest changes.Hisham Muhammad
2015-03-15Merge branch 'wip' of https://github.com/hishamhm/htop into freebsdHisham Muhammad
Conflicts: htop.c unsupported/Platform.h
2015-02-23Work on fixing build of "unsupported" platformHisham Muhammad
2015-02-04Merge branch 'master' into wipHisham Muhammad
2015-02-04Test if -Wextra is supported. Closes #155.Hisham Muhammad
2015-01-21Sorry about the mega-patch.Hisham Muhammad
This is a work-in-progress, code is currently broken. (Some actions, and notably, the header, are missing.)
2014-11-27Merge branch 'master' into freebsdHisham Muhammad
2014-11-27Move platform-dependent parts of Linux battery meter.Hisham Muhammad
2014-11-27Add uptime calculation code.Hisham Muhammad
2014-11-27Merge branch 'master' into freebsdHisham Muhammad
2014-11-27Make UptimeMeter cross-platform again.Hisham Muhammad
2014-11-27Uptime meter for FreeBSD.Hisham Muhammad
This will produce too much replicated code. I think I'll use a lighter abstraction in things like this.
2014-11-27Merge branch 'master' into freebsdHisham Muhammad
2014-11-27Move UptimeMeter into platform-dependent area.Hisham Muhammad
Set up environment to move other meters.
2014-11-27Beginnings of FreeBSD port!Hisham Muhammad
2014-11-24Builds on Linux again!Hisham Muhammad
2014-11-24Changes for supporting separate platform subdirectories.Hisham Muhammad
2014-01-17Possible to regenerate headers outside of srcdirRobert Rosengren
2012-11-10search and filter for the strace and lsof screens!Hisham Muhammad
2012-10-04Add IO priority support ('i' key)Hisham Muhammad
2011-12-26remove old reference to hwloc directoryHisham Muhammad
2011-12-26Remove old memory debugging routines. We have Valgrind nowadays.Hisham Muhammad
2011-11-21Remove bundled hwloc-1.2.1. Use either native Linux affinity support or an ↵Hisham Muhammad
external libhwloc. (for details see https://sourceforge.net/mailarchive/forum.php?thread_name=CAJpkDYeZpwqcWxZ77wq6bMrnhn-KzkU1xAqb3cU0drfnA3n9FQ%40mail.gmail.com&forum_name=htop-general )
2011-11-05Allow typing to select items in various panels (sort, user, signal).Hisham Muhammad
Factored code from the SignalsPanel to apply to all selections from main screen. Closes feature request #3425304.
2011-10-25store cppcheck rule for future useHisham Muhammad