commit | 6756a0c9fe930cc5ccebf5313f605df0d127a2db | [log] [tgz] |
---|---|---|
author | Nick Kralevich <nnk@google.com> | Thu Mar 22 14:28:16 2012 -0700 |
committer | Nick Kralevich <nnk@google.com> | Thu Mar 22 15:51:24 2012 -0700 |
tree | 0d1bedeea33c147ab99a3297a88afff62e2cc037 | |
parent | e148601ee2a5cd83a6db80c3c4e24f3dc5a9ab31 [diff] |
logger: Add the update kernel struct to userspace Android's kernel logger can optionally return UID information in addition to the previously returned information. This information is available by telling the kernel to use the updated structure via the newly introduced LOGGER_SET_VERSION ioctl. int fd = open("/dev/log/main", O_RDONLY); int version = 2; ioctl(fd, LOGGER_SET_VERSION, &version); Change-Id: I6bfe7bfb9df45a56124aa8d0d19e7d7a18e06862