From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pl0-f66.google.com (mail-pl0-f66.google.com [209.85.160.66]) by dpdk.org (Postfix) with ESMTP id 0AD292A7 for ; Wed, 28 Feb 2018 22:12:41 +0100 (CET) Received: by mail-pl0-f66.google.com with SMTP id ay8-v6so2282739plb.4 for ; Wed, 28 Feb 2018 13:12:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=pLtPRqUZP4qfe3YxVgm6pAvgMdRoB/XdvbR6QGKCt6M=; b=MtO5wSGk0HjNn7I7rUNKrE17r+uQxRdZAhvHU9bmZ7vdHTUvRKu37YIGYYz0JSpi2w CkrZU1kZx1ijpReaYSSULOAaCkNS2aHkhBNJxMClVzjEEpmTrD0k4dApQf9616Jwx6JK CLSJwitXW/INA1YC4HZOrbYOnWhDAHskZpR+BnBM0ehH9Ib3Ihl0PsQ6PosxAqJOtbHF Dv9RtuyUUjQlo8NE2uFW4XPhM/DfmiRHb4IaM51mgpmmfqO6qRwdBDtCU+ZMpj+1ef1g AqEZ10hNhHOjd1yWLrMUmeSorA0xFRlyQlT0tgSIjblGqCfo1fqgJQ4lf8pcdeGJc5NP YUVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=pLtPRqUZP4qfe3YxVgm6pAvgMdRoB/XdvbR6QGKCt6M=; b=nQBGoi3xtJ15HfU/m0cq1rESqfJXGf3A2m2/c8PYYo4ivow67GKkaEg43rS8UzYdq0 ErLlYDwOPZZrpFDy9C1sVOQCdiIP9t7CoaOWJpSynuG1iC3Y58++YHU+zsYIEigOJzrH UQRqXHb+8FICTg0G3FFjdQH7ZcTdXvTvjLROiCyHeDGolX5Kkumj3Pf0A896AZsrki7J KBPqxvZHWBayIwgB/7nZT8T88VV1DswM7oOEnwkWMj4499Qxm6dT2jj5+sO3JPeZVi9/ 2bmzaclOZhxjltGMaKmM20ZtheP9/ZGGGxH5mEspNxQSV2yk4KMiZPjmIdZbvxp6YrPc H7kg== X-Gm-Message-State: APf1xPCmFu5ep6AinqFnL2rGDY6HQuG9caLr4swv30/1YnNoG3p6e1Cu bZyAvOI5giRVWeTg2jdLHozcDQ== X-Google-Smtp-Source: AH8x225xS0u2TqiAffM67nSzWrH5TGycjIvhZrmSc6gaAgnBb5BH4xxi6u09pHAXgj6cnwYNs9IGwQ== X-Received: by 2002:a17:902:24c1:: with SMTP id l1-v6mr19410514plg.281.1519852360166; Wed, 28 Feb 2018 13:12:40 -0800 (PST) Received: from xeon-e3 (204-195-71-95.wavecable.com. [204.195.71.95]) by smtp.gmail.com with ESMTPSA id d186sm5256430pfd.1.2018.02.28.13.12.39 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 28 Feb 2018 13:12:40 -0800 (PST) Date: Wed, 28 Feb 2018 13:12:37 -0800 From: Stephen Hemminger To: Qi Zhang Cc: dev@dpdk.org, magnus.karlsson@intel.com, bjorn.topel@intel.com Message-ID: <20180228131237.07479a16@xeon-e3> In-Reply-To: <20180227093554.23951-7-qi.z.zhang@intel.com> References: <20180227093554.23951-1-qi.z.zhang@intel.com> <20180227093554.23951-7-qi.z.zhang@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [RFC 6/7] net/af_xdp: load BPF file X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Feb 2018 21:12:41 -0000 On Tue, 27 Feb 2018 17:35:53 +0800 Qi Zhang wrote: > + return 1; > + > + /* clear all kprobes */ > + i = system("echo \"\" > /sys/kernel/debug/tracing/kprobe_events"); Serious ick. Assumes run as root. And should be done directly not via system().