diff options
author | Petri Latvala <petri.latvala@intel.com> | 2018-11-13 13:22:51 +0200 |
---|---|---|
committer | Petri Latvala <petri.latvala@intel.com> | 2018-12-12 12:44:54 +0200 |
commit | f81cdf9d3a475b6135c0951d1c7169f226164baf (patch) | |
tree | 29932b94db2b03ad7b4ee402c550e95ac5464e8f /scripts/who.sh | |
parent | 3b52e8a5809a4e860350c59476a456745cd9fee0 (diff) |
runner: Handle escaped characters from kmsg
Characters in kernel logs, when read from /dev/kmsg, are escaped as
\xNN if they are not between 32 and 127 of if they are "\". Decode
what we can when creating results.json.
Signed-off-by: Petri Latvala <petri.latvala@intel.com>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Reviewed-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Diffstat (limited to 'scripts/who.sh')
0 files changed, 0 insertions, 0 deletions