perf tools beauty ioctl: Support new ISO7816 commands
tip-bot for Arnaldo Carvalho de Melo
merge botCommit-ID: a4243e1494532ab8fa679a4134153149a71fa331 Gitweb: https://git.kernel.org/tip/a4243e1494532ab8fa679a4134153149a71fa331 Author: Arnaldo Carvalho de Melo <[email protected]> AuthorDate: Mon, 19 Nov 2018 12:38:50 -0800 Committer: Arnaldo Carvalho de Melo <[email protected]> CommitDate: Mon, 19 Nov 2018 12:38:50 -0800
perf tools beauty ioctl: Support new ISO7816 commands
Introduced in:
ad8c0eaa0a41 ("tty/serial_core: add ISO7816 infrastructure")
Now 'perf trace' will be able to pretty-print the 'cmd' ioctl arg when used in capable systems with software emitting those commands.
Cc Adrian Hunter <[email protected]>
Cc David Ahern <[email protected]>
Cc Greg Kroah-Hartman <[email protected]>
Cc Jiri Olsa <[email protected]>
Cc Namhyung Kim <[email protected]>
Cc Nicolas Ferre <[email protected]>
Cc Wang Nan <[email protected]>
Signed-off-by Arnaldo Carvalho de Melo <[email protected]>
--- tools/perf/trace/beauty/ioctl.c | 1 + 1 file changed, 1 insertion(+)
tools/perf/trace/beauty/ioctl.c +1 -0
@@ -31,6 +31,7 @@ static size_t ioctl__scnprintf_tty_cmd(int nr, int dir, char *bf, size_t size)"TCSETSW2" ,"TCSETSF2" ,"TIOCGRS48" ,"TIOCSRS485" ,"TIOCGPTN" ,"TIOCSPTLCK" ,"TIOCGDEV" ,"TCSETX" ,"TCSETXF" ,"TCSETXW" ,"TIOCSIG" ,"TIOCVHANGUP" ,"TIOCGPKT" , "TIOCGPTLCK", [_IOC_NR(TIOCGEXCL)] = "TIOCGEXCL", "TIOCGPTPEER", + "TIOCGISO7816", "TIOCSISO7816", [_IOC_NR (FIONCLEX )] ="FIONCLEX" ,"FIOCLEX" ,"FIOASYNC" ,"TIOCSERCONFIG" ,"TIOCSERGWILD" ,"TIOCSERSWILD" ,"TIOCGLCKTRMIOS" ,"TIOCSLCKTRMIOS" , "TIOCSERGSTRUCT", "TIOCSERGETLSR", "TIOCSERGETMULTI", "TIOCSERSETMULTI",