From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-189.mta0.migadu.com (out-189.mta0.migadu.com [91.218.175.189]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 22A7D22D4FA for ; Thu, 29 May 2025 17:51:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.189 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1748541115; cv=none; b=P8pvZC2jtIqFPThmBNemolJ+pdA5bcE3haxTnpz6PWgw4ArcP9EAa64htLPugRTiov4hPzq4/bSnYZ+73VyBue+UcNSPf42Ps/lqfLgsFTBUw5EgobfkAO21SaE0BMvx+as9A9W3fq8oI3aZ/Btxf1MkjVbv+z7lvXAPWdTjfZo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1748541115; c=relaxed/simple; bh=izuLx6FzHgHfIZb3KvaAmO4qRt5qTAlg3QWhMMKAbM8=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=fymG3VyFG/oCOuoGCr64aYmUCb98skfWBf3KXAReZj7iY/4oTIfWSSOD0YnbRQo89rQYjD1W3LWdUMCVujALZgyVlrVQ1ob/3G4O7K0Sq1Q8vbuuwIZQd3VCCqJmwRHETBkevruS9vdEXzzPV4sycDz++/8ng2RaRjSlTFrARls= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=cHS/Mlb9; arc=none smtp.client-ip=91.218.175.189 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="cHS/Mlb9" Message-ID: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1748541101; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=IMtmh8j2rskPP+tsvVa7KatJcF2eyuj0Y+85ZRD8nUU=; b=cHS/Mlb9RQ0qsnTujwHVp43bOTG4RBEudfL/SkRtZrYq1IPnm2BIkwDv9gFVQqJWoOMHTG Wt4ZfXt40Tzj3A1UuqgiD/q9f9U7Mf91kd38BoYdlFBcZOQVCpXkOzakiqJnV7Mxeg4Ipi CoibJVDNCXB2UZlVw06iunVxm6Rp/O8= Date: Fri, 30 May 2025 01:50:48 +0800 Precedence: bulk X-Mailing-List: bpf@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Subject: Re: [PATCH bpf-next 3/3] bpftool: Display cookie for raw_tp link probe To: Alexei Starovoitov Cc: Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Martin KaFai Lau , Eduard , Song Liu , Yonghong Song , John Fastabend , KP Singh , Stanislav Fomichev , Quentin Monnet , Jiri Olsa , bpf , LKML References: <20250529165759.2536245-1-chen.dylane@linux.dev> <20250529165759.2536245-3-chen.dylane@linux.dev> X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Tao Chen In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT 在 2025/5/30 01:11, Alexei Starovoitov 写道: > On Thu, May 29, 2025 at 10:01 AM Tao Chen wrote: >> >> Display cookie for raw_tp link probe, in plain mode: >> >> #bpftool link >> >> 22: raw_tracepoint prog 14 >> tp 'sys_enter' cookie 23925373020405760 >> pids test_progs(176) > > Curious number. > What 0x55000000000000 was used for ? Yes, no practical in fact, i just ran the selftest case in bpf_cookie.c. raw_tp_opts.cookie = cookie = 0x55000000000000L; -- Best Regards Tao Chen