Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp8922ybi; Tue, 18 Jun 2019 16:15:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqw6/2YFEsQmLx1Na9HeGKtltgq3nIILQsncnbNbTB4wmsqr5S4aVROyjvJalX38TfXXJO4+ X-Received: by 2002:a62:a509:: with SMTP id v9mr121266523pfm.82.1560899712201; Tue, 18 Jun 2019 16:15:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560899712; cv=none; d=google.com; s=arc-20160816; b=fesfOe0psr+siQNGdN2rYlmCKfAYc7sgSHZHAjSOGrssD+dXBkYoufIop1nabD2rXB RPYcRj/qBBXBSImyJAZzSDzZi9iFuer9yBi3HNPS0FIEmkqYyoF2HSLUas47iaDTl/pi BHRSxPJADtOvfFzXsAGC3XjElutVdcIde5UCBKlGvfPRPu24+Z1h5XF7toEnJtcf//Wn dEINuTt41mTQ8rK/cB8gbtBrf0tPwRPiqvO6b99D+56GQfnK1RfOqPEVEsvkEAfrmXGp 4ZeevBtGC5o6Y8NbOkKxtzuGoQs+eSNWjiwBwTutSe6PlV1vZfMZdm/c+pDQVQV0AUiT VESg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=nUJyTOBr07ElnYs2HQoC3oZAyTFmNy4t0+c6Ubqs298=; b=SJPkGTotWwSpWxRnSdn8srG3ACLcm0RQ2L4xyDch+7ZvxRkiXcbVsmz/nC7IdLfKco s+OEUBygtmucsJT1BD6d//bIIjeSSqETt5p0tIEmGSt6CnlyWu9Gis+k7AyhL1/BRBYU 06sSii0c0HghCfP7hA5Z88tPynFCuXSOqqetxfPY3n9a4OmWh8XoN017Gfj+L1FAkfBh qS04vIcDwWTdvcNQJt7PEtRSbtM4TXmN/yLRNBObiDpclIyvz+un5l4YtBXwm+OhbAZ3 3nYYu3PiPAvgIPaQyrQ1AEK7M2JNcKrMnUsQQekscAIixJgaApcsCO9MEV0BzPqqLTEI nypw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=NDMCCdze; 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 l3si7287569pff.51.2019.06.18.16.14.56; Tue, 18 Jun 2019 16:15:12 -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=NDMCCdze; 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 S1729072AbfFRXOq (ORCPT + 99 others); Tue, 18 Jun 2019 19:14:46 -0400 Received: from mail-qk1-f193.google.com ([209.85.222.193]:43745 "EHLO mail-qk1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726047AbfFRXOp (ORCPT ); Tue, 18 Jun 2019 19:14:45 -0400 Received: by mail-qk1-f193.google.com with SMTP id m14so9726907qka.10; Tue, 18 Jun 2019 16:14:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=nUJyTOBr07ElnYs2HQoC3oZAyTFmNy4t0+c6Ubqs298=; b=NDMCCdze0gFOkQ60x6zFr65ftnyxHP33PrJH+KcRfyDqDK1NhEtmoPb8lJuutFUYvl JbLtXi5+ff7ep3ucukea2w82+34X6EEbzww/SshiNmQFc3SwPMBkG1kml0752KTYpVM1 qXjD4jO1e9x/Il3JHMAtXmnd3xYsXdegCCT0ffkegX5FQx23pdVcyJs6SRBe11T4MS95 mCprD6JYyYjATvrnOm8/yiUpqvMlBgq9vikdc9Aff/0ENcD/gcFiq+0Q0eTcV8htPew7 jqPSeyvnFYKc7+fSBzUXxsnWnZc/lnZxbDMfgs58tfo98L46ZDVeYrJPCBMbKMixmeQq DpiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=nUJyTOBr07ElnYs2HQoC3oZAyTFmNy4t0+c6Ubqs298=; b=TO1J29ckOrPxbFmxjTQB1768PbVKp0kLFL2KEZDKVBBtJ2y64QxVLSvDdludhlLMJx 1CbVk/YWY4LQr83vTcomsw6K0kqVfp+kyT7NKXwu7x0+vxYwvFxnw0zVmbOv8hOaJWMo hOzxHCCH9J9+L3oVGbdFOurECDbKc75D/tFLj24ym14Wirki42OOH9ZEtlTr7JrG4W9H apM+IXxWSH4ivqeH37i8P3kKXISJ8FOzF4P4fusb7jh9yPJZMgAX8YjiDSBHCguyWjFx yeoxrPH5L4ClqhkqoGGxDlp2J81wrXE4G6mnJVOBfaivQzVEj1uivX7h7gBGnBKdemNA UXHw== X-Gm-Message-State: APjAAAVTkZ0w4ubqzXbwpGxIr+5DK3AyYLSfJL7Dg5zrwxVAFEGk1mV/ 3gI5pnFuyA2uW6rHB1H8Y28BiuYVe9c4ALLs/rQ= X-Received: by 2002:a05:620a:147:: with SMTP id e7mr95845692qkn.247.1560899684493; Tue, 18 Jun 2019 16:14:44 -0700 (PDT) MIME-Version: 1.0 References: <20190618181338.24145-1-mrostecki@opensuse.org> In-Reply-To: <20190618181338.24145-1-mrostecki@opensuse.org> From: Andrii Nakryiko Date: Tue, 18 Jun 2019 16:14:33 -0700 Message-ID: Subject: Re: [PATCH bpf-next] samples: bpf: Remove bpf_debug macro in favor of bpf_printk To: Michal Rostecki Cc: Doug Ledford , Jason Gunthorpe , Alexei Starovoitov , Daniel Borkmann , Martin KaFai Lau , Song Liu , Yonghong Song , linux-rdma@vger.kernel.org, Networking , bpf , open list Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 18, 2019 at 11:13 AM Michal Rostecki wrote: > > ibumad example was implementing the bpf_debug macro which is exactly the > same as the bpf_printk macro available in bpf_helpers.h. This change > makes use of bpf_printk instead of bpf_debug. > > Signed-off-by: Michal Rostecki > --- Acked-by: Andrii Nakryiko > samples/bpf/ibumad_kern.c | 18 ++++++------------ > 1 file changed, 6 insertions(+), 12 deletions(-) >