I am explaining from bottom up:
Create the kernel module (compile it with the kernel source running on the
device you plan to run the module) . Use IOCTL to call from user space to
kernel. (Write a C loadable library which does the IOCTL calling). Then
from java you can use JNI to call this C libra
C A510e
>
> - Reply message -
> 发件人: "Kanishka Ariyapala"
> 收件人:
> 主题: [android-kernel] NDK belong to which layer
> 日期: 周日, 11 月 18 日, 2012 年 12:32 下午
>
>
> I have an NDK developed part in an application. To which layer of Android
> dose it belong? A
I have an NDK developed part in an application. To which layer of Android
dose it belong? Application or Libraries..
(Application, Application Framework, Libraries, Kernel)
--
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel
Android is using two cgroups for back ground and foreground processors.
Normally the foreground processes run at default priority and the
background processes run at background priority (10) . How dose android
switch processes between groups? or how dose android add a background
process in to the b
Thanks i'll try it..
On Tuesday, September 4, 2012 10:18:30 PM UTC+5:30, mpchap wrote:
>
> Lmbench
>
> Sent from my Windows Phone
> ------
> From: kanishka
> Sent: 04-09-2012 21:07
> To: android...@googlegroups.com
> Subject: [android-ke
I was able to cross compile Interbench to ARM.. however when running it on
emulator give an error and wont execute.. Dose anyone know some other bench
making mechanism for ARM?
On Tuesday, September 4, 2012 2:32:20 PM UTC+5:30, kanishka wrote:
>
> Hi,
>
> Is there a way to b
Hi,
Is there a way to benchmark the scheduler running in android? While
googling came across a tool called "interbench"
http://users.on.net/~ckolivas/interbench/, which can be used to benchmark
the interactiveness of Linux. Are there such tools for android/ ARM?
Thanks
--
unsubscribe: androi
#x27;s +10% CPU usage.*" '
Is this applicable to Android kernel? since I haven't calculated the CPU
usage will it give a different result when changing the nice values?
can any body give some ideas??
On Wed, Jun 27, 2012 at 1:09 PM, Kanishka Ariyapala
wrote:
> Looked in to the c
could.
>
> Might be able to give a better answer if you explained a bit more about
> your use case.
>
> ~Alex
>
>
> On Wed, Jun 27, 2012 at 1:32 AM, Kanishka Ariyapala > wrote:
>
>> I looked in to the /proc//stat and it gives some use full
>> inf
cpu: 0
rt_priority: 0
policy: 0
#
can any body give some ideas?
On Tue, Jun 26, 2012 at 8:20 AM, kanishka wrote:
> Hi all,
>
> I want to measure if there is any increase in CPU usage by a process after
> issuing the renice command. top gives
I have pushed a module to the android emulator. In order for the module to
work kernel module options must be enabled.
Then the insmod module_name.ko will work.
On Friday, June 8, 2012 12:53:05 AM UTC-7, James Wang wrote:
>
> I'm new to kernel development. I'm trying to push snd-usb-audio modul
>> I want to renice the value of a process depending on a sensor
>> value(GPS), with out issuing the renice cmd. How can this be achieved?
>> writing a kernel module? a shell script(are they possible??)
>>
>> Regards,
>> Kanishka
>
> --
> unsubscribe: a
t; On Thu, May 31, 2012 at 10:47 AM, Ken Chen wrote:
>
>>
>>
>> On Wed, May 30, 2012 at 3:56 AM, Kanishka Ariyapala <
>> kanishka...@gmail.com> wrote:
>>
>>> Thank you Ken for the reply. I created a cgroup under /dev/cpuctl and
>>> added
c by
> default. You can create a sub-cpu cgroup under /dev/cpuctl, and control the
> priorization of processes there as long as your process is granted with
> CAP_SYS_NICE capability or running as root.
>
> Ken
>
> On Mon, May 28, 2012 at 6:55 AM, Kanishka Ariyapala > wrote:
S_CTLR=y
> CONFIG_CGROUP_MEM_RES_CTLR_SWAP=y
> CONFIG_MM_OWNER=y
>
> Why is mount saying device busy?
>
> note: I was following the steps in the documentation(sched-design-
> CFS.txt)
>
> Regards,
> Kanishka
>
> --
> unsubscribe: android-kernel+unsubsc
Hi,
For testing I want to implement a system call. I was following this link,
http://miguelaosorio.com/index.php?option=com_content&view=article&id=53:create-a-system-cal
..
as it tells I added
CALL(sys_test1) in goldfish/arch/arm/kernel calls.S
#define __NR_test1 (__NR_SYSCALL_BASE+361) in
gol
Hi Tim,
I am able to successfully compile the goldfish kernel for the emulator.
Here is the link I follow.
http://stackoverflow.com/questions/1809774/android-kernel-compile-and-test-with-android-emulator
Regards,
Kanishka
On Fri, May 4, 2012 at 10:20 AM, Tim Bird wrote:
> Thanks. I'
dio HAL
> but I am no expert on this to comment here :-(
>
> On Tue, Apr 24, 2012 at 10:25 PM, Kanishka Ariyapala
> wrote:
>
>> Thanks Durga,
>>
>> Do you know any good reference material for sysfs? so I can get start
>> on it. I am new to device drivers. Also
kernel, you need to use
printk to print data structures, process flow etc, rty? have you used
it or do u have any idea? or any other way of achieving this?
Regards,
Kanishka
On 4/24/12, Tsai Gaggery wrote:
> I think it may not reasonable to do this, because you have to make
> sure the proces
t is not
that simple because a have initialize data structures(like
task_struct) and then to be put in to the rbtree. Also to make it the
left most node as far as possible.
In your opinion how do you think I should proceed?
Regards,
Kanishka
On 4/24/12, Tim Bird wrote:
> On 04/24/2012 10:12
Falcone wrote:
> Hi Kanishka,
>
> Thanks Deborah,
>>
>> What are these five files - sched.c, sched.h, sched_fair.c ??
>>
>>
> I read part of Android source code and I find notice about scheduler
> in *sched.h,
> sched_policy.h, sched_policy.c*!
>
> file
Hi Gaggery,
Thanks for the reply.
Sori for the miss understanding. init.rc won't work I guess. I want
some thing done at the kernel level(scheduler) I mean like telling the
scheduler about a process and the scheduler adding it to the red-black
tree of the CFS.
Regards,
Kanishka
On 4/23/12,
the
noise level, or is it different?
Thank you,
Regards,
Kanishka
On 4/23/12, Durgadoss Ramanathan wrote:
> Hi,
> I have written a couple of Accelerometer drivers, where the properties are
> exposed
> via a Sysfs interface. So, you would want to figure out the sysfs paths
&
to any reference material? What I need is to access the
accelerometer and read the value but it must not block the android
sensor API either.
Regards,
Kanishka
On 4/23/12, Kolja Dummann wrote:
> Depending on the driver for the accelerometer. Most act like a input device
> and will po
thank you for the response.
--
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel
Hello everyone,
I am new to this. Can any1 please help me with the links or the
documentation where I get the
list of the patches added to the versions of kernel?
I am trying to learn how to browse the patches and its integration
techniques.
Please help.
Regards,
Kanishka Dutta
26 matches
Mail list logo