diff options
author | Oleg Nesterov <[email protected]> | 2012-01-31 17:14:54 +0100 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2012-02-01 14:39:01 -0800 |
commit | 572d34b946bae070debd42db1143034d9687e13f (patch) | |
tree | b913d612090e8ec25e92451120ef64692c802264 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 71879d3cb3dd8f2dfdefb252775c1b3ea04a3dd4 (diff) |
proc: unify mem_read() and mem_write()
No functional changes, cleanup and preparation.
mem_read() and mem_write() are very similar. Move this code into the
new common helper, mem_rw(), which takes the additional "int write"
argument.
Cc: [email protected]
Signed-off-by: Oleg Nesterov <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions