perf python: Make twatch.py work with both python2 and python3
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 19 Feb 2018 15:24:13 +0000 (12:24 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 19 Feb 2018 15:28:08 +0000 (12:28 -0300)
commitd2ed5d2bdc5cd30b44dc52c44c63f08c0a31b845
tree5c2ac97e6dc2ebf0650bf2432e45adf0f641dd2a
parent63cd02d84be5f7b3bc4f8fbb93cc1f871f84ae1d
perf python: Make twatch.py work with both python2 and python3

Will be used to test patches allowing to build perf with python3, so
that we make sure that we can build with both versions.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jaroslav Škarvada <jskarvad@redhat.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-c2ynv0ozr3eifzsyit6qgh3h@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/python/twatch.py