aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/perf/builtin-trace.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/perf/builtin-trace.c b/tools/perf/builtin-trace.c
index 12fc6dfbae99..489cc118a36a 100644
--- a/tools/perf/builtin-trace.c
+++ b/tools/perf/builtin-trace.c
@@ -569,6 +569,15 @@ static DEFINE_STRARRAY_OFFSET(epoll_ctl_ops, 1);
569static const char *itimers[] = { "REAL", "VIRTUAL", "PROF", }; 569static const char *itimers[] = { "REAL", "VIRTUAL", "PROF", };
570static DEFINE_STRARRAY(itimers); 570static DEFINE_STRARRAY(itimers);
571 571
572static const char *keyctl_options[] = {
573 "GET_KEYRING_ID", "JOIN_SESSION_KEYRING", "UPDATE", "REVOKE", "CHOWN",
574 "SETPERM", "DESCRIBE", "CLEAR", "LINK", "UNLINK", "SEARCH", "READ",
575 "INSTANTIATE", "NEGATE", "SET_REQKEY_KEYRING", "SET_TIMEOUT",
576 "ASSUME_AUTHORITY", "GET_SECURITY", "SESSION_TO_PARENT", "REJECT",
577 "INSTANTIATE_IOV", "INVALIDATE", "GET_PERSISTENT",
578};
579static DEFINE_STRARRAY(keyctl_options);
580
572static const char *whences[] = { "SET", "CUR", "END", 581static const char *whences[] = { "SET", "CUR", "END",
573#ifdef SEEK_DATA 582#ifdef SEEK_DATA
574"DATA", 583"DATA",
@@ -1071,6 +1080,7 @@ static struct syscall_fmt {
1071#else 1080#else
1072 [2] = SCA_HEX, /* arg */ }, }, 1081 [2] = SCA_HEX, /* arg */ }, },
1073#endif 1082#endif
1083 { .name = "keyctl", .errmsg = true, STRARRAY(0, option, keyctl_options), },
1074 { .name = "kill", .errmsg = true, 1084 { .name = "kill", .errmsg = true,
1075 .arg_scnprintf = { [1] = SCA_SIGNUM, /* sig */ }, }, 1085 .arg_scnprintf = { [1] = SCA_SIGNUM, /* sig */ }, },
1076 { .name = "lchown", .errmsg = true, 1086 { .name = "lchown", .errmsg = true,