diff options
author | Oleg Nesterov <[email protected]> | 2012-06-15 17:43:59 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2012-06-16 09:10:49 +0200 |
commit | 593609a59600c8377f311b300f14deacb155b9a4 (patch) | |
tree | 28185f8e2a1b8efd3a39f51fc6ab6803420ead67 /tools/perf/scripts/python/check-perf-trace.py | |
parent | 816c03fbabe64fa09f66fbb64e932081af381415 (diff) |
uprobes: __copy_insn() needs "loff_t offset"
1. __copy_insn() needs "loff_t offset", not "unsigned long",
to read the file.
2. use pgoff_t for "idx" and remove the unnecessary typecast.
3. fix the typo, "&=" is not what we want
4. can't resist, rename off1 to off.
Signed-off-by: Oleg Nesterov <[email protected]>
Acked-by: Srikar Dronamraju <[email protected]>
Acked-by: Ananth N Mavinakayanahalli <[email protected]>
Cc: Anton Arapov <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions