Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp457827ybt; Fri, 19 Jun 2020 06:03:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwhWu76joQQg7ed4Lrft9OW2/5wxbUuT7hKct5V51zh63bZvBWtMfdpVDGu+fQiW7Aax0wp X-Received: by 2002:a17:906:c058:: with SMTP id bm24mr3461361ejb.73.1592571833604; Fri, 19 Jun 2020 06:03:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592571833; cv=none; d=google.com; s=arc-20160816; b=vMUOvAhnZgl/k3f/748ahIfCmc5gquguCVhulcQaEqPSL6sQZ1f0tCCSQ/A74MBTr1 fsO4VD++G2xCE5hd2779kFieeJRlm1FUymyLWwTGr4enPM2T8KNgdPnwXHeXLBsYzcJe NeVm/7n/Rxlbp7EGhjqG5N+jr8luf4dW1yt1eJiljbhFMDzHtX86sNU+VeeTMKfTXQeH heWpEyvhsI6TcWCPHFVnUgtz6sCGiWhbaSUBiZv2VESithK/Bf7ouTjdLvUCSg9vEmwo 9S99I0o5TV54woL+gJcrxylFw2DBh3+THPhQNlHPndEvaL5L3qy4ik3qteo+q/4bReVn Sx/w== 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:subject:cc:to:from:date; bh=asB1ycUnYa/vRXGEcCtsfxJA83iYoU5vvw8UVxgLSFE=; b=ZUezDyRnulOJ8yDE8UHz5W8y7H6Hyv2Vu2kHH/I3W5975cmC6vqV4hGvDrfnbjEc/t 0VwzLT8qS1bRV3l/UzDOwQCUH/zFeiVJaZ3MFH9++VyREyQnAIFD2Jh6FabfvgRv3ydu S9M3OxBTfKmxM4UlGYyVsjwi9kCyNK0VALREi5lfUCN9rkK0fkE3z+N6QejPeYTOcsy8 AiEiatwe8ZPkrBbxTdjmlQ4/uQyPQxzjlaEJTYW+MjpuKLugy+GdpbgE0wNEVjxjQFQ+ PDtI3mBgVNU6Sw4oCVTd9RXbO6aGHZpj48PnSdSDCsVXT2m1j7nUPNDz0tsMBRW7dJzV 8sUQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s16si3766574ejx.298.2020.06.19.06.03.30; Fri, 19 Jun 2020 06:03:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732846AbgFSMUB (ORCPT + 99 others); Fri, 19 Jun 2020 08:20:01 -0400 Received: from mail.kernel.org ([198.145.29.99]:40292 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731254AbgFSMT5 (ORCPT ); Fri, 19 Jun 2020 08:19:57 -0400 Received: from oasis.local.home (cpe-66-24-58-225.stny.res.rr.com [66.24.58.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 19D02207E8; Fri, 19 Jun 2020 12:19:56 +0000 (UTC) Date: Fri, 19 Jun 2020 08:19:54 -0400 From: Steven Rostedt To: Ming Lei Cc: Masami Hiramatsu , Ming Lei , "Naveen N. Rao" , Anil S Keshavamurthy , Linux Kernel Mailing List , "David S. Miller" , linux-block Subject: Re: kprobe: __blkdev_put probe is missed Message-ID: <20200619081954.3d72a252@oasis.local.home> In-Reply-To: <20200619072859.GA205278@T590> References: <20200618125438.GA191266@T590> <20200618225602.3f2cca3f0ed48427fc0a483b@kernel.org> <20200618231901.GA196099@T590> <20200619141239.56f6dda0976453b790190ff7@kernel.org> <20200619072859.GA205278@T590> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 19 Jun 2020 15:28:59 +0800 Ming Lei wrote: > > > > OK, then let's make events (for sure) > > > > root@devnote2:/sys/kernel/debug/tracing# echo p __blkdev_put >> kprobe_events > > root@devnote2:/sys/kernel/debug/tracing# echo r __blkdev_put >> kprobe_events > > root@devnote2:/sys/kernel/debug/tracing# echo p blkdev_put >> kprobe_events Hi Ming, Do you have the kprobe_events file? > > root@devnote2:/sys/kernel/debug/tracing# echo 1 > events/kprobes/enable > > I can't find 'events/kprobes' in my VM with upstream kernel, also not found > the dir under fedora31(5.5.15-200) & rhel8(v4.18 based). The events/kprobes directly will be created when you create a kprobe_event. It wont exist until then. -- Steve