perf trace: Remove F_ from some of the fcntl command strings

The initial ones already had that "F_" prefix stripped to make things
shorter, some hadn't, do it now.

We do this to make the 'perf trace' output more compact. At some point
perhaps the best thing to do is to have the tool do this stripping
automatically, letting the user also decide if this is to be done or
not. For now, be consistent.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-2iot106xkl8rgb0hb8zm3gq5@git.kernel.orgSigned-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
上级 7e63a13a
...@@ -407,9 +407,9 @@ static DEFINE_STRARRAY(whences); ...@@ -407,9 +407,9 @@ static DEFINE_STRARRAY(whences);
static const char *fcntl_cmds[] = { static const char *fcntl_cmds[] = {
"DUPFD", "GETFD", "SETFD", "GETFL", "SETFL", "GETLK", "SETLK", "DUPFD", "GETFD", "SETFD", "GETFL", "SETFL", "GETLK", "SETLK",
"SETLKW", "SETOWN", "GETOWN", "SETSIG", "GETSIG", "F_GETLK64", "SETLKW", "SETOWN", "GETOWN", "SETSIG", "GETSIG", "GETLK64",
"F_SETLK64", "F_SETLKW64", "F_SETOWN_EX", "F_GETOWN_EX", "SETLK64", "SETLKW64", "SETOWN_EX", "GETOWN_EX",
"F_GETOWNER_UIDS", "GETOWNER_UIDS",
}; };
static DEFINE_STRARRAY(fcntl_cmds); static DEFINE_STRARRAY(fcntl_cmds);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册