Skip to content

Add pidstat -w option (context switches) #1588

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

portante
Copy link
Contributor

@portante portante commented May 4, 2022

Layered on top of PR #1587.

natoscott added a commit to natoscott/pcp that referenced this pull request Jun 24, 2025
…9d8c8a16b2

9d8c8a16b2 Merge branch 'kmcdonell-main'
194d8cdad8 pcp/Metric.c and pcp/Plaform.c: changes for pending PCP 7.0.0
b062d281ec Merge pull request performancecopilot#1723 from OlCe2/main
8028e5f35a FreeBSD: Update the internal priority reference point
218f2df97b Improve FunctionBar code regarding size handling
45d9a1db3e Fix sign-correctness for ScreenManager implementation
ebcbe86f59 Fix sign-correctness for FunctionBar implementation
c233779e51 Add missing include <stdint.h>
650cb4c9fa Merge branch 'main' of GermanAizek/htop
aafbc80208 Merge branch 'infocoredump' of BenBE/htop
adedc80b5c Split vector index check in debug mode
564ce6bbc8 Avoid vector OOB access when InfoScreens are empty while filtering
b144cfcdbe Align structures 8 byte for 64-bit platforms
1c31e2123a Merge pull request performancecopilot#1714 from fasterit/Make-Infoscreen-indicate-filtering-active-too
e7a0182111 Merge pull request performancecopilot#1588 from Explorer09/process-offsets-size-type
656a2d2775 Process: Use size_t for "cmdline" and "procExe" offsets
637723f2b7 Improve "comm" string highlighting in Process_makeCommandStr()
2bbd07cae8 Improve process cmdline basename matching with procExe path
5c55b803f9 Don't make highlights of zero-length cmdline basename
42ac7b8b98 Code simplification in Process_makeCommandStr()
d277f13932 Code style adjustment in matchCmdlinePrefixWithExeSuffix()
b748ffa584 Correct code commment in matchCmdlinePrefixWithExeSuffix()
223aa8a704 PCPProcessTable_updateCmdline() minor logic adjustment
6f948d3552 Merge pull request performancecopilot#1707 from Explorer09/string-width
e9e80017a1 Use strnlen() for some string width calculations
a97a157172 Add strnlen() function and configure check
b75e833552 Improve ScreenManager_drawScreenTabs() logic on screen width
bb5696f2cd Add assert and explicit cast in AffinityPanel name length
7f5f1b566e Add a constant 'bracketWidth' in Action_setScreenTab()
5fe6cfa9fb Adjust some Meter.c conditionals for readability
d94e0eb8ed Remove an unnecessary cast in RowField_keyAt()
3c32af7b03 Merge pull request performancecopilot#1715 from fasterit/improve-filter-optarg-handling
8988cff95f Merge branch 'loongarch-freq' of BenBE/htop
bbea3dc720 Check for CPU number on s390
67eafb3620 Handle special cases for CPU frequency data in /proc/cpuinfo
a1f6502e97 Merge pull request performancecopilot#1713 from fasterit/Add-Ctrl-U-to-filter-functions
52780f392f Make Ctrl-U clear the current Filter or Search string while editing it
c292c23206 Merge branch 'dbz-fix' of mugitya03/htop
a808b58ed3 Make empty --filter= command line arguments invalid
c91701ad8e Make Infoscreen also show uppercase FILTER when filtering (F4) is active
80e4532dc3 fix: support *-256color in $TERM key detection
98f0a11ea0 check totalCapacity before use it as a divisor
e6ebd45eb1 use a ternary to replace the if check
8f548f7286 Add a space
9d7fb42d40 check totalCapacity before use it as a divisor
a2707025a4 Merge pull request performancecopilot#1703 from natoscott/dynamic-ht_key_t-use
f543aefa51 Use correct hashtable key type (ht_key_t) in Dynamic screen/meter code
1cf2e67416 Use "h" property as height when drawing Graph meter
36ea1ef26b Merge pull request performancecopilot#1698 from Explorer09/pkgconfig-libnl
08a8910894 Allow custom search path for libnl; try pkg-config when needed
f58a2193bc build: Use pkg-config to detect libnl3 header path
5ef62af666 build: Simplify configure netlink/*.h detection code
b826dc1c2e build: Fix netlink/*.h detection logic in configure
d2c2689bf6 Fix configure '--enable-delayacct' help text
0290c584af Smaller thread_extended_info_data_t check code
31c95c6ca3 Merge pull request performancecopilot#1695 from Explorer09/darwin-thread-info-check
63bf09841e build (darwin): Fix a AC_COMPILE_IFELSE misquoting
030f801e88 Merge pull request performancecopilot#1620 from Explorer09/gpu-meter-darwin
7720dbdfb3 Implement fallback for old MacOS versions
01226cfc8b Merge pull request performancecopilot#1671 from petrosvisconte/add-color-scheme
1c9d4eca6f Merge pull request performancecopilot#1685 from Explorer09/backtrace-return-type
66519a015c Merge pull request performancecopilot#1669 from Explorer09/shorten-64-to-32-warnings
3badff3e59 Add COLORSCHEME_NORD: Nordic inspired theme
4b86accb95 Some '-Wshorten-64-to-32' warning fixes
0b6fd5cdfe OpenBSD: Check on AC power value being nonzero
aeeabea8fd Aesthetic tweaks on backtrace return type check
1d2d3843cb Avoid passing NULL to strlen when updating procComm
598e2c5e49 Fix backtrace return type check to work around a gcc bug
42273e346b Merge pull request performancecopilot#1682 from fasterit/fix-temperature-assignment-on-old-Intel-CPUs
a7e31f0f2a Make the physicalID default to 0 because old Intel processors only have that
e58baca4be Add GPUMeter code for Darwin
0ba6e59cae Move linux/GPUMeter.* to GPUMeter.*
33ea2e768f GPUMeter: Support placeholder "unavailable" values
6b0b47b9d0 Replace unnecessary RichString_appendnAscii() calls with appendAscii()
cddacadb1c Move GPUMeter Linux-specific code to Platform.c
52f2d3bdc5 Make GPU residue values consistent across meter instances
bb559f6909 GPUMeter_updateValues() code shrink
0135d97d91 Adjust linux/GPUMeter.c file structure; no code changes
987a47f767 Merge pull request performancecopilot#1677 from Explorer09/bar-meter-attr
b74b7277bc Meter: Reset attributes after drawing bar borders
3276b57333 Merge pull request performancecopilot#1675 from BenBE/cleanup-unsigned
49393f8a7f Use types based on API documentation (Darwin)
c2b3e6b1f5 Use size_t for array index related code (huge pages)
df3337d73e Use size_t for array index related code (scheduling)
bd1c277f40 Merge pull request performancecopilot#1649 from Explorer09/meter-integer-overflow
89bf83ad87 Meter: Don't draw caption if width is not enough (bar & graph)
358156efe8 Meter: Prevent undefined behaviours in draw() functions' logic
14f574517c Meter: Prevent integer overflow on x positions
48b29118ab CPUMeter: Fix negative "x" positions of sub-meters
898d429444 Keep following when moving left or right
cba15f2306 Merge pull request performancecopilot#1668 from Explorer09/backtrace-return-type
5103627775 build: Automatically detect backtrace(3) return type
87e4802f71 Merge pull request performancecopilot#1672 from Explorer09/openbsd-battery-sysctl
e51ab634ad openbsd: Document sysctl indices for ACPI battery & AC code
3b4f9bad10 Update configure.ac with next planned release number
348c0a6bf4 Release 3.4.1
ea23508d74 Updated changelog for next stable release

git-subtree-dir: vendor/github.com/htop-dev/htop
git-subtree-split: 9d8c8a16b28658ac98bb2fea106c5608f3987259
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant