diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2018-12-05 13:08:11 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2018-12-17 14:57:02 -0300 |
commit | 42da438c1bc4ad9b904401aff03678ddbf1329b0 (patch) | |
tree | 9cfdcded8755a0daf9f7107c716d294c5d64b921 /tools/perf/util/srccode.c | |
parent | 3fcb10e496505e5573a7fc386cd1152781d37fe6 (diff) | |
download | lwn-42da438c1bc4ad9b904401aff03678ddbf1329b0.tar.gz lwn-42da438c1bc4ad9b904401aff03678ddbf1329b0.zip |
perf trace: We need to consider "nr" if "__syscall_nr" is not there
To cope with older kernels that don't have this patch backported:
026842d148b9 ("tracing/syscalls: Rename "/format" tracepoint field name "nr" to "__syscall_nr:")
This makes 'perf trace' work again in RHEL7 kernels.
Cc: Taeung Song <treeze.taeung@gmail.com>
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: https://lkml.kernel.org/n/tip-6h1syw2isegnhb1bjmtr9x9k@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/srccode.c')
0 files changed, 0 insertions, 0 deletions