diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2014-06-09 11:16:37 +0900 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2014-06-10 14:59:33 +0200 |
commit | 18165efa8203a34d82f60a1831ea290e7304c654 (patch) | |
tree | e9efe9cedb1119d94c4708d93cfed23396e6a41d /mm/mprotect.c | |
parent | 1ecc8e489abfdaa6d8d1689f7ff62fdf1adda30c (diff) | |
download | linux-18165efa8203a34d82f60a1831ea290e7304c654.tar.bz2 |
scripts: objdiff: improve path flexibility for record command
Prior to this commit, scripts/objdiff expected to be run at the top
directory and only the relative path of objects.
This commit provides more flexibility in terms of object path:
[1] scripts/objdiff can be run in any directory
For example,
$ scripts/objdiff record init/main.o
and
$ cd init; ../scripts/objdiff record main.o
produce the same result.
[2] Support absolute path for objects
$ scripts/objdiff record /home/foo/bar/linux/init/main.o
work as well.
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Acked-by: Jason Cooper <jason@lakedaemon.net>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'mm/mprotect.c')
0 files changed, 0 insertions, 0 deletions