-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix empty interrupt statistic when CPU1 is offline
File "/proc/interrupts" contains statistics for CPUs that are not only available, but also online. That is, when reading the information from this file should use the number of CPUs that are online. In this patch, in all functions where the information is read from the file "/proc/interrupts", function "cpu_cores_count_get" is replaced by the function "cpu_online_cores_count_get". Signed-off-by: Oleksandr_Tyshchenko <oleksandr.tyshchenko@ti.com>
- Loading branch information
Oleksandr_Tyshchenko
authored and
Patrick Titiano
committed
Oct 9, 2012
1 parent
904ea26
commit 3bff560
Showing
3 changed files
with
24 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters