#
555d2c93 |
| 21-Jul-2022 |
Dimitry Andric <dim@FreeBSD.org> |
Adjust pmc_thread_descriptor_pool_drain() definition to avoid clang 15 warning
With clang 15, the following -Werror warning is produced:
sys/dev/hwpmc/hwpmc_mod.c:2462:33: error: a function dec
Adjust pmc_thread_descriptor_pool_drain() definition to avoid clang 15 warning
With clang 15, the following -Werror warning is produced:
sys/dev/hwpmc/hwpmc_mod.c:2462:33: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] pmc_thread_descriptor_pool_drain() ^ void
This is because pmc_thread_descriptor_pool_drain() is declared with a (void) argument list, but defined with an empty argument list. Make the definition match the declaration.
MFC after: 3 days
show more ...
|
Revision tags: release/13.1.0 |
|
#
fdfeaa66 |
| 16-Feb-2022 |
Aleksandr Rybalko <ray@freebsd.org> |
Support of optional PMC classes.
Reviewed by: mhorne Differential Revision: https://reviews.freebsd.org/D32316
|
#
918505d0 |
| 15-Jun-2022 |
Alexander Motin <mav@FreeBSD.org> |
hwpmc: Correct sysctl description.
MFC after: 2 weeks
|
#
ca341f3c |
| 09-Jun-2022 |
John Baldwin <jhb@FreeBSD.org> |
hwpmc: Permit the minimum sampling count to be set as a sysctl.
A rarely occurring event (e.g. an event that occurs less than 1000 times during execution of a program) may require a lower minimum th
hwpmc: Permit the minimum sampling count to be set as a sysctl.
A rarely occurring event (e.g. an event that occurs less than 1000 times during execution of a program) may require a lower minimum threshold than 1000. Replace the hardcoded 1000 with a sysctl that the administrator can use to permit smaller sampling count values.
Reviewed by: mhorne, mav Sponsored by: University of Cambridge, Google, Inc. Differential Revision: https://reviews.freebsd.org/D35400
show more ...
|
#
eff9ee7c |
| 07-Jun-2022 |
Alexander Motin <mav@FreeBSD.org> |
hwpmc: Increase thread priority while iterating CPUs.
This allows to profile already running high-priority threads, that otherwise by blocking thread migration to respective CPUs blocked PMC managem
hwpmc: Increase thread priority while iterating CPUs.
This allows to profile already running high-priority threads, that otherwise by blocking thread migration to respective CPUs blocked PMC management, i.e. profiling could start only when workload completed.
While there, return the thread to its original CPU after iterating the list. Otherwise all threads using PMC end up on the last CPU.
MFC after: 1 month
show more ...
|
#
9966757d |
| 26-Jan-2022 |
Gordon Bergling <gbe@FreeBSD.org> |
hwpmc(4): Fix a typo in a sysctl description
- s/avalable/available/
MFC after: 3 days
|
#
1886cef6 |
| 26-Dec-2021 |
Alexander Motin <mav@FreeBSD.org> |
hwpmc: Remove CTLFLAG_NEEDGIANT from sysctl.
MFC after: 2 weeks
|
Revision tags: release/12.3.0 |
|
#
aee6e7dc |
| 15-Jul-2021 |
Mateusz Guzik <mjg@FreeBSD.org> |
hwpmc: mostly clean up cc --analyze
Sponsored by: Rubicon Communications, LLC ("Netgate")
|
Revision tags: release/13.0.0, release/12.2.0 |
|
#
e2515283 |
| 27-Aug-2020 |
Glen Barber <gjb@FreeBSD.org> |
MFH
Sponsored by: Rubicon Communications, LLC (netgate.com)
|
#
feabaaf9 |
| 24-Aug-2020 |
Mateusz Guzik <mjg@FreeBSD.org> |
cache: drop the always curthread argument from reverse lookup routines
Note VOP_VPTOCNP keeps getting it as temporary compatibility for zfs.
Tested by: pho
|
#
440cec3f |
| 12-Aug-2020 |
Glen Barber <gjb@FreeBSD.org> |
MFH
Sponsored by: Rubicon Communications, LLC (netgate.com)
|
#
e383ec74 |
| 06-Aug-2020 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r363739 through r363986.
|
#
96ad26ee |
| 04-Aug-2020 |
Mark Johnston <markj@FreeBSD.org> |
Remove free_domain() and uma_zfree_domain().
These functions were introduced before UMA started ensuring that freed memory gets placed in domain-local caches. They no longer serve any purpose since
Remove free_domain() and uma_zfree_domain().
These functions were introduced before UMA started ensuring that freed memory gets placed in domain-local caches. They no longer serve any purpose since UMA now provides their functionality by default. Remove them to simplyify the kernel memory allocator interfaces a bit.
Reviewed by: cem, kib Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D25937
show more ...
|
#
c7aa572c |
| 31-Jul-2020 |
Glen Barber <gjb@FreeBSD.org> |
MFH
Sponsored by: Rubicon Communications, LLC (netgate.com)
|
#
17996960 |
| 31-Jul-2020 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r363583 through r363738.
|
#
24e337be |
| 28-Jul-2020 |
Ryan Moeller <freqlabs@FreeBSD.org> |
libpmc: Use known pmc_cpuid buffer size
Use the existing PMC_CPUID_LEN to size pmc_cpuid in the kernel and various buffers for reading it in libpmc. This avoids some extra syscalls and malloc/frees
libpmc: Use known pmc_cpuid buffer size
Use the existing PMC_CPUID_LEN to size pmc_cpuid in the kernel and various buffers for reading it in libpmc. This avoids some extra syscalls and malloc/frees.
While in here, use strlcpy to copy a user-provided cpuid string instead of memcpy, to make sure we terminate the buffer.
Reviewed by: mav MFC after: 1 week Sponsored by: iXsystems, Inc. Differential Revision: https://reviews.freebsd.org/D25679
show more ...
|
Revision tags: release/11.4.0 |
|
#
9b1d850b |
| 30-Mar-2020 |
Mark Johnston <markj@FreeBSD.org> |
Remove the "config" taskqgroup and its KPIs.
Equivalent functionality is already provided by taskqueue(9), just use that instead.
MFC after: 2 weeks Sponsored by: The FreeBSD Foundation
|
#
9893ab3f |
| 30-Mar-2020 |
Mark Johnston <markj@FreeBSD.org> |
Fix accounting of hwpmc's thread descriptor freelist.
MFC after: 1 week Sponsored by: The FreeBSD Foundation
|
#
75dfc66c |
| 27-Feb-2020 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r358269 through r358399.
|
#
7029da5c |
| 26-Feb-2020 |
Pawel Biernacki <kaktus@FreeBSD.org> |
Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many)
r357614 added CTLFLAG_NEEDGIANT to make it easier to find nodes that are still not MPSAFE (or already are but aren’t properly mark
Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many)
r357614 added CTLFLAG_NEEDGIANT to make it easier to find nodes that are still not MPSAFE (or already are but aren’t properly marked). Use it in preparation for a general review of all nodes.
This is non-functional change that adds annotations to SYSCTL_NODE and SYSCTL_PROC nodes using one of the soon-to-be-required flags.
Mark all obvious cases as MPSAFE. All entries that haven't been marked as MPSAFE before are by default marked as NEEDGIANT
Approved by: kib (mentor, blanket) Commented by: kib, gallatin, melifaro Differential Revision: https://reviews.freebsd.org/D23718
show more ...
|
Revision tags: release/12.1.0 |
|
#
1bb4eefa |
| 13-Oct-2019 |
Matt Macy <mmacy@FreeBSD.org> |
Fix sample check in hwpmc
Don't drop samples with callchain pending
Tested by: mjg@
Submitted by: Rajeeb Barman at amd.com MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D170
Fix sample check in hwpmc
Don't drop samples with callchain pending
Tested by: mjg@
Submitted by: Rajeeb Barman at amd.com MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D17011
show more ...
|
#
8b3bc70a |
| 08-Oct-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r352764 through r353315.
|
#
2288078c |
| 08-Oct-2019 |
Doug Moore <dougm@FreeBSD.org> |
Define macro VM_MAP_ENTRY_FOREACH for enumerating the entries in a vm_map. In case the implementation ever changes from using a chain of next pointers, then changing the macro definition will be nece
Define macro VM_MAP_ENTRY_FOREACH for enumerating the entries in a vm_map. In case the implementation ever changes from using a chain of next pointers, then changing the macro definition will be necessary, but changing all the files that iterate over vm_map entries will not.
Drop a counter in vm_object.c that would have an effect only if the vm_map entry count was wrong.
Discussed with: alc Reviewed by: markj Tested by: pho (earlier version) Differential Revision: https://reviews.freebsd.org/D21882
show more ...
|
Revision tags: release/11.3.0 |
|
#
88148a07 |
| 22-Jan-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r343202 through r343319.
|
#
8f77f60f |
| 21-Jan-2019 |
Mark Johnston <markj@FreeBSD.org> |
hwpmc: Plug memory disclosures from PMC_OP_{GETPMCINFO,GETCPUINFO}.
admbugs: 765 Reported by: Vlad Tsyrklevich <vlad@tsyrklevich.net> MFC after: 1 day Security: Kernel memory disclosure Sponsored by
hwpmc: Plug memory disclosures from PMC_OP_{GETPMCINFO,GETCPUINFO}.
admbugs: 765 Reported by: Vlad Tsyrklevich <vlad@tsyrklevich.net> MFC after: 1 day Security: Kernel memory disclosure Sponsored by: The FreeBSD Foundation
show more ...
|