add events

This commit is contained in:
Fine 2024-11-27 10:18:25 +08:00
parent 68bd4c7c60
commit 0eafac510f
2 changed files with 8 additions and 4 deletions

View File

@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License. -->
<template>
<div class="profile-task">
<div class="async-profile-task">
<div>
<div class="label">{{ t("instance") }}</div>
<Selector
@ -99,9 +99,9 @@ limitations under the License. -->
}
</script>
<style lang="scss" scoped>
.profile-task {
.async-profile-task {
margin: 0 auto;
width: 400px;
width: 600px;
}
.date {
@ -114,7 +114,7 @@ limitations under the License. -->
}
.profile-input {
width: 300px;
width: 600px;
}
.create-task-btn {

View File

@ -24,6 +24,10 @@ export const DurationOptions = [
export const ProfilingEvents = [
{ value: "CPU", label: "CPU" },
{ value: "ALLOC", label: "ALLOC" },
{ value: "WALL", label: "WALL" },
{ value: "LOCK", label: "LOCK" },
{ value: "CTIMER", label: "CTIMER" },
{ value: "ITIMER", label: "ITIMER" },
];
export enum EventsMap {