perf session: Add missing swap ops for namespace events
authorNamhyung Kim <namhyung@kernel.org>
Wed, 22 May 2019 05:32:49 +0000 (14:32 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 28 May 2019 12:52:23 +0000 (09:52 -0300)
commitacd244b84b80d53fa2cee98659b55d3f09b4f5a7
treeea6225c2a8204f61408b78e735fb5e67327e1059
parent6584140ba9e6762dd7ec73795243289b914f31f9
perf session: Add missing swap ops for namespace events

In case it's recorded in a different arch.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: Hari Bathini <hbathini@linux.vnet.ibm.com> <hbathini@linux.vnet.ibm.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Krister Johansen <kjlx@templeofstupid.com>
Fixes: f3b3614a284d ("perf tools: Add PERF_RECORD_NAMESPACES to include namespaces related info")
Link: http://lkml.kernel.org/r/20190522053250.207156-3-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/session.c