Re: [PATCHv3 0/5] perf, tool: Fix endian issues

From: David Ahern
Date: Mon May 07 2012 - 22:12:47 EST


On 5/7/12 5:29 AM, Jiri Olsa wrote:
Tested by running following usecase:
- origin system:
# perf record -a -- sleep 10 (any perf record will do)
# perf report> report.origin
# perf archive perf.data

- copy the perf.data, report.origin and perf.data.tar.bz2
to a target system and run:
# tar xjvf perf.data.tar.bz2 -C ~/.debug
# perf report> report.target
# diff -u report.origin report.target

- the diff should produce no output
(besides some white space stuff and possibly different
date/TZ output)

Tested by above usecase cross following architectures:
i386, x86_64, s390x, ppc64

What version of ppc64? I'm getting 2 compile failures using Fedora 12 PPC, 32-bit. I sent a patch for the easy one with perf-report. I'm a bit stumped on this one:

LINK /tmp/pbuild/perf
/tmp/pbuild/libperf.a(pmu.o): In function `pmu_format_parse':
/mnt/src/tools/perf/util/pmu.c:47: undefined reference to `perf_pmu_in'
/mnt/src/tools/perf/util/pmu.c:47: undefined reference to `perf_pmu_in'
/tmp/pbuild/libperf.a(pmu-bison.o): In function `perf_pmu_parse':
/tmp/pbuild/util/pmu-bison.c:1287: undefined reference to `perf_pmu_lex'
collect2: ld returned 1 exit status
make: *** [/tmp/pbuild/perf] Error 1

David
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/