diff options
author | Ingo Molnar <mingo@elte.hu> | 2011-08-18 21:51:44 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2011-08-18 21:51:44 +0200 |
commit | fe4c51b22080691792d3e28d86acb4d4ccb7e8e8 (patch) | |
tree | a88323ad10bb2ad6b19b5ea5fbb41a210096bd5f /tools/perf/builtin-record.c | |
parent | 72ed62bdc46d76c965fb95aecb5d0bf97c976723 (diff) | |
parent | 43bece79796c2a39ec98998fd3f1071f04f3d8c3 (diff) |
Merge branch 'perf/urgent' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/urgent
Diffstat (limited to 'tools/perf/builtin-record.c')
-rw-r--r-- | tools/perf/builtin-record.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/perf/builtin-record.c b/tools/perf/builtin-record.c index f6426b496f4a..6b0519f885e4 100644 --- a/tools/perf/builtin-record.c +++ b/tools/perf/builtin-record.c @@ -45,7 +45,7 @@ static int freq = 1000; static int output; static int pipe_output = 0; static const char *output_name = NULL; -static int group = 0; +static bool group = false; static int realtime_prio = 0; static bool nodelay = false; static bool raw_samples = false; @@ -753,6 +753,8 @@ const struct option record_options[] = { "child tasks do not inherit counters"), OPT_UINTEGER('F', "freq", &user_freq, "profile at this frequency"), OPT_UINTEGER('m', "mmap-pages", &mmap_pages, "number of mmap data pages"), + OPT_BOOLEAN(0, "group", &group, + "put the counters into a counter group"), OPT_BOOLEAN('g', "call-graph", &call_graph, "do call-graph (stack chain/backtrace) recording"), OPT_INCR('v', "verbose", &verbose, |