On Tue, Mar 22, 2011 at 9:55 AM, 陳韋任 <[email protected]> wrote:
> Hi, Lin
>
>  As the discussion on the mailing list (see below) said,
> He suspected the older perf may over-interpret the error
> code, thus gave me poor error message.
>
> http://www.mail-archive.com/[email protected]/msg02927.html
>
>  Is it possible to build a newer perf by a "normal" user
> himself? Or the newer perf needs a kernel update to work
> correctly?

Yes, you can build perf tool by a non-root normal user.

$ cd linux-2.6/tools/perf
$ make
$ ./perf stat -e branches:pp ls

The code changes frequently, you'd better also build a new kernel, for
example 2.6.38.
So I can analyze where from problem is with the same kernel version.

Lin Ming

>
> Regards,
> chenwj
>
> --
> Wei-Ren Chen (陳韋任)
> Parallel Processing Lab, Institute of Information Science,
> Academia Sinica, Taiwan (R.O.C.)
> Tel:886-2-2788-3799 #1667
>
--
To unsubscribe from this list: send the line "unsubscribe linux-perf-users" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to