From nobody Tue Jul 05 10:28:05 2022 X-Original-To: soc-status@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 489E41ACAD52 for ; Tue, 5 Jul 2022 10:28:15 +0000 (UTC) (envelope-from christos@freebsd.org) Received: from christos (mail.margiolis.net [95.179.159.8]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA512) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Lcf5T319lz4k8X; Tue, 5 Jul 2022 10:28:13 +0000 (UTC) (envelope-from christos@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=default; bh=E47MoE164pYo pYSjkbBY2WKpR4+FsdGNGnlswxAOcPY=; h=subject:cc:to:from:date; d=margiolis.net; b=Lz3tHIKg7wMrAMAIfRBY6CuxAggZcCgJSx8v1MFB7QTGphJxgoF JFAVjy5AJHImYQAKPY+naXIFy3ZrGx8/zo4Rw0GNNOuatEpx5R/YZ8Jw1VTXUoxBkOaI2G prRyAN+ycP/N+NJ0uNkjY0qDNit/ngHMqXR5UFxCS6S6PHMPMs= Received: from pleb (athedsl-203788.home.otenet.gr [85.74.115.170]) by christos (OpenSMTPD) with ESMTPSA id a13b6177 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Tue, 5 Jul 2022 10:28:11 +0000 (UTC) Date: Tue, 5 Jul 2022 13:28:05 +0300 From: Christos Margiolis To: soc-status@freebsd.org Cc: markj@freebsd.org Subject: [GSOC22 Weekly Update #3] Instruction-level dynamic tracing Message-ID: <20220705102805.5pf4cvys64zvozzt@pleb> List-Id: Summer of Code Status Reports and Discussion List-Archive: https://lists.freebsd.org/archives/soc-status List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-soc-status@freebsd.org X-BeenThere: soc-status@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Rspamd-Queue-Id: 4Lcf5T319lz4k8X X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=margiolis.net header.s=default header.b=Lz3tHIKg; dmarc=none; spf=softfail (mx1.freebsd.org: 95.179.159.8 is neither permitted nor denied by domain of christos@freebsd.org) smtp.mailfrom=christos@freebsd.org X-Spamd-Result: default: False [0.47 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[margiolis.net:s=default]; FREEFALL_USER(0.00)[christos]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.95)[-0.947]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[freebsd.org]; R_SPF_SOFTFAIL(0.00)[~all:c]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; DKIM_TRACE(0.00)[margiolis.net:+]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.78)[-0.785]; HFILTER_HELO_5(3.00)[christos]; MLMMJ_DEST(0.00)[soc-status]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; MID_RHS_NOT_FQDN(0.50)[]; ASN(0.00)[asn:20473, ipnet:95.179.144.0/20, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[85.74.115.170:received] X-ThisMailContainsUnwantedMimeParts: N This week I worked on getting the trampoline mechanism to handle instructions that take %rip as an implicit operand (e.g %rip-relative MOVs and certain types of JMPs). There are a few more cases to be handled, but currently all instructions in amd64_syscall() -- one of the main functions I'm testing with -- can be traced without problems. Christos