[go: nahoru, domu]

History log of /drivers/misc/uid_stat.c
Revision Date Author Comments
5e312620c82e4c269e446be8b7985bdfb4b097da 14-May-2013 Arve Hjønnevåg <arve@android.com> misc: uidstat: Remove use of obsolete create_proc_read_entry api

Signed-off-by: Arve Hjønnevåg <arve@android.com>
6b78c8f23c5028be3f6d0973c7d49af2f923e80b 31-May-2013 JP Abgrall <jpa@google.com> misc: uidstat: avoid create_stat() race and blockage.

* create_stat() race would lead to:
[ 58.132324] proc_dir_entry 'uid_stat/10061' already registered

* blocking kmalloc reported by sbranden
tcp_read_sock()
uid_stat_tcp_rcv()
create_stat()
kmalloc(GFP_KERNEL)

Signed-off-by: JP Abgrall <jpa@google.com>
e84594a680160a36913a95be687aa0cb8e1d2669 28-May-2010 Mike Chan <mike@android.com> net: activity_stats: Add statistics for network transmission activity

When enabled, tracks the frequency of network transmissions
(inbound and outbound) and buckets them accordingly.
Buckets are determined by time between network activity.

Each bucket represents the number of network transmisions that were
N sec or longer apart. Where N is defined as 1 << bucket index.

This network pattern tracking is particularly useful for wireless
networks (ie: 3G) where batching network activity closely together
is more power efficient than far apart.

New file: /proc/net/stat/activity

output:

Min Bucket(sec) Count
1 7
2 0
4 1
8 0
16 0
32 2
64 1
128 0

Change-Id: I4c4cd8627b872a55f326b1715c51bc3bdd6e8d92
Signed-off-by: Mike Chan <mike@android.com>
7114169926d1e1958cc014c537b1bc6910a77527 07-Jan-2009 Mike Chan <mike@android.com> misc: uidstat: Adding uid stat driver to collect network statistics.

Signed-off-by: Mike Chan <mike@android.com>