<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/tools/power/cpupower/bench, branch linux-4.7.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.7.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.7.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2016-05-04T23:19:38Z</updated>
<entry>
<title>cpupower: fix potential memory leak</title>
<updated>2016-05-04T23:19:38Z</updated>
<author>
<name>Arjun Sreedharan</name>
</author>
<published>2016-04-29T07:00:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0b81561c1d30bb44e65d3725042e27b548bb1a86'/>
<id>urn:sha1:0b81561c1d30bb44e65d3725042e27b548bb1a86</id>
<content type='text'>
Signed-off-by: Thomas Renninger &lt;trenn@suse.com&gt;
Signed-off-by: Rafael J. Wysocki &lt;rafael.j.wysocki@intel.com&gt;
</content>
</entry>
<entry>
<title>cpupower: Add cpuidle parts into library</title>
<updated>2016-04-28T14:02:29Z</updated>
<author>
<name>Thomas Renninger</name>
</author>
<published>2016-04-28T13:24:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ac5a181d065d74fb6b213d538f743392f27bcdbd'/>
<id>urn:sha1:ac5a181d065d74fb6b213d538f743392f27bcdbd</id>
<content type='text'>
This more or less is a renaming and moving of functions and should not
introduce any functional change.

cpupower was built from cpufrequtils (which had a C library providing easy
access to cpu frequency platform info). In the meantime it got enhanced
by quite some neat cpuidle userspace tools.

Now the cpu idle functions have been separated and added to the cpupower.so
library.
So beside an already existing public header file:
cpufreq.h
cpupower now also exports these cpu idle functions in:
cpuidle.h

Here again pasted for better review of the interfaces:

======================================
int cpuidle_is_state_disabled(unsigned int cpu,
                                       unsigned int idlestate);
int cpuidle_state_disable(unsigned int cpu, unsigned int idlestate,
                                   unsigned int disable);
unsigned long cpuidle_state_latency(unsigned int cpu,
                                                unsigned int idlestate);
unsigned long cpuidle_state_usage(unsigned int cpu,
                                        unsigned int idlestate);
unsigned long long cpuidle_state_time(unsigned int cpu,
                                                unsigned int idlestate);
char *cpuidle_state_name(unsigned int cpu,
                                unsigned int idlestate);
char *cpuidle_state_desc(unsigned int cpu,
                                unsigned int idlestate);
unsigned int cpuidle_state_count(unsigned int cpu);

char *cpuidle_get_governor(void);
char *cpuidle_get_driver(void);

======================================

Signed-off-by: Thomas Renninger &lt;trenn@suse.com&gt;
Signed-off-by: Rafael J. Wysocki &lt;rafael.j.wysocki@intel.com&gt;
</content>
</entry>
<entry>
<title>cpupowerutils: bench: trivial fix of spelling mistake on "average"</title>
<updated>2016-04-28T14:02:29Z</updated>
<author>
<name>Colin Ian King</name>
</author>
<published>2016-04-28T13:24:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fe7656a8e8fcb3a0151b36b2f4c66763fa9553ea'/>
<id>urn:sha1:fe7656a8e8fcb3a0151b36b2f4c66763fa9553ea</id>
<content type='text'>
fix spelling mistake, avarage -&gt; average

Signed-off-by: Colin Ian King &lt;colin.king@canonical.com&gt;
Signed-off-by: Thomas Renninger &lt;trenn@suse.com&gt;
Signed-off-by: Rafael J. Wysocki &lt;rafael.j.wysocki@intel.com&gt;
</content>
</entry>
<entry>
<title>cpupower: bench: parse.c: fix several resource leaks</title>
<updated>2016-04-28T14:02:28Z</updated>
<author>
<name>Colin Ian King</name>
</author>
<published>2016-04-28T13:24:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=983d9e065b37dac5aaa2d5a819bdd5b5a0b78c8c'/>
<id>urn:sha1:983d9e065b37dac5aaa2d5a819bdd5b5a0b78c8c</id>
<content type='text'>
The error handling in prepare_output has several issues with
resource leaks.  Ensure that filename is free'd and the directory
stream DIR is closed before returning.

Signed-off-by: Colin Ian King &lt;colin.king@canonical.com&gt;
Signed-off-by: Thomas Renninger &lt;trenn@suse.com&gt;
Signed-off-by: Rafael J. Wysocki &lt;rafael.j.wysocki@intel.com&gt;
</content>
</entry>
<entry>
<title>Honour user's LDFLAGS</title>
<updated>2016-04-28T14:02:28Z</updated>
<author>
<name>Mattia Dongili</name>
</author>
<published>2016-04-28T13:24:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=04b03594c73c1877a98c7a657cc45bf5e9d89f7c'/>
<id>urn:sha1:04b03594c73c1877a98c7a657cc45bf5e9d89f7c</id>
<content type='text'>
Signed-off-by: Mattia Dongili &lt;malattia@linux.it&gt;
Signed-off-by: Thomas Renninger &lt;trenn@suse.com&gt;
Signed-off-by: Rafael J. Wysocki &lt;rafael.j.wysocki@intel.com&gt;
</content>
</entry>
<entry>
<title>cpupower: Provide STATIC variable in Makefile for debug builds</title>
<updated>2015-12-03T01:30:30Z</updated>
<author>
<name>Thomas Renninger</name>
</author>
<published>2015-12-01T16:14:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e51207f0030474958e59bbc7e002f169bdb05c50'/>
<id>urn:sha1:e51207f0030474958e59bbc7e002f169bdb05c50</id>
<content type='text'>
When working on cpupower code, you often want to compile library code into the
binary.

This allows to execute modified cpupower code, even with library changes
without doing "make install"

Signed-off-by: Thomas Renninger &lt;trenn@suse.com&gt;
Signed-off-by: Rafael J. Wysocki &lt;rafael.j.wysocki@intel.com&gt;
</content>
</entry>
<entry>
<title>cpupower: bench: parse.c: Fix several minor errors</title>
<updated>2014-07-29T23:57:13Z</updated>
<author>
<name>Rickard Strandqvist</name>
</author>
<published>2014-07-29T16:12:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=13f6de52b149c030b0d529a3d8d68267ed20f01c'/>
<id>urn:sha1:13f6de52b149c030b0d529a3d8d68267ed20f01c</id>
<content type='text'>
Resolved several minor errors in prepare_config() and made some additional improvements.
Earlier, the risk of file stream that was not closed. Misuse of strncpy, and the use of strncmp with strlen that makes it pointless.
I also check that sscanf has been successful, otherwise continue to the next line. And minimized the use of magic numbers.

This was found using a static code analysis program called cppcheck.

Signed-off-by: Rickard Strandqvist &lt;rickard_strandqvist@spectrumdigital.se&gt;
Signed-off-by: Thomas Renninger &lt;trenn@suse.de&gt;
Signed-off-by: Rafael J. Wysocki &lt;rafael.j.wysocki@intel.com&gt;
</content>
</entry>
<entry>
<title>cpupower tool: allow to build in a separate directory</title>
<updated>2012-03-03T13:40:10Z</updated>
<author>
<name>Franck Bui-Huu</name>
</author>
<published>2012-02-01T11:08:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=68bb2c3a145c9ccac9e695baffefde0c3b303cba'/>
<id>urn:sha1:68bb2c3a145c9ccac9e695baffefde0c3b303cba</id>
<content type='text'>
This patch allows cpupower tool to generate its output files in a
seperate directory. This is now possible by passing the 'O=&lt;path&gt;' to
the command line.

This can be usefull for a normal user if the kernel source code is
located in a read only location.

This is patch stole some bits of the perf makefile.

[linux@dominikbrodowski.net: fix commit message]
Signed-off-by: Franck Bui-Huu &lt;fbuihuu@gmail.com&gt;
Signed-off-by: Dominik Brodowski &lt;linux@dominikbrodowski.net&gt;
</content>
</entry>
<entry>
<title>cpupowerutils: Rename: libcpufreq-&gt;libcpupower</title>
<updated>2011-07-29T16:35:40Z</updated>
<author>
<name>Thomas Renninger</name>
</author>
<published>2011-04-21T15:50:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4c22337f866cd3559023372a2111352a7610dfee'/>
<id>urn:sha1:4c22337f866cd3559023372a2111352a7610dfee</id>
<content type='text'>
[linux@dominikbrodowski.net: fix .gitignore]
Signed-off-by: Thomas Renninger &lt;trenn@suse.de&gt;
Signed-off-by: Dominik Brodowski &lt;linux@dominikbrodowski.net&gt;
</content>
</entry>
<entry>
<title>cpupowerutils: bench - ConfigStyle bugfixes</title>
<updated>2011-07-29T16:35:38Z</updated>
<author>
<name>Dominik Brodowski</name>
</author>
<published>2011-04-19T17:20:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=02af3cb5aac13d8ef7edb7876260564b7d42ad2b'/>
<id>urn:sha1:02af3cb5aac13d8ef7edb7876260564b7d42ad2b</id>
<content type='text'>
Signed-off-by: Dominik Brodowski &lt;linux@dominikbrodowski.net&gt;
</content>
</entry>
</feed>
