WSL2-Linux-Kernel/samples
Frederic Weisbecker dd1853c3f4 hw-breakpoints: Use struct perf_event_attr to define kernel breakpoints
Kernel breakpoints are created using functions in which we pass
breakpoint parameters as individual variables: address, length
and type.

Although it fits well for x86, this just does not scale across
architectures that may support this api later as these may have
more or different needs. Pass in a perf_event_attr structure
instead because it is meant to evolve as much as possible into
a generic hardware breakpoint parameter structure.

Reported-by: K.Prasad <prasad@linux.vnet.ibm.com>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <1259294154-5197-2-git-send-regression-fweisbec@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2009-11-27 06:22:59 +01:00
..
hw_breakpoint hw-breakpoints: Use struct perf_event_attr to define kernel breakpoints 2009-11-27 06:22:59 +01:00
kobject samples: mark {static|__init|__exit} for {init|exit} functions 2009-01-06 15:59:12 -08:00
kprobes sparc64: cheaper asm/uaccess.h inclusion 2009-08-16 18:25:53 -07:00
trace_events debugfs: Change debuhgfs directory of trace-events-sample.h 2009-09-15 09:50:48 -07:00
tracepoints const: constify remaining file_operations 2009-10-01 16:11:11 -07:00
Kconfig Merge commit 'perf/core' into perf/hw-breakpoint 2009-10-18 01:12:33 +02:00
Makefile Merge commit 'perf/core' into perf/hw-breakpoint 2009-10-18 01:12:33 +02:00