Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions procmap
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#
# Thus, we obtain a full 'picture', a COMPLETE MEMORY MAP of the given process's
# VAS (Virtual Address Space)!
#
#
# Common terms:
# kva = kernel virtual address
# uva = user virtual address
Expand Down Expand Up @@ -376,7 +376,7 @@ XKERN_FILE=${XKERN_FILE}
done
shift $((OPTIND-1))

[[ ${PID} -eq 0 ]] && err 0 "Error: Invalid PID (must be a positive integer)"
[[ ${PID} -eq 0 ]] && err 0 "Specifying a valid PID with -p|--pid=<PID> is mandatory"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right; can you make the err msg as:
"Specifying a valid PID with -p <PID> or --pid=<PID> is mandatory"


LOG=log_procmap.txt
TMPCSV=/tmp/${name}/vgrph.csv
Expand Down