From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754550AbbLPA2Q (ORCPT ); Tue, 15 Dec 2015 19:28:16 -0500 Received: from mail-wm0-f54.google.com ([74.125.82.54]:36029 "EHLO mail-wm0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752750AbbLPA2O (ORCPT ); Tue, 15 Dec 2015 19:28:14 -0500 From: Rasmus Villemoes To: Steven Rostedt Cc: Ingo Molnar , linux-kernel@vger.kernel.org Subject: Re: [PATCH] tracing: don't macro-expand arguments before stringification in TP_printk Organization: D03 References: <1450223978-25799-1-git-send-email-linux@rasmusvillemoes.dk> X-Hashcash: 1:20:151216:mingo@redhat.com::5ViCkzWo7VmPXeHb:00NZf X-Hashcash: 1:20:151216:rostedt@goodmis.org::6KvkYewiciLibI+C:0000000000000000000000000000000000000000001SGy X-Hashcash: 1:20:151216:linux-kernel@vger.kernel.org::T/z0UMOj1TdBuwcP:00000000000000000000000000000000060dZ Date: Wed, 16 Dec 2015 01:28:12 +0100 In-Reply-To: <1450223978-25799-1-git-send-email-linux@rasmusvillemoes.dk> (Rasmus Villemoes's message of "Wed, 16 Dec 2015 00:59:38 +0100") Message-ID: <87io3z6xur.fsf@rasmusvillemoes.dk> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Bah, just found 0462b5664b (ftrace: Output REC->var instead of __entry->var for trace format). There's some magic here I don't understand, but I'm wondering if '__entry' wouldn't do just as well as 'REC' for the tools that try to parse these strings. Rasmus