diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2012-06-19 09:13:35 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-06-20 16:41:38 -0700 |
commit | 169d1338ed4ed91412761a77095a13b9992993ba (patch) | |
tree | 58deb492b59544715bd0fb7c36913d43807244db /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | d20411588d2f47ded7b0a02ed1005c7e3ce0df40 (diff) |
mei: make mei_write_message more readable
1. reduce hairy casting
2. replace open code with mei_count_empty_write_slots
4. include header size in check for overflow
3. use concise for loop instead of a while loop
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions