[Top] [All Lists]

Re: [PATCH v5 11/12] MIPS/Oprofile: use Perf-events framework as

To: David Daney <>
Subject: Re: [PATCH v5 11/12] MIPS/Oprofile: use Perf-events framework as backend
From: Deng-Cheng Zhu <>
Date: Sat, 29 May 2010 11:15:48 +0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=x/AgJHtQ6Ahy8pNsIRGizE1ZU2jwx5EfoxRqv0PCOJk=; b=dtHP3FusGUHb81FhzxMjkhpID5SAQuyAw8buVvhDAOIy++xh1QIfDL0vClUnO3EfcS xWxGhVr8UI17TJKhJQK23RcGqO5GykSIcnntY/r+EXPLp7eEt+Lqu0em1iajgeY/hILa CIGeo1vtqWfY4B1RbCNZgNEr8rlBdXQvWbFQk=
Domainkey-signature: a=rsa-sha1; c=nofws;; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=YH4ipC8y2oIuIZJBcCDeK5BgicYcZarWuTg0a2l0t6VR3ObiH6SeaiXs+YEeunNLm0 C53TfrMttc7FWK3gjsV6hK79Skti6iAE8rlUTplrNvbm0S5nozQEBY1DlvVdQReeOyvv +Nj89GJHbEKwmmdxw5n327jw2RN8Y00ot3l00=
In-reply-to: <>
Original-recipient: rfc822;
References: <> <> <>
2010/5/28 David Daney <>:
> The mips perf events system should already know what type of cpu it is
> running on.
> Can we have all this processor specific perf/counter stuff live in one place
> and simplify all of this?
[DC]: Do you mean to move init_hw_perf_events() out into perf_event.c, and
to deal with mipsxx/loongson2/rm9000/more together? If yes, that's OK.

> Too many magic numbers.  Lets have symbolic names.
[DC]: OK.


<Prev in Thread] Current Thread [Next in Thread>