diff options
author | Harsh Prateek Bora <harsh@linux.vnet.ibm.com> | 2011-12-21 12:37:23 +0530 |
---|---|---|
committer | Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> | 2011-12-21 12:37:23 +0530 |
commit | 058a96ed506d77714bcce3d69b351e364078c080 (patch) | |
tree | 58dcc49a6bb0c7157fbd9b1e67a1cc5ffb6e8c99 /qemu-config.h | |
parent | e4027caf9373c5797b7769f5120c249e31ab5487 (diff) |
scripts/analyse-9p-simpletrace.py: Add symbolic names for 9p operations.
Currently, we just print the numerical value of 9p operation identifier in
case of RERROR which is less meaningful for readability. Mapping 9p
operation ids to symbolic names provides a better tracelog:
RERROR (tag = 1 , id = TWALK , err = " No such file or directory ")
RERROR (tag = 1 , id = TUNLINKAT , err = " Directory not empty ")
This patch provides a dictionary of all possible 9p operation symbols mapped
to their numerical identifiers which are likely to be used in future at
various places in this script.
Signed-off-by: Harsh Prateek Bora <harsh@linux.vnet.ibm.com>
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Diffstat (limited to 'qemu-config.h')
0 files changed, 0 insertions, 0 deletions