On Thu, May 21, 2015 at 7:34 AM, Daniel Lezcano
wrote:
> Hi Ruchi,
>
> On 05/15/2015 02:12 AM, Ruchi Kandoi wrote:
>>
>> These patches add a mechanism which will accurately caculate the CPU power
>> used by all the processes in the system. In order to account for t
you,
Ruchi Kandoi
On Tue, Mar 11, 2014 at 12:32 PM, Rafael J. Wysocki wrote:
> On Monday, March 10, 2014 07:02:02 PM Ruchi Kandoi wrote:
>> Add API log_wakeup_reason() and expose it to userspace via sysfs path
>> /sys/kernel/wakeup_reasons/last_resume_reason
>> This is useful
of the accounting
kept on power consumption.
Signed-off-by: Ruchi Kandoi
Signed-off-by: Greg Hackmann
---
commit message changed for clarity
---
include/linux/wakeup_reason.h | 23 +++
kernel/power/Makefile | 2 +-
kernel/power/wakeup_reason.c | 141
of the accounting
kept on power consumption.
Signed-off-by: Ruchi Kandoi
Signed-off-by: Greg Hackmann
---
space added after prefix in the pr_fmt()
---
include/linux/wakeup_reason.h | 23 +++
kernel/power/Makefile | 2 +-
kernel/power/wakeup_reason.c | 141
ource only because the system was up and did not cause the
wake up to happen.
Regards,
Ruchi Kandoi
On Thu, Mar 13, 2014 at 3:18 PM, Rafael J. Wysocki wrote:
> Hi,
>
> I saw the v4, but I don't have it handy, so replying here.
>
> On Wednesday, March 12, 2014 12:46:38 PM R
logging for debugging purposes.
On Thu, Mar 13, 2014 at 6:06 PM, Rafael J. Wysocki wrote:
> On Thursday, March 13, 2014 05:43:20 PM Ruchi Kandoi wrote:
>> This should be true most of the times.
>>
>> But there might be cases otherwise too.
>>
>> For instance, t
Add API log_wakeup_reason() and expose it to userspace via sysfs path
/sys/kernel/wakeup_reasons/last_resume_reason
This is useful for power management diagnostic purposes.
Signed-off-by: Ruchi Kandoi
Signed-off-by: Greg Hackmann
---
include/linux/wakeup_reason.h | 23 +++
kernel/power
Adds the sysfs file for userspace to initialize the active current
values for all the cores at each of the frequencies.
The format for storing the values is as follows:
echo "CPU:= =,CPU:
..." > /sys/devices/system/cpu/cpufreq/current_in_state
Signed-off-by: Ruchi Kandoi
---
dr
he current numbers for each of the CPU core at each frequency. This will
be initialized during init time.
Ruchi Kandoi (2):
cpufreq_stats: Adds sysfs file
/sys/devices/system/cpu/cpufreq/current_in_state
sched: cpufreq: Adds a field cpu_power in the task_struct
drivers/cpufreq/cpufr
frequency.
Signed-off-by: Ruchi Kandoi
---
drivers/cpufreq/cpufreq_stats.c | 23 +++
include/linux/cpufreq.h | 8
include/linux/sched.h | 2 ++
kernel/fork.c | 1 +
kernel/sched/cputime.c | 7 +++
5 files changed, 41
frequency.
Signed-off-by: Ruchi Kandoi
---
drivers/cpufreq/cpufreq_stats.c | 28
include/linux/cpufreq.h | 8
include/linux/sched.h | 2 ++
kernel/fork.c | 1 +
kernel/sched/cputime.c | 7 +++
5 files changed
he current numbers for each of the CPU core at each frequency. This will
be initialized during init time.
Ruchi Kandoi (2):
cpufreq_stats: Adds sysfs file
/sys/devices/system/cpu/cpufreq/current_in_state
sched: cpufreq: Adds a field cpu_power in the task_struct
drivers/cpufreq/cpufr
Adds the sysfs file for userspace to initialize the active current
values for all the cores at each of the frequencies.
The format for storing the values is as follows:
echo "CPU:= =,CPU:
..." > /sys/devices/system/cpu/cpufreq/current_in_state
Signed-off-by: Ruchi Kandoi
---
dr
On Thu, May 14, 2015 at 7:48 PM, Viresh Kumar wrote:
> I am not replying for concept here, as sched maintainers are in a
> better position for that, but a nit below..
>
> On 14-05-15, 17:12, Ruchi Kandoi wrote:
>> Adds the sysfs file for userspace to initialize the active cur
If a wakeup source is found to be pending in the last stage of suspend
after syscore suspend then the device doesn't suspend but the error is
not propogated which causes an error in the accounting for the number
of suspend aborts and successful suspends.
Signed-off-by: Ruchi Kandoi
---
k
On Thu, May 14, 2015 at 11:34 PM, Heinrich Schuchardt
wrote:
>
> On 15.05.2015 02:12, Ruchi Kandoi wrote:
> > These patches add a mechanism which will accurately caculate the CPU power
> > used by all the processes in the system. In order to account for the power
> > use
On Fri, May 15, 2015 at 9:07 AM, Peter Zijlstra wrote:
>
> On Thu, May 14, 2015 at 04:55:48PM -0700, Ruchi Kandoi wrote:
> > cpu_power has been added to keep track of amount of power each task is
> > consuming. cpu_power is updated whenever stime and utime are updated for
&g
cators as well,
such as GEM implementations.
Greg Hackmann (1):
drivers: staging: ion: add ION_IOC_TAG ioctl
Ruchi Kandoi (5):
fs: add installed and uninstalled file_operations
drivers: misc: add memtrack
dma-buf: add memtrack support
memtrack: Adds the accounting to keep track of all m
g the responsible task_struct. These are low-level
APIs with only two in-tree callers, both adjusted in this patch.
Signed-off-by: Greg Hackmann
Signed-off-by: Ruchi Kandoi
---
drivers/android/binder.c | 4 ++--
fs/file.c| 38 +-
fs/o
From: Greg Hackmann
ION_IOC_TAG provides a userspace interface for tagging buffers with
their memtrack usage after allocation.
Signed-off-by: Ruchi Kandoi
---
drivers/staging/android/ion/ion-ioctl.c | 17 +
drivers/staging/android/uapi/ion.h | 25
child process instead of the parent.
Signed-off-by: Ruchi Kandoi
---
drivers/misc/memtrack.c | 45 +++
drivers/staging/android/ion/ion.c | 45 +--
include/linux/memtrack.h | 19 +++--
include
Signed-off-by: Greg Hackmann
Signed-off-by: Ruchi Kandoi
---
drivers/dma-buf/dma-buf.c | 37 ++
drivers/staging/android/ion/ion.c | 14 +
drivers/staging/android/ion/ion_priv.h | 2 ++
include/linux/dma-buf.h| 5
CK_DEBUG is intended for debugging memory leaks rather than
production use.
Signed-off-by: Greg Hackmann
Signed-off-by: Ruchi Kandoi
---
drivers/misc/Kconfig | 16 +++
drivers/misc/Makefile| 1 +
drivers/misc/memtrack.c | 360 +++
Since mmaped pages will be accounted by the PSS, memtrack needs a way
to differentiate the total memory that hasn't been accounted for.
Signed-off-by: Ruchi Kandoi
Signed-off-by: Greg Hackmann
---
drivers/misc/memtrack.c | 175 --
drivers/st
This helps to keep track of real time while debugging using kernel logs.
Cc: John Stultz
Signed-off-by: Ruchi Kandoi
---
kernel/time/timekeeping_debug.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/kernel/time/timekeeping_debug.c b/kernel/time/timekeeping_debug.c
index f6bd652
This helps to keep track of real time while debugging using kernel logs.
Cc: John Stultz
Signed-off-by: Ruchi Kandoi
---
Changelog since v1:
- removed cross platform warnings.
kernel/time/timekeeping_debug.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/kernel/time/timekeeping_debug.c
26 matches
Mail list logo