aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-09-17set terminal info for Android buildlinaroRajagopal Venkat
Signed-off-by: Rajagopal Venkat <rajagopal.venkat@linaro.org>
2012-09-17Add stubs to support Android platformRajagopal Venkat
This patch adds stubs for features that are not supported by Andriod. An header file which defines all stubs is included only for Android builds. Signed-off-by: Rajagopal Venkat <rajagopal.venkat@linaro.org>
2012-09-17Updates to support Android platformRajagopal Venkat
This patch adds following minor changes to prepare powertop to support Android platform. - Add missing HAVE_CONFIG_H conditional check. - remove un-used ethtool_cmd_speed_set and ethtool_cmd_speed functions. - Minimize dependency on exception handling in catch blocks. These changes will not affect powertop functionality. Signed-off-by: Rajagopal Venkat <rajagopal.venkat@linaro.org>
2012-09-14Remove unneded escaping backslashes from CSSIgor Zhbanov
Remove unneded escaping backslashes from CSS.
2012-09-13update of po filesChris E Ferron
2012-09-13abstract_cpu: do not call total_pstate_time() in validate()Sergey Senozhatsky
abstract_cpu: do not call total_pstate_time() in validate() Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
2012-09-12PowerTOP UI navigation enhancement(v3).Chris Ferron
This patch add more ui navigation features allowing for the scrolling of PowerTop content for each tab. This is done by controlling the location of the winpad, and refreshing the terminal window when needed. To do this, the navigation keys have been updated as follows. "Arrow Keys" now scroll the tab windows "Page up/down" scroll tab windows up and down "TAB" cycles the next window tab "SHIFT+TAB" cycles the previous window tab "ENTER" toggles tunables "SPACE BAR" toggles tunables "r KEY" refresh results and resets view of tab window. Known issues: There is no handler for terminal re-sizing. The workaround is to use "r KEY" to refresh if terminal windows size is changed mid session.
2012-09-12fixed minor cvs format issuev2.1.1Chris E Ferron
2012-09-12Adding CPU id'sChris E Ferron
2012-09-06Fix timer and work perf events timestamp tracingRajagopal Venkat
Fix timer and work perf events timestamp tracing by - considering event exit timestamp relative to measurement first timestamp for events which entry timestamp is not recorded. Currently these events exit timestamp itself is considered as usage period resulting in false usage report. - clearing event timestamps from global map at the end of each measurement to avoid collision with earlier recorded timestamps. Signed-off-by: Rajagopal Venkat <rajagopal.venkat@linaro.org>
2012-09-05remove the limitation to only process 5000 eventsChris E Ferron
2012-08-24fixed load_parameters errorChris E Ferron
2012-08-24Fix spelling of command line argument --quite to --quiet. Add a manpage ↵Joerg Mayer
entry for --quiet, which was missing. Signed-off-by: Joerg Mayer <jmpt@loplof.de>
2012-08-24Remove trailing whitespaceJoerg Mayer
Signed-off-by: Joerg Mayer <jmpt@loplof.de>
2012-08-24-V (version) does not take an argument, whether optional or not.Joerg Mayer
Signed-off-by: Joerg Mayer <jmpt@loplof.de>
2012-08-24Fix spelling of default names to match manpage.Joerg Mayer
Signed-off-by: Joerg Mayer <jmpt@loplof.de>
2012-08-24Reorder arguments alphabetically Spelling fix levesl to levelsJoerg Mayer
Signed-off-by: Joerg Mayer <jmpt@loplof.de>
2012-08-20update READEME marking optional, and required packagesChris E Ferron
2012-08-20Added todo for NCURSES stub to be done by those who need or want it.Chris E Ferron
2012-08-20Removed unwanted defines from PowerTOP.Chris E Ferron
It is desired that PowerTOP not use ifdef's for the majority. It is understood that if may just need to stub some code out, but this should be a rare case. To clean up code there are three defines identified -- DISABLE_NCURSES -- DISABLE_TRYCATCH -- DISABLE_I18N that are not really needed. They were put in the code originally to quickly support android. After evaluation it has occurred to us that there are better ways of dealing this distribution specific issues. It is preferred for the project, that stubs be created by those how need or care about such issues, and should be a separate stub.
2012-08-15Added EXTRA_DIST to doc makefile.am so make dist would include powertop.8v2.1Chris E Ferron
2012-08-15update po for releaseChris E Ferron
2012-08-15update version and TODO for 2.1 releaseChris E Ferron
2012-08-15update version and TODO for 2.1 releaseChris E Ferron
2012-08-07With the removal of boardname there is no more intrest in have override ↵Chris E Ferron
paramerters. Removed the global_fixed_paramerters as it is no longer a valid flag. Also removed teh global_power_overide from main section that loads parameters, as it will not be vaild at this point.
2012-08-06cleanup and po updateChris E Ferron
2012-08-06Add support for Intel GPU statisticsArjan van de Ven
As of the 3.5 kernel, the Intel GPUs report their C states (power gating) via sysfs. This patch will show them as part of the C state tab, arranged like a core inside package 0 (which matches physical topology) Changes since v1: incorporated feedback from Sergey
2012-08-06Allow for cores without P-statesArjan van de Ven
In a hybrid system (CPU and GPU), it's common (well, for Intel graphics) to not have statistics for the GPU P states, while we do have statistics for the GPU C states. This patch puts all the plumbing in place to allow for cores that don't have P states, to not show up in the P state displays
2012-08-06Make the "which C state line" logic betterArjan van de Ven
the ARM guys complained that their human-readable C state names didn't have numbers in them, and that as a result, the output is all messed up. Using the "linux_name" instead is only a partial solution; it messes up the x86 side of the logic. This patch fixes the logic to make the code use the human readable logic first, but if there's no numbers there, fall back to the Linux name. In addition, the patch allows callers to specify the line directly, overriding both sets of logic.
2012-08-06Use AM_SILENT_RULESArjan van de Ven
AM_SILENT_RULES makes the output for "make" much more readable; it also allows us to see warnings much more clearly.
2012-08-02Fix hrtimer event namesIgor Zhbanov
Fix hrtimer event names by adding "timer:" prefix.
2012-08-02fix transifex issuesChris E Ferron
2012-07-31update .gitignoreChris E Ferron
2012-07-31fix to parsing bug where httimer events are not properly added.Steven Rostedt
2012-07-30configure: First try to use libnl-3, then libnl-2, then libnl-1Igor Zhbanov
Change search order for libnl in configure.ac: first try to use libnl-3, then libnl-2, then libnl-1.
2012-07-30update git tree to remove .deps and .libs from traceevent.Chris E Ferron
2012-07-27added README for traceeventChris E Ferron
2012-07-27rebase pevent code to upstream kernel version of tools lib traceevent.Chris E Ferron
This will allow me to keep update and align with the libary code until it is usable without building it local.
2012-07-23add all current transfx filesChris E Ferron
2012-07-23update readmeChris E Ferron
2012-07-20removed re-define of __NR_perf_event_open, what was needed for stale headers ↵Chris E Ferron
in older kernels. sys/syscall.h will not be correct.
2012-07-20Removed boardname as the project is no longer supported, and the tool dosn't ↵Chris E Ferron
meet all needs as wanted.
2012-07-19conditionally disable pci if not supportedRajagopal Venkat
disable pci if not supported by host platform. When libpci is not found, define a macro which will be used for conditional compilation. Signed-off-by: Rajagopal Venkat <rajagopal.venkat@linaro.org>
2012-07-19For systems with pci you will want libpci, but for systems that do not have ↵Chris E Ferron
pci you will not. libpci has been made an optional lib, but for thoes who have pci, a warning has been added. this warning is to let people know that PowerTOP was configured with pci support.
2012-07-19conditionally disable pci if not supportedRajagopal Venkat
disable pci if not supported by host platform. When libpci is not found, define a macro which will be used for conditional compilation. Signed-off-by: Rajagopal Venkat <rajagopal.venkat@linaro.org>
2012-07-18Get rid of ncurses' TRUE and FALSEIgor Zhbanov
Get rid of TRUE and FALSE ncurses' defines used for boolean variables initialization. This fix also helps build without ncurses support.
2012-07-18Remove unneded zlib dependencyIgor Zhbanov
Remove unneded zlib dependency from configure.ac
2012-07-17Fix out-of-tree buildsStefan Weil
Out-of-tree builds are a very useful feature which should be supported by all programs which use GNU automake and the configure / make build. For powertop, only a very small fix was needed to make it work. Without that fix, powertop.css is not found when a build is not started from the source tree, so csstoh fails and creates no css.h. Signed-off-by: Stefan Weil <sw@weilnetz.de>
2012-07-17ccstoh: Don't return success if something went wrongStefan Weil
exit(0) is the same as returning EXIT_SUCCESS which is a bad idea after a severe failure. It will for example result in wrong behaviour of make (make won't stop after such failures). Returning EXIT_FAILURE fixes this. Signed-off-by: Stefan Weil <sw@weilnetz.de>
2012-07-17Fix handling of /proc/cpuinfo for non x86 architecturesStefan Weil
Not all architectures include lines with "vendor_id\t" or "processor\t". ARM Linux without SMP support includes neither of these two entries. With SMP support, there are "processor\t" entries for each CPU. Set vendor to an empty string initially, so there is a default value. Assume CPU id 0 when no number was set while encountering the first "bogomips\t" line. If there are more such lines without a correct number, only the first CPU is handled. This should not be needed for ARM, but makes the code more robust because it avoids calling handle_one_cpu twice with number == 0. Signed-off-by: Stefan Weil <sw@weilnetz.de>