Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:Update
python-libmount.4767
util-linux-lscpu-flags.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File util-linux-lscpu-flags.patch of Package python-libmount.4767
From ee1f1057e25d3cce300664ea449eea4fe6deb7ff Mon Sep 17 00:00:00 2001 From: WANG Chao <wcwxyz@gmail.com> Date: Wed, 13 May 2015 11:15:05 +0800 Subject: [PATCH] lscpu: add cpu flags entry to summary output It'd be convenient to have unified cpu "Flags: " entry in the summary output. Signed-off-by: WANG Chao <wcwxyz@gmail.com> --- sys-utils/lscpu.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sys-utils/lscpu.c b/sys-utils/lscpu.c index fd94d1a..b36d1da 100644 --- a/sys-utils/lscpu.c +++ b/sys-utils/lscpu.c @@ -1634,6 +1634,9 @@ print_summary(struct lscpu_desc *desc, struct lscpu_modifier *mod) snprintf(buf, sizeof(buf), _("NUMA node%d CPU(s):"), desc->idx2nodenum[i]); print_cpuset(buf, desc->nodemaps[i], mod->hex); } + + if (desc->flags) + print_s(_("Flags:"), desc->flags); } static void __attribute__((__noreturn__)) usage(FILE *out) -- 2.8.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor