Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp5483226ybi; Tue, 4 Jun 2019 07:20:44 -0700 (PDT) X-Google-Smtp-Source: APXvYqzVxClNYIK3Axx9ssfR7BmF2TIzEK9dYvd0f3IX5l2qlVAG8ggc1oGtKiqGragXNxfnSVYj X-Received: by 2002:a63:7508:: with SMTP id q8mr34243593pgc.296.1559658044446; Tue, 04 Jun 2019 07:20:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559658044; cv=none; d=google.com; s=arc-20160816; b=f3bhFHqsfOmg3UffedTcL8GFXrDbgCEBLkpmtAsVUYhXDvoXd1d77oV8lol83m7a1c SnlVfSoea28L/R6nc9rBp8wDLOV0jDOvLqzHFPJmXoFRzEP+66cV7cgb/YuPLMy9VsxU Yo65LISl98OZKJx4f6uQAMq8OwosoG5p9mdQszz4Rb9nOFeYFuN54sea/s2CK4qSDay9 Bc8Mn7QEBOHfEx0y+jfXObHLwJ1zVfvglZPBEeyJY3iTvqeHlXt0Av1snBuJ1ytyJG7g yopVT4KmnVPjSh7QRwyy32ectyJZlkqjdm1jFNGqi8v/SKH/Uxteq6pO09utKbGlDh8a 6fxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=78L7zd88IqXfMHKxzazz3S43SQAX6wKuWyWb6jrb4ew=; b=R653TW0YKkRy9/ZtfV8swiy/sFxrxlLhjPizp0BcC3SbkTpVxSESqwflaHl+qaubiw XkZacpkZRq/tZKvaUXpPQEEqE2BT3WdYUUScoLRcMKa8msGdjBaPneBfG5Gsz+uA0v1o gofUodsH4oERyVHKxB1c2lPjzoXJCgCMfwF5H+1cFTSMVusdyK/nzghDxW5GLfa41lwG sCG9g+tJkIhX1sJSn77UgzqXzjJ9bfThFSXD4xfuqyqoorRrKPLKbp1dY1RCxGcLTg77 51sD/oPDBhgNLjoAqfOz3OdmGCakp+50W/351zXEgzdeUXxFmxpLMLCgtc5ZWHU8Uupb dmEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=s79ns2x4; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o17si21975238pge.519.2019.06.04.07.20.26; Tue, 04 Jun 2019 07:20:44 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=s79ns2x4; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727831AbfFDOSF (ORCPT + 99 others); Tue, 4 Jun 2019 10:18:05 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:52516 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727598AbfFDOSD (ORCPT ); Tue, 4 Jun 2019 10:18:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc: To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=78L7zd88IqXfMHKxzazz3S43SQAX6wKuWyWb6jrb4ew=; b=s79ns2x40R4JwnMJpx3i4PrxRY Y2xasvIY+UwBsKKU9zug5yM8hBtsuGLKM2jcrEl1uLiu5IkC3ZmML/MUG/sgUnll9A0/0Vs+6m/mS nKlrXzDAZ88cw6Ek7jxUxxcRG189LxBjVtihkudHYIb+BV9WqGofmdBJkQy1zFClryzXYxg6xwnoo jGIUrdHWHdtlE3oCec2kAT7I7EDOW0PrMGXbwqCX1jdRkGyBAqiyCikW0g5MyqiAjda0acvoCseyO k6sRMi24yTVuvOmww6hqu1jGkFkI0WzWkEpHNsDlqVXl4lX/nTMcWO03GBo9JfNN1nIya+DJAVEhc Hgv1suPg==; Received: from [179.182.172.34] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1hYAGH-0001Rh-Vv; Tue, 04 Jun 2019 14:18:02 +0000 Received: from mchehab by bombadil.infradead.org with local (Exim 4.92) (envelope-from ) id 1hYAGE-0002kn-Ij; Tue, 04 Jun 2019 11:17:58 -0300 From: Mauro Carvalho Chehab To: Linux Doc Mailing List Cc: Mauro Carvalho Chehab , Mauro Carvalho Chehab , linux-kernel@vger.kernel.org, Jonathan Corbet , Harry Wei , Alex Shi Subject: [PATCH v2 03/22] docs: zh_CN: get rid of basic_profiling.txt Date: Tue, 4 Jun 2019 11:17:37 -0300 Message-Id: X-Mailer: git-send-email 2.21.0 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Changeset 5700d1974818 ("docs: Get rid of the "basic profiling" guide") removed an old basic-profiling.txt file that was not updated over the last 11 years and won't reflect the post-perf era. It makes no sense to keep its translation, so get rid of it too. Fixes: 5700d1974818 ("docs: Get rid of the "basic profiling" guide") Signed-off-by: Mauro Carvalho Chehab Acked-by: Alex Shi --- .../translations/zh_CN/basic_profiling.txt | 71 ------------------- 1 file changed, 71 deletions(-) delete mode 100644 Documentation/translations/zh_CN/basic_profiling.txt diff --git a/Documentation/translations/zh_CN/basic_profiling.txt b/Documentation/translations/zh_CN/basic_profiling.txt deleted file mode 100644 index 1e6bf0bdf8f5..000000000000 --- a/Documentation/translations/zh_CN/basic_profiling.txt +++ /dev/null @@ -1,71 +0,0 @@ -Chinese translated version of Documentation/basic_profiling - -If you have any comment or update to the content, please post to LKML directly. -However, if you have problem communicating in English you can also ask the -Chinese maintainer for help. Contact the Chinese maintainer, if this -translation is outdated or there is problem with translation. - -Chinese maintainer: Liang Xie ---------------------------------------------------------------------- -Documentation/basic_profiling的中文翻译 - -如果想评论或更新本文的内容,请直接发信到LKML。如果你使用英文交流有困难的话,也可 -以向中文版维护者求助。如果本翻译更新不及时或者翻译存在问题,请联系中文版维护者。 - -中文版维护者: 谢良 Liang Xie -中文版翻译者: 谢良 Liang Xie -中文版校译者: -以下为正文 ---------------------------------------------------------------------- - -下面这些说明指令都是非常基础的,如果你想进一步了解请阅读相关专业文档:) -请不要再在本文档增加新的内容,但可以修复文档中的错误:)(mbligh@aracnet.com) -感谢John Levon,Dave Hansen等在撰写时的帮助 - - 用于表示要测量的目标 -请先确保您已经有正确的System.map / vmlinux配置! - -对于linux系统来说,配置vmlinuz最容易的方法可能就是使用“make install”,然后修改 -/sbin/installkernel将vmlinux拷贝到/boot目录,而System.map通常是默认安装好的 - -Readprofile ------------ -2.6系列内核需要版本相对较新的readprofile,比如util-linux 2.12a中包含的,可以从: - -http://www.kernel.org/pub/linux/utils/util-linux/ 下载 - -大部分linux发行版已经包含了. - -启用readprofile需要在kernel启动命令行增加”profile=2“ - -clear readprofile -r - -dump output readprofile -m /boot/System.map > captured_profile - -Oprofile --------- - -从http://oprofile.sourceforge.net/获取源代码(请参考Changes以获取匹配的版本) -在kernel启动命令行增加“idle=poll” - -配置CONFIG_PROFILING=y和CONFIG_OPROFILE=y然后重启进入新kernel - -./configure --with-kernel-support -make install - -想得到好的测量结果,请确保启用了本地APIC特性。如果opreport显示有0Hz CPU, -说明APIC特性没有开启。另外注意idle=poll选项可能有损性能。 - -One time setup: - opcontrol --setup --vmlinux=/boot/vmlinux - -clear opcontrol --reset -start opcontrol --start - -stop opcontrol --stop -dump output opreport > output_file - -如果只看kernel相关的报告结果,请运行命令 opreport -l /boot/vmlinux > output_file - -通过reset选项可以清理过期统计数据,相当于重启的效果。 - -- 2.21.0