diff options
author | Andy Grover <agrover@redhat.com> | 2013-05-16 10:40:55 -0700 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2013-06-14 00:04:31 -0700 |
commit | d2843c173ee53cf4c12e7dfedc069a5bc76f0ac5 (patch) | |
tree | 36d952a14f5737a88afa759ce4a8d9c4bbd14d86 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | 33ce6a87f2aba790429ac228288edc0e410143a2 (diff) |
target: Alter core_pr_dump_initiator_port for ease of use
We use this function exclusively in debug prints. Instead of returning
0 or 1 if isid is present, just set buf to "" if it isn't there. This
saves callers from having to check the return value.
Signed-off-by: Andy Grover <agrover@redhat.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions