<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ports/sysutils/turbostat/files, branch main</title>
<subtitle>FreeBSD ports tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/ports/'/>
<entry>
<title>sysutils/turbostat: fix bus error on Intel(R) Core(TM) Ultra 7 155H</title>
<updated>2024-12-16T16:33:41+00:00</updated>
<author>
<name>Michael Zhilin</name>
<email>mizhka@FreeBSD.org</email>
</author>
<published>2024-12-16T16:30:29+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/ports/commit/?id=f79bebc91f4aa4ba68dc60bd44c4483c9b5272eb'/>
<id>f79bebc91f4aa4ba68dc60bd44c4483c9b5272eb</id>
<content type='text'>
This patch makes turbostat working on Intel(R) Core(TM) Ultra 7 155H
Patch is straighforward to avoid "-1" as argument for cpuset

PR:           283007
Reviewed by:  fuz
Sponsored by: Postgres Professional
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch makes turbostat working on Intel(R) Core(TM) Ultra 7 155H
Patch is straighforward to avoid "-1" as argument for cpuset

PR:           283007
Reviewed by:  fuz
Sponsored by: Postgres Professional
</pre>
</div>
</content>
</entry>
<entry>
<title>sysutils/turbostat: unbreak runtime on FreeBSD &gt;= 13.1</title>
<updated>2023-02-19T00:44:25+00:00</updated>
<author>
<name>Jan Beich</name>
<email>jbeich@FreeBSD.org</email>
</author>
<published>2023-02-19T00:28:44+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/ports/commit/?id=b27279cba1cad5a4f00237ddfffe11789e1c2053'/>
<id>b27279cba1cad5a4f00237ddfffe11789e1c2053</id>
<content type='text'>
$ turbostat
turbostat version 17.06.23 - Len Brown &lt;lenb@kernel.org&gt;
Segmentation fault

* thread #1, name = 'turbostat', stop reason = signal SIGSEGV: invalid address (fault address: 0x0)
    frame #0: 0x0000000000216992 turbostat`topology_probe at turbostat.c:4685:7
   4682          * Validate that all cpus in cpu_subset are also in cpu_present_set
   4683          */
   4684         for (i = 0; i &lt; CPU_SUBSET_MAXCPUS; ++i) {
-&gt; 4685                 if (CPU_ISSET_S(i, cpu_subset_size, cpu_subset))
   4686                         if (!CPU_ISSET_S(i, cpu_present_setsize, cpu_present_set))
   4687                                 err(1, "cpu%d not present", i);
   4688         }
(lldb) bt
* thread #1, name = 'turbostat', stop reason = signal SIGSEGV: invalid address (fault address: 0x0)
  * frame #0: 0x0000000000216992 turbostat`topology_probe at turbostat.c:4685:7
    frame #1: 0x00000000002111c9 turbostat`setup_all_buffers at turbostat.c:4853:2
    frame #2: 0x0000000000217909 turbostat`turbostat_init at turbostat.c:4888:2
    frame #3: 0x0000000000218f3f turbostat`main(argc=1, argv=0x0000000820444710) at turbostat.c:5447:2
    frame #4: 0x0000000000207160 turbostat`_start(ap=&lt;unavailable&gt;, cleanup=&lt;unavailable&gt;) at crt1_c.c:73:7
(lldb) p cpu_subset
(cpu_set_t *) $0 = NULL

PR:		262866
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
$ turbostat
turbostat version 17.06.23 - Len Brown &lt;lenb@kernel.org&gt;
Segmentation fault

* thread #1, name = 'turbostat', stop reason = signal SIGSEGV: invalid address (fault address: 0x0)
    frame #0: 0x0000000000216992 turbostat`topology_probe at turbostat.c:4685:7
   4682          * Validate that all cpus in cpu_subset are also in cpu_present_set
   4683          */
   4684         for (i = 0; i &lt; CPU_SUBSET_MAXCPUS; ++i) {
-&gt; 4685                 if (CPU_ISSET_S(i, cpu_subset_size, cpu_subset))
   4686                         if (!CPU_ISSET_S(i, cpu_present_setsize, cpu_present_set))
   4687                                 err(1, "cpu%d not present", i);
   4688         }
(lldb) bt
* thread #1, name = 'turbostat', stop reason = signal SIGSEGV: invalid address (fault address: 0x0)
  * frame #0: 0x0000000000216992 turbostat`topology_probe at turbostat.c:4685:7
    frame #1: 0x00000000002111c9 turbostat`setup_all_buffers at turbostat.c:4853:2
    frame #2: 0x0000000000217909 turbostat`turbostat_init at turbostat.c:4888:2
    frame #3: 0x0000000000218f3f turbostat`main(argc=1, argv=0x0000000820444710) at turbostat.c:5447:2
    frame #4: 0x0000000000207160 turbostat`_start(ap=&lt;unavailable&gt;, cleanup=&lt;unavailable&gt;) at crt1_c.c:73:7
(lldb) p cpu_subset
(cpu_set_t *) $0 = NULL

PR:		262866
</pre>
</div>
</content>
</entry>
<entry>
<title>sysutils/turbostat: use CPU_* macros defined in -CURRENT</title>
<updated>2021-12-31T21:34:49+00:00</updated>
<author>
<name>Stefan Eßer</name>
<email>se@FreeBSD.org</email>
</author>
<published>2021-12-31T21:32:18+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/ports/commit/?id=6cc600ed7040ae0270d22f580c4778266d9bdbe4'/>
<id>6cc600ed7040ae0270d22f580c4778266d9bdbe4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>sysutils/turbostat: Update to fix sysctl kern.sched.topology_spec max length</title>
<updated>2020-12-09T18:28:56+00:00</updated>
<author>
<name>Eric Turgeon</name>
<email>ericbsd@FreeBSD.org</email>
</author>
<published>2020-12-09T18:28:56+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/ports/commit/?id=8a493888cecf60d2dc8a66f3892ad30fac9d6640'/>
<id>8a493888cecf60d2dc8a66f3892ad30fac9d6640</id>
<content type='text'>
Submitted by:	darkfiberiru_gmail.com
Reviewed by:	scottph	freqlabs
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Submitted by:	darkfiberiru_gmail.com
Reviewed by:	scottph	freqlabs
</pre>
</div>
</content>
</entry>
<entry>
<title>sysutils/turbostat: Fix reading topology with multiple packages</title>
<updated>2018-08-03T20:06:27+00:00</updated>
<author>
<name>Kurt Jaeger</name>
<email>pi@FreeBSD.org</email>
</author>
<published>2018-08-03T20:06:27+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/ports/commit/?id=1f67ccc2f58f738caf51589eb402b9c729fb598d'/>
<id>1f67ccc2f58f738caf51589eb402b9c729fb598d</id>
<content type='text'>
Fixed a bug where core identifiers within a package would not
count from zero. This caused a out-of-bounds array access when
multiple packages were present.

Also gracefully handle the absence of the kern.intrs sysctl (added
in 12.0), and don't use reallocarray (added in 11.0).

PR:		230066
Reported by:	kbowling
Submitted by:	D Scott Phillips &lt;d.scott.phillips@intel.com&gt; (maintainer)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixed a bug where core identifiers within a package would not
count from zero. This caused a out-of-bounds array access when
multiple packages were present.

Also gracefully handle the absence of the kern.intrs sysctl (added
in 12.0), and don't use reallocarray (added in 11.0).

PR:		230066
Reported by:	kbowling
Submitted by:	D Scott Phillips &lt;d.scott.phillips@intel.com&gt; (maintainer)
</pre>
</div>
</content>
</entry>
<entry>
<title>New port: sysutils/turbostat</title>
<updated>2018-07-25T19:17:22+00:00</updated>
<author>
<name>Kurt Jaeger</name>
<email>pi@FreeBSD.org</email>
</author>
<published>2018-07-25T19:17:22+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/ports/commit/?id=75036c1703e29bd2f359b30a4ecf789d26ccb952'/>
<id>75036c1703e29bd2f359b30a4ecf789d26ccb952</id>
<content type='text'>
Report processor topology, frequency, idle power-state
statistics, temperature and power on X86 processors.

WWW: https://github.com/torvalds/linux/tree/master/tools/power/x86/turbostat

PR:		229988
Submitted by:	D Scott Phillips &lt;d.scott.phillips@intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Report processor topology, frequency, idle power-state
statistics, temperature and power on X86 processors.

WWW: https://github.com/torvalds/linux/tree/master/tools/power/x86/turbostat

PR:		229988
Submitted by:	D Scott Phillips &lt;d.scott.phillips@intel.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
