Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp1417795imm; Fri, 12 Oct 2018 18:33:40 -0700 (PDT) X-Google-Smtp-Source: ACcGV63X1ea5eldkFwQFe4spX90S1AdmX5DytLDMbtYTpLeDsr0gDj3uo+QI+rxSIXLY6F6L5og5 X-Received: by 2002:a17:902:bc49:: with SMTP id t9-v6mr8110312plz.210.1539394420312; Fri, 12 Oct 2018 18:33:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539394420; cv=none; d=google.com; s=arc-20160816; b=cUtIESsj2IczlPH3pZsgYruequLRngI8VZeQbL6I47vo1AVZLHKLlFURxUhjxtB8ln bEv9YUhxdRQtlfXYVu2pSpZqmfoDRPWJr8dY65wIbn+oetMM2rZwsAQlkBAjcbqECy/q 2ZlkkDHL1z5XT2FohUFd39SCC5kK8esOcRxtMXlpEdyZCFD/EOun1GQgOrSvmgs7O6SD tAfX6PyyR9aoCTl9VxehvJazyEPMwg6f2Eh3LHqZaH2Y54rjo6kxRoUzlpB9SPOs8H08 N7zRpZFReP01EKSuQNOoSOGy9gS2m8w8aHedqtrDBCNlW48sO82oo155aNUZAG2akJXK I1sg== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=c9WTCU60JatrdpvRrS2IH0y8TcpbAR03WlwV4W3dygc=; b=tGC4oIJOZ63sfp1LFeJ8f62/xuLKVZInhKcmswY+fCV870pbqYHI8WLQkxAxZnDx87 dSIU39gqsx0w4gdeIJCiRz8OVTQbCqslCLGWfZaEw0tfWZ+ZLnYckZCCY66uYdrVJ5jJ ObdNZ2F6chgMlrSlRwdXR94Njkx7T52FARmEMHNLLzbV2xGCXs18nBwWSSgRpBY5sGZ2 kJ87WWketRTUKq6VRAaKV03+om5hJkyluihMG3hCx7pKqBLrhHahgbROEbU/Tgb4F29e b1XaOockLDPRVoe6yDV+uT02+kUQ11Zspei/G6gwI0TCGHYBXnwcN0xK8S7y0PmUuRF/ qQCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=SC8Sr95G; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q10-v6si3062818pgl.522.2018.10.12.18.33.25; Fri, 12 Oct 2018 18:33:40 -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=pass header.i=@gmail.com header.s=20161025 header.b=SC8Sr95G; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727033AbeJMJGT (ORCPT + 99 others); Sat, 13 Oct 2018 05:06:19 -0400 Received: from mail-pf1-f176.google.com ([209.85.210.176]:42263 "EHLO mail-pf1-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726001AbeJMJGT (ORCPT ); Sat, 13 Oct 2018 05:06:19 -0400 Received: by mail-pf1-f176.google.com with SMTP id f26-v6so6997979pfn.9 for ; Fri, 12 Oct 2018 18:31:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=c9WTCU60JatrdpvRrS2IH0y8TcpbAR03WlwV4W3dygc=; b=SC8Sr95G9osLgXvk7f7sbRXFe1ECjw0pfL1/blrsj6AqgvxC5z7hNCnPT+F5QTDwuv gm5SeYDy0qSzRwA4NwTK2mD5nupoSHZZu+to2Rfqfo5rxgbvhOJ7hmQu0gkEbrHfDSId l6xHF3JLd9ID5xkd18LvbW4zrKv4WLessAwOAzgFlQmJpSRGtN5yWk+XBzgf+R6CSRaU vqvbukeeZWPQlU3ZgMdGrnIhkIv05xY36QxZsfZ7lmK6OoGdsBLkzcTJowd57Fc5lsvG EmmsHFTieWDEyGTUXuCQM7jBZN5KpLoWCWM742eKMpcop1wNRpurc9JSeDMP44R4LbpK f/jA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=c9WTCU60JatrdpvRrS2IH0y8TcpbAR03WlwV4W3dygc=; b=l2CL8F7nxmiy0tnHpuN++U7ZrgKdypBTY7GICOwSCgSP08l1OyajTHheJWvqMjTd7v E/cMCP46iHe4LXWOtImHHOTN2ScYATPbr5ziKWd2GufQx6F506hFNwC7Hc8Cttw5xLlw LB12zTuPwFBCGFhpW6ZWNyD909BqWGlpMJqfTUr8mdLdM/AP8XHcdUTLQca5zkLjS8Ds NQoc2Rrc1oxs8IMCtLbUNpHNkfJ880cLZkv5ShzfmiVziRNjh5hsf7DIifGOz4fmRTsZ 8OJb3BZsqjYnP07iGbvuIH57QCK+MrNHyIljuOWIKt8yq+jGztBWIOak3ZwP3FB9tSgH gFBA== X-Gm-Message-State: ABuFfoj82T0o8Yz/YRr1mq+SdiVd6ypWvCNibMOHsl726SMssRUtCdBE 0je/1PAJMzWv+QG7wlvbkMY= X-Received: by 2002:a62:798e:: with SMTP id u136-v6mr8223379pfc.95.1539394270791; Fri, 12 Oct 2018 18:31:10 -0700 (PDT) Received: from masabert (i118-21-156-233.s30.a048.ap.plala.or.jp. [118.21.156.233]) by smtp.gmail.com with ESMTPSA id o131-v6sm3941924pgo.53.2018.10.12.18.31.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 12 Oct 2018 18:31:10 -0700 (PDT) Received: by masabert (Postfix, from userid 1000) id 1B3C720067B; Sat, 13 Oct 2018 10:30:59 +0900 (JST) From: Masanari Iida To: corbet@lwn.net, rostedt@goodmis.org, linux-kernel@vger.kernel.org, mchehab+samsung@kernel.org Cc: Masanari Iida Subject: [PATCH] docs: Fix typos in histogram.rst Date: Sat, 13 Oct 2018 10:30:57 +0900 Message-Id: <20181013013057.10677-1-standby24x7@gmail.com> X-Mailer: git-send-email 2.19.1.328.g5a0cc8aca797 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch fixes some spelling typos. Signed-off-by: Masanari Iida --- Documentation/trace/histogram.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/trace/histogram.rst b/Documentation/trace/histogram.rst index 5ac724baea7d..7dda76503127 100644 --- a/Documentation/trace/histogram.rst +++ b/Documentation/trace/histogram.rst @@ -1765,7 +1765,7 @@ For example, here's how a latency can be calculated:: # echo 'hist:keys=pid,prio:ts0=common_timestamp ...' >> event1/trigger # echo 'hist:keys=next_pid:wakeup_lat=common_timestamp-$ts0 ...' >> event2/trigger -In the first line above, the event's timetamp is saved into the +In the first line above, the event's timestamp is saved into the variable ts0. In the next line, ts0 is subtracted from the second event's timestamp to produce the latency, which is then assigned into yet another variable, 'wakeup_lat'. The hist trigger below in turn @@ -1811,7 +1811,7 @@ the command that defined it with a '!':: /sys/kernel/debug/tracing/synthetic_events At this point, there isn't yet an actual 'wakeup_latency' event -instantiated in the event subsytem - for this to happen, a 'hist +instantiated in the event subsystem - for this to happen, a 'hist trigger action' needs to be instantiated and bound to actual fields and variables defined on other events (see Section 2.2.3 below on how that is done using hist trigger 'onmatch' action). Once that is @@ -1837,7 +1837,7 @@ output can be displayed by reading the event's 'hist' file. A hist trigger 'action' is a function that's executed whenever a histogram entry is added or updated. -The default 'action' if no special function is explicity specified is +The default 'action' if no special function is explicitly specified is as it always has been, to simply update the set of values associated with an entry. Some applications, however, may want to perform additional actions at that point, such as generate another event, or -- 2.19.1.328.g5a0cc8aca797