We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3fcb10e commit 42da438Copy full SHA for 42da438
tools/perf/builtin-trace.c
@@ -258,7 +258,8 @@ static int perf_evsel__init_syscall_tp(struct perf_evsel *evsel)
258
struct syscall_tp *sc = evsel->priv = malloc(sizeof(struct syscall_tp));
259
260
if (evsel->priv != NULL) {
261
- if (perf_evsel__init_tp_uint_field(evsel, &sc->id, "__syscall_nr"))
+ if (perf_evsel__init_tp_uint_field(evsel, &sc->id, "__syscall_nr") &&
262
+ perf_evsel__init_tp_uint_field(evsel, &sc->id, "nr"))
263
goto out_delete;
264
return 0;
265
}
0 commit comments