summaryrefslogtreecommitdiffstats
path: root/kernel/irq_work.c
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@kernel.org>2015-12-03 10:06:44 +0100
committerArnaldo Carvalho de Melo <acme@redhat.com>2015-12-07 18:12:59 -0300
commit67ccdecd09cac818146b1e153ff901cb67570012 (patch)
treec0aec4f06541d9c887e1939b00499448701b988a /kernel/irq_work.c
parentab46db0a3325a064bb24e826b12995d157565efb (diff)
downloadop-kernel-dev-67ccdecd09cac818146b1e153ff901cb67570012.zip
op-kernel-dev-67ccdecd09cac818146b1e153ff901cb67570012.tar.gz
perf stat: Create events as disabled
Currently we have 2 kinds of stat counters based on when the event is enabled: 1) tracee command events, which are enable once the tracee executes exec syscall (enable_on_exec bit) 2) all other events which get alive within the perf_event_open syscall And 2) case could raise a problem in case we want additional filter to be attached for event. In this case we want the event to be enabled after it's configured with filter. Changing the behaviour of 2) events, so they all are created as disabled (disabled bit). Adding extra enable call to make them alive once they finish setup. Signed-off-by: Jiri Olsa <jolsa@kernel.org> Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: David Ahern <dsahern@gmail.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/r/1449133606-14429-6-git-send-email-jolsa@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'kernel/irq_work.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud