lkml.org 
[lkml]   [2015]   [Apr]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/2] perf tools: Add options 'get', 'set' and 'unset' to 'perf-config'.
On Sun, Apr 05, 2015 at 02:41:28AM +0900, Taeung Song wrote:
> Add 'get' option that can show value of a specific config variable
> and 'set' and 'unset' option that can create or replace a config variable.

vould you please update the changelog with the new syntax examples?
also Documentation/perf-config.txt wasn't updated

anyway.. any chance we could use syntax here that would follow
the sysctl style?

sysctl [options] [variable[=value]] [...]
sysctl -p [file or regexp] [...]

# display current config
perf config

# display current config plus all keys with default values
perf config -a

# display key value:
perf config report.queue

# set key value:
perf config report.queue=100M

# remove key (not in sysctl)
perf config -r report.queue

jirka


\
 
 \ /
  Last update: 2015-04-07 20:41    [W:0.049 / U:0.168 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site