From patchwork Tue Sep 17 14:28:34 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcelo Henrique Cerri X-Patchwork-Id: 1163409 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=canonical.com Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46Xlpp28n5z9sPK; Wed, 18 Sep 2019 00:28:50 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1iAETE-000674-Dd; Tue, 17 Sep 2019 14:28:44 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1iAETB-00066Z-Nj for kernel-team@lists.ubuntu.com; Tue, 17 Sep 2019 14:28:41 +0000 Received: from mail-wr1-f69.google.com ([209.85.221.69]) by youngberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1iAETB-0004rG-Fw for kernel-team@lists.ubuntu.com; Tue, 17 Sep 2019 14:28:41 +0000 Received: by mail-wr1-f69.google.com with SMTP id w10so1388940wrl.5 for ; Tue, 17 Sep 2019 07:28:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=xDHVOYp3pCuHRfaRUeCALgSdsRHfzpEl4n/IXRTjEX4=; b=qfukZIgdZb8J4Hd2ZONlvwIHtwOFpQFfoMZsib++kcb/tmoTFOU9+FC98chcwnSz+3 3OTHw+N8QkFcQrLgv2fKooNX8SB491z6KISMnWhCGoqPdws8+B4NZs5+zpR4aG5Gr1Wg tRgw90vH0uQ/f4JxJDQyF4fmPXqxoM+ajmD3pbZQV6OZ9zbND8A5lefuVhC9ouOr4OSe UiRD2rZjf46CK/j/7tAopBltvdeDiyDRm89Rfwtyx3LD4jR/NA6WyLiPx9y12T3FVHSR dpCWSRFTwpezwQr3iou2ygnCMbv/alWgeYWemcwy/APLZe0oBzmrcX0k8rUdJPt4r7iH 7QRg== X-Gm-Message-State: APjAAAWEsVxOnU0ioo3Ict5GOOxJbisfWoBSeJzwWZBIYkWhm8wCuWFF I2VF/FXVB/NMBwzeTc55oPvhFcoZWmWqt2YU9yihW+Tj+CBwVpolgqAYMDbDjTYlKJHPjpkXYyu G3I4XacqHEHduP2mHLgjJLfO7DtZIwxOv7KFGLAaV X-Received: by 2002:a1c:7902:: with SMTP id l2mr3800804wme.55.1568730520901; Tue, 17 Sep 2019 07:28:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqztKECm1J2UjycW6t5kPOZ+OOLAknWifnm8/TVuOKlY9QlPvMzlqBI6JZDrQQDvsQ1Przx9Nw== X-Received: by 2002:a1c:7902:: with SMTP id l2mr3800735wme.55.1568730519737; Tue, 17 Sep 2019 07:28:39 -0700 (PDT) Received: from localhost.localdomain (static-dcd-cqq-121001.business.bouyguestelecom.com. [212.194.121.1]) by smtp.gmail.com with ESMTPSA id r9sm3522411wra.19.2019.09.17.07.28.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Sep 2019 07:28:39 -0700 (PDT) From: Marcelo Henrique Cerri To: kernel-team@lists.ubuntu.com Subject: [disco:linux-kvm][PATCH 1/1] UBUNTU: [Config] linux-kvm: CONFIG_FTRACE=y Date: Tue, 17 Sep 2019 11:28:34 -0300 Message-Id: <20190917142834.20266-3-marcelo.cerri@canonical.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190917142834.20266-1-marcelo.cerri@canonical.com> References: <20190917142834.20266-1-marcelo.cerri@canonical.com> MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" BugLink: https://bugs.launchpad.net/bugs/1841956 We need to enable ftrace in order to support sysdig. Signed-off-by: Marcelo Henrique Cerri --- debian.kvm/config/config.common.ubuntu | 39 ++++++++++++++++++++++++-- 1 file changed, 37 insertions(+), 2 deletions(-) diff --git a/debian.kvm/config/config.common.ubuntu b/debian.kvm/config/config.common.ubuntu index 9ff3e5369c50..b4e52129f00a 100644 --- a/debian.kvm/config/config.common.ubuntu +++ b/debian.kvm/config/config.common.ubuntu @@ -197,6 +197,7 @@ CONFIG_BCMA_POSSIBLE=y CONFIG_BEFS_FS=m CONFIG_BFS_FS=m # CONFIG_BIG_KEYS is not set +CONFIG_BINARY_PRINTF=y CONFIG_BINFMT_ELF=y # CONFIG_BINFMT_MISC is not set CONFIG_BINFMT_SCRIPT=y @@ -215,6 +216,7 @@ CONFIG_BLK_DEV_DM_BUILTIN=y # CONFIG_BLK_DEV_DRBD is not set CONFIG_BLK_DEV_INITRD=y # CONFIG_BLK_DEV_INTEGRITY is not set +# CONFIG_BLK_DEV_IO_TRACE is not set CONFIG_BLK_DEV_LOOP=m CONFIG_BLK_DEV_LOOP_MIN_COUNT=8 CONFIG_BLK_DEV_MD=m @@ -249,10 +251,12 @@ CONFIG_BONDING=m # CONFIG_BOOT_PRINTK_DELAY is not set CONFIG_BPF=y # CONFIG_BPFILTER is not set +CONFIG_BPF_EVENTS=y # CONFIG_BPF_JIT is not set # CONFIG_BPF_STREAM_PARSER is not set CONFIG_BPF_SYSCALL=y CONFIG_BQL=y +CONFIG_BRANCH_PROFILE_NONE=y CONFIG_BRIDGE=y CONFIG_BRIDGE_IGMP_SNOOPING=y CONFIG_BRIDGE_NETFILTER=m @@ -352,6 +356,7 @@ CONFIG_CONFIGFS_FS=m CONFIG_CONNECTOR=y CONFIG_CONSOLE_LOGLEVEL_DEFAULT=7 CONFIG_CONSOLE_LOGLEVEL_QUIET=4 +CONFIG_CONTEXT_SWITCH_TRACER=y # CONFIG_CORDIC is not set CONFIG_COREDUMP=y CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS=y @@ -576,6 +581,7 @@ CONFIG_DEBUG_KERNEL=y # CONFIG_DEBUG_NOTIFIERS is not set # CONFIG_DEBUG_OBJECTS is not set # CONFIG_DEBUG_PAGEALLOC is not set +# CONFIG_DEBUG_PAGE_REF is not set # CONFIG_DEBUG_PERF_USE_VMALLOC is not set # CONFIG_DEBUG_PER_CPU_MAPS is not set # CONFIG_DEBUG_PI_LIST is not set @@ -652,6 +658,7 @@ CONFIG_DST_CACHE=y # CONFIG_DUMMY is not set # CONFIG_DUMMY_IRQ is not set # CONFIG_DYNAMIC_DEBUG is not set +CONFIG_DYNAMIC_EVENTS=y CONFIG_DYNAMIC_MEMORY_LAYOUT=y # CONFIG_EARLY_PRINTK is not set # CONFIG_ECHO is not set @@ -681,6 +688,7 @@ CONFIG_EFS_FS=m CONFIG_ELFCORE=y CONFIG_ELF_CORE=y CONFIG_EMBEDDED=y +# CONFIG_ENABLE_DEFAULT_TRACERS is not set # CONFIG_ENABLE_MUST_CHECK is not set # CONFIG_ENCLOSURE_SERVICES is not set CONFIG_ENCRYPTED_KEYS=m @@ -689,6 +697,7 @@ CONFIG_EPOLL=y # CONFIG_EQUALIZER is not set # CONFIG_ETHERNET is not set CONFIG_EVENTFD=y +CONFIG_EVENT_TRACING=y # CONFIG_EVM is not set # CONFIG_EXOFS_DEBUG is not set CONFIG_EXOFS_FS=m @@ -746,8 +755,10 @@ CONFIG_FS_IOMAP=y CONFIG_FS_MBCACHE=y CONFIG_FS_POSIX_ACL=y # CONFIG_FTL is not set -# CONFIG_FTRACE is not set +CONFIG_FTRACE=y +# CONFIG_FTRACE_SYSCALLS is not set # CONFIG_FUJITSU_ES is not set +# CONFIG_FUNCTION_TRACER is not set CONFIG_FUSE_FS=m # CONFIG_FUSION is not set CONFIG_FUTEX=y @@ -980,6 +991,7 @@ CONFIG_HID_GENERIC=y CONFIG_HIGH_RES_TIMERS=y # CONFIG_HIO is not set # CONFIG_HIPPI is not set +# CONFIG_HIST_TRIGGERS is not set CONFIG_HOTPLUG_CPU=y CONFIG_HOTPLUG_PCI=y CONFIG_HOTPLUG_PCI_ACPI=y @@ -998,6 +1010,7 @@ CONFIG_HPFS_FS=m CONFIG_HUGETLBFS=y CONFIG_HUGETLB_PAGE=y CONFIG_HVC_DRIVER=y +# CONFIG_HWLAT_TRACER is not set # CONFIG_HWMON is not set # CONFIG_HWSPINLOCK is not set CONFIG_HW_RANDOM=y @@ -1196,6 +1209,7 @@ CONFIG_IP_SET_HASH_NETPORTNET=m CONFIG_IP_SET_LIST_SET=m CONFIG_IP_SET_MAX=256 # CONFIG_IP_VS is not set +# CONFIG_IRQSOFF_TRACER is not set CONFIG_IRQ_BYPASS_MANAGER=y CONFIG_IRQ_DOMAIN=y CONFIG_IRQ_DOMAIN_HIERARCHY=y @@ -1263,6 +1277,7 @@ CONFIG_KVM_GENERIC_DIRTYLOG_READ_PROTECT=y CONFIG_KVM_GUEST=y CONFIG_KVM_INTEL=m CONFIG_KVM_MMIO=y +# CONFIG_KVM_MMU_AUDIT is not set CONFIG_KVM_VFIO=y # CONFIG_L2TP is not set # CONFIG_LAPB is not set @@ -1361,6 +1376,7 @@ CONFIG_MISC_FILESYSTEMS=y # CONFIG_MISC_RTSX_PCI is not set # CONFIG_MK8 is not set # CONFIG_MMC is not set +# CONFIG_MMIOTRACE is not set CONFIG_MMU=y CONFIG_MMU_NOTIFIER=y # CONFIG_MODIFY_LDT_SYSCALL is not set @@ -1543,6 +1559,7 @@ CONFIG_NET_9P=y CONFIG_NET_9P_VIRTIO=y CONFIG_NET_CORE=y # CONFIG_NET_DEVLINK is not set +# CONFIG_NET_DROP_MONITOR is not set # CONFIG_NET_DSA is not set CONFIG_NET_FAILOVER=y # CONFIG_NET_FC is not set @@ -1696,6 +1713,7 @@ CONFIG_NLS_MAC_TURKISH=m CONFIG_NLS_UTF8=m CONFIG_NODES_SHIFT=6 CONFIG_NODES_SPAN_OTHER_NODES=y +CONFIG_NOP_TRACER=y # CONFIG_NOTIFIER_ERROR_INJECTION is not set # CONFIG_NOZOMI is not set CONFIG_NO_HZ=y @@ -1880,6 +1898,8 @@ CONFIG_POWER_SUPPLY=y # CONFIG_PPP is not set # CONFIG_PPS is not set # CONFIG_PREEMPT is not set +# CONFIG_PREEMPTIRQ_DELAY_TEST is not set +# CONFIG_PREEMPTIRQ_EVENTS is not set # CONFIG_PREEMPT_NONE is not set CONFIG_PREEMPT_NOTIFIERS=y CONFIG_PREEMPT_VOLUNTARY=y @@ -1889,6 +1909,7 @@ CONFIG_PRINTK_NMI=y CONFIG_PRINTK_SAFE_LOG_BUF_SHIFT=13 # CONFIG_PRINTK_TIME is not set CONFIG_PRINT_QUOTA_WARNING=y +CONFIG_PROBE_EVENTS=y # CONFIG_PROCESSOR_SELECT is not set CONFIG_PROC_CHILDREN=y CONFIG_PROC_EVENTS=y @@ -1897,6 +1918,7 @@ CONFIG_PROC_FS=y CONFIG_PROC_PAGE_MONITOR=y CONFIG_PROC_PID_CPUSET=y CONFIG_PROC_SYSCTL=y +# CONFIG_PROFILE_ANNOTATED_BRANCHES is not set # CONFIG_PROFILING is not set # CONFIG_PROVE_LOCKING is not set # CONFIG_PROVIDE_OHCI1394_DMA_INIT is not set @@ -1968,6 +1990,9 @@ CONFIG_RETPOLINE=y # CONFIG_RFD_FTL is not set # CONFIG_RFKILL is not set CONFIG_RFS_ACCEL=y +CONFIG_RING_BUFFER=y +# CONFIG_RING_BUFFER_BENCHMARK is not set +# CONFIG_RING_BUFFER_STARTUP_TEST is not set # CONFIG_RMI4_CORE is not set CONFIG_ROMFS_BACKED_BY_BLOCK=y # CONFIG_ROMFS_BACKED_BY_BOTH is not set @@ -2018,6 +2043,7 @@ CONFIG_SCHED_MC_PRIO=y # CONFIG_SCHED_OMIT_FRAME_POINTER is not set CONFIG_SCHED_SMT=y CONFIG_SCHED_STACK_END_CHECK=y +# CONFIG_SCHED_TRACER is not set # CONFIG_SCIF_BUS is not set CONFIG_SCSI=y # CONFIG_SCSI_3W_9XXX is not set @@ -2204,8 +2230,9 @@ CONFIG_SSB_POSSIBLE=y # CONFIG_SSFDC is not set CONFIG_STACKPROTECTOR=y CONFIG_STACKPROTECTOR_STRONG=y -# CONFIG_STACKTRACE is not set +CONFIG_STACKTRACE=y CONFIG_STACKTRACE_SUPPORT=y +# CONFIG_STACK_TRACER is not set CONFIG_STACK_VALIDATION=y # CONFIG_STAGING is not set # CONFIG_STANDALONE is not set @@ -2287,8 +2314,14 @@ CONFIG_TIMERFD=y CONFIG_TMPFS=y CONFIG_TMPFS_POSIX_ACL=y CONFIG_TMPFS_XATTR=y +CONFIG_TRACEPOINTS=y +# CONFIG_TRACEPOINT_BENCHMARK is not set +# CONFIG_TRACER_SNAPSHOT is not set +CONFIG_TRACE_CLOCK=y +# CONFIG_TRACE_EVAL_MAP_FILE is not set CONFIG_TRACE_IRQFLAGS_SUPPORT=y # CONFIG_TRACE_SINK is not set +CONFIG_TRACING=y CONFIG_TRACING_SUPPORT=y # CONFIG_TRANSPARENT_HUGEPAGE is not set CONFIG_TREE_RCU=y @@ -2335,6 +2368,8 @@ CONFIG_UNIX98_PTYS=y CONFIG_UNWINDER_FRAME_POINTER=y # CONFIG_UNWINDER_GUESS is not set # CONFIG_UNWINDER_ORC is not set +CONFIG_UPROBES=y +CONFIG_UPROBE_EVENTS=y CONFIG_USB_OHCI_LITTLE_ENDIAN=y # CONFIG_USB_SUPPORT is not set # CONFIG_USELIB is not set