summaryrefslogtreecommitdiffstats
path: root/Documentation/s390
diff options
context:
space:
mode:
authorThomas Richter <tmricht@linux.vnet.ibm.com>2016-06-08 13:58:22 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2016-06-13 15:58:23 +0200
commit1b8b9c81a99ace2c706aa8696e12dd846df50078 (patch)
tree06bf3a6ebafdf8c7354fccf96855b2414d9c1642 /Documentation/s390
parent72a9b02d3b55d5ffeb4a00ad99b2c2471ebfa23c (diff)
downloadlinux-stable-1b8b9c81a99ace2c706aa8696e12dd846df50078.tar.gz
linux-stable-1b8b9c81a99ace2c706aa8696e12dd846df50078.tar.bz2
linux-stable-1b8b9c81a99ace2c706aa8696e12dd846df50078.zip
s390/Documentation: improve sort command for trace buffer
When s390 traces with hex_ascii or sprintf view are extracted and sorted, use the sort option -s (stable) to avoid multiple lines with the same time stamp being sorted using the rest of the line as secondary key. Signed-off-by: Thomas Richter <tmricht@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'Documentation/s390')
-rw-r--r--Documentation/s390/s390dbf.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/s390/s390dbf.txt b/Documentation/s390/s390dbf.txt
index 3da163383c93..61329fd62e89 100644
--- a/Documentation/s390/s390dbf.txt
+++ b/Documentation/s390/s390dbf.txt
@@ -405,7 +405,7 @@ Example:
> ls /sys/kernel/debug/s390dbf/dasd
flush hex_ascii level pages raw
-> cat /sys/kernel/debug/s390dbf/dasd/hex_ascii | sort +1
+> cat /sys/kernel/debug/s390dbf/dasd/hex_ascii | sort -k2,2 -s
00 00974733272:680099 2 - 02 0006ad7e 07 ea 4a 90 | ....
00 00974733272:682210 2 - 02 0006ade6 46 52 45 45 | FREE
00 00974733272:682213 2 - 02 0006adf6 07 ea 4a 90 | ....