Sean Christopherson
167f8a5cae
KVM: x86/mmu: Rename "nxe" role bit to "efer_nx" for macro shenanigans
...
Rename "nxe" to "efer_nx" so that future macro magic can use the pattern
<reg>_<bit> for all CR0, CR4, and EFER bits that included in the role.
Using "efer_nx" also makes it clear that the role bit reflects EFER.NX,
not the NX bit in the corresponding PTE.
Signed-off-by: Sean Christopherson <[email protected] >
Message-Id: <[email protected] >
Signed-off-by: Paolo Bonzini <[email protected] >
2021-06-24 18:00:41 -04:00
Jan Kiszka
e8f331aa91
tools lib traceevent: Fix reporting of unknown SVM exit reasons
...
On AMD, exist code -1 is also a possible value, but we use it for
terminating the list of known exit reasons. This leads to EXIT_ERR being
reported for unkown ones. Fix this by using an NULL string pointer as
terminal.
Link: http://lkml.kernel.org/r/[email protected]
Link: http://lore.kernel.org/linux-trace-devel/[email protected]
Signed-off-by: Jan Kiszka <[email protected] >
[ Ported from trace-cmd.git ]
Cc: Andrew Morton <[email protected] >
Cc: Jiri Olsa <[email protected] >
Cc: Namhyung Kim <[email protected] >
Cc: [email protected]
Link: http://lore.kernel.org/lkml/[email protected]
Signed-off-by: Steven Rostedt (VMware) <[email protected] >
Signed-off-by: Tzvetomir Stoyanov (VMware) <[email protected] >
Signed-off-by: Arnaldo Carvalho de Melo <[email protected] >
2020-07-06 09:02:35 -03:00
Steven Rostedt (VMware)
4e59ab93e2
tools lib traceevent: Change to SPDX License format
...
Replaced COPYING with a description of how the SPDX identifiers are
used. Added a GPL-2.0 and LGPL-2.1 license file in the new LICENSES
directory. Then removed all the license templates from the source files
and replaced them with the corresponding SPDX identifier.
Link: http://lore.kernel.org/linux-trace-devel/[email protected]
Signed-off-by: Steven Rostedt (VMware) <[email protected] >
[ Ported from trace-cmd.git ]
Cc: Andrew Morton <[email protected] >
Cc: Jiri Olsa <[email protected] >
Cc: Namhyung Kim <[email protected] >
Cc: [email protected]
Link: http://lore.kernel.org/lkml/[email protected]
Signed-off-by: Tzvetomir Stoyanov (VMware) <[email protected] >
Signed-off-by: Arnaldo Carvalho de Melo <[email protected] >
2020-07-06 09:02:20 -03:00
Jan Kiszka
97b6c5394d
tools lib traceevent: Add more SVM exit reasons
...
Exceptions require individual decoding (only feasible intercepts
listed), XSETBV was missing and the AVIC brought in two new exit codes.
Link: http://lkml.kernel.org/r/[email protected]
Link: http://lore.kernel.org/linux-trace-devel/[email protected]
Signed-off-by: Jan Kiszka <[email protected] >
[ Ported from trace-cmd.git ]
Cc: Andrew Morton <[email protected] >
Cc: Jiri Olsa <[email protected] >
Cc: Namhyung Kim <[email protected] >
Cc: [email protected]
Link: http://lore.kernel.org/lkml/[email protected]
Signed-off-by: Steven Rostedt (VMware) <[email protected] >
Signed-off-by: Tzvetomir Stoyanov (VMware) <[email protected] >
Signed-off-by: Arnaldo Carvalho de Melo <[email protected] >
2020-07-06 09:00:42 -03:00
Tzvetomir Stoyanov (VMware)
077faf3dc7
libtraceevent: Move traceevent plugins in its own subdirectory
...
All traceevent plugins code is moved to tools/lib/traceevent/plugins
subdirectory. It makes traceevent implementation in trace-cmd and in
kernel tree consistent. There is no changes in the way libtraceevent and
plugins are compiled and installed.
Committer notes:
Applied fixup provided by Steven, fixing the tools/perf/Makefile.perf
target for the plugin dynamic list file. Problem noticed when cross
building to aarch64 from a Ubuntu 19.04 container.
Suggested-by: Steven Rostedt (VMware) <[email protected] >
Signed-off-by: Tzvetomir Stoyanov (VMware) <[email protected] >
Cc: Andrew Morton <[email protected] >
Cc: Jiri Olsa <[email protected] >
Cc: Namhyung Kim <[email protected] >
Cc: Tzvetomir Stoyanov (VMware) <[email protected] >
Cc: [email protected]
Link: http://lore.kernel.org/lkml/[email protected]
Link: http://lore.kernel.org/lkml/[email protected]
Link: http://lore.kernel.org/linux-trace-devel/[email protected]
Signed-off-by: Steven Rostedt (VMware) <[email protected] >
Signed-off-by: Arnaldo Carvalho de Melo <[email protected] >
2019-09-25 09:51:43 -03:00