[<prev] [next>] [day] [month] [year] [list]
Message-ID: <CABQ-LR4XjYFy9cooAcXo5ZJK0Az8yw392iJf_5Z32eLpsbS+FQ@mail.gmail.com>
Date: Mon, 2 Jan 2012 17:52:55 +0330
From: Meisam Mohammadkhani <meisam.mohammadkhani@...il.com>
To: linux-kernel@...r.kernel.org
Subject: Be informed of task_struct modification
Hi Guys,
I want to make an state diagram from changes in related task_struct of
every processes (for using in my algorithm). For example assume that
below is an state diagram:
1->3->15->2
it will be interpreted as follow:
the first field of task_struct of a process had been changed, then
the third field of its task_struct had been changed, then ...
I want to know what is the approaches that I can be informed of
changes in task_struct of each processes? for example firs approach is
that I modify the kernel code, so everywhere which task_struct is
going to modify, I inform myself by for example a signal or anything
else. But this approach costs a lot time and will decrease the
performance. Also it will be a huge modification in kernel code. I
want to know if there is anything that is responsible for modification
of task_struct of processes?
Regards
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists